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

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