Click or drag to resize

DataSourceExtensionsGetCount Method

Gets the number of records matching the specified filter.

Namespace:  Aloe.SystemFrameworks.Domain.DataAccess
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public static int GetCount(
	this IDataSource dataSource,
	DataAccessQuery query,
	string transactionName = null
)

Parameters

dataSource
Type: Aloe.SystemFrameworks.Domain.DataAccessIDataSource
query
Type: Aloe.SystemFrameworks.Domain.DataAccessDataAccessQuery
transactionName (Optional)
Type: SystemString

Return Value

Type: Int32

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDataSource. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also