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




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

ObjectCrud Class
ObjectCrud Members