Eloquera Database
IsTypeRegistered Method (typeName)
NamespacesEloquera.ClientDBIsTypeRegistered(String)
Checks if a given type is already present within the current database.
Declaration Syntax
C#Visual BasicVisual C++
public bool IsTypeRegistered(
	string typeName
)
Public Function IsTypeRegistered ( _
	typeName As String _
) As Boolean
public:
bool IsTypeRegistered(
	String^ typeName
)
Parameters
typeName (String)
The type name to check
Return Value
true, if the type is present in the current database.
Examples
CopyC#
if (!db.IsTypeRegistered("Book"))
{
   db.RegisterType(typeof(Book));
}

Assembly: Eloquera.Client (Module: Eloquera.Client) Version: 4.5.0.0 (4.5.0.0)