Click or drag to resize

SQLitePersistenceServiceBaseTDataCount Method

Perform a count

Namespace:  SanteDB.DisconnectedClient.SQLite
Assembly:  SanteDB.DisconnectedClient.SQLite (in SanteDB.DisconnectedClient.SQLite.dll) Version: 2.2.1
Syntax
public virtual long Count(
	Expression<Func<TData, bool>> query,
	IPrincipal principal
)

Parameters

query
Type: System.Linq.ExpressionsExpressionFuncTData, Boolean

[Missing <param name="query"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.SQLitePersistenceServiceBase`1.Count(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}},System.Security.Principal.IPrincipal)"]

principal
Type: System.Security.PrincipalIPrincipal

[Missing <param name="principal"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.SQLitePersistenceServiceBase`1.Count(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}},System.Security.Principal.IPrincipal)"]

Return Value

Type: Int64

[Missing <returns> documentation for "M:SanteDB.DisconnectedClient.SQLite.SQLitePersistenceServiceBase`1.Count(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}},System.Security.Principal.IPrincipal)"]

Implements

IDataPersistenceServiceTDataCount(ExpressionFuncTData, Boolean, IPrincipal)
See Also