| 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
)
Public Overridable Function Count (
query As Expression(Of Func(Of TData, Boolean)),
principal As IPrincipal
) As Long
public:
virtual long long Count(
Expression<Func<TData, bool>^>^ query,
IPrincipal^ principal
)
abstract Count :
query : Expression<Func<'TData, bool>> *
principal : IPrincipal -> int64
override Count :
query : Expression<Func<'TData, bool>> *
principal : IPrincipal -> int64
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