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




KellermanSoftware.NetDataAccessLayer Namespace > BaseRepository<T> Class : Count Method
Return the count of records in the table
Syntax
Public Function Count() As Long
Dim instance As BaseRepository(Of T)
Dim value As Long
 
value = instance.Count()
public long Count()
public: long Count(); 
public:
int64 Count(); 
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

BaseRepository<T> Class
BaseRepository<T> Members