Knight Data Access Layer
CreateTableFromClass<T> Method (IObjectCrud)




KellermanSoftware.NetDataAccessLayer Namespace > IObjectCrud Interface : CreateTableFromClass<T> Method
Generic class type
Create a table in the database based on the passed class
Syntax
Sub CreateTableFromClass(Of T As {Class, New})() 
Dim instance As IObjectCrud
 
instance.CreateTableFromClass(Of T)()
void CreateTableFromClass<T>()
where T: class, new()
void CreateTableFromClass<T>(); 
where T: ref class, gcnew()
void CreateTableFromClassgeneric<typename T>
(); 
where T: ref class, gcnew()

Type Parameters

T
Generic class type
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IObjectCrud Interface
IObjectCrud Members