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




KellermanSoftware.NetDataAccessLayer Namespace > IObjectCrud Interface : Count<T> Method
Generic class type
Get the number of records in a table
Syntax
Function Count(Of T As {Class, New})() As Long
Dim instance As IObjectCrud
Dim value As Long
 
value = instance.Count(Of T)()
long Count<T>()
where T: class, new()
long Count<T>(); 
where T: ref class, gcnew()
int64 Countgeneric<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