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




KellermanSoftware.NetDataAccessLayer Namespace > BaseRepository<T> Class : SearchCount Method
What to search for. Default values are not searched.
Count the number of records for a search
Syntax
Public Function SearchCount( _
   ByVal searchParameters As T _
) As Long
Dim instance As BaseRepository(Of T)
Dim searchParameters As T
Dim value As Long
 
value = instance.SearchCount(searchParameters)
public long SearchCount( 
   T searchParameters
)
public: long SearchCount( 
   T* searchParameters
) 
public:
int64 SearchCount( 
   T^ searchParameters
) 

Parameters

searchParameters
What to search for. Default values are not searched.
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