 | BundlePersistenceServiceQuery(ExpressionFuncBundle, Boolean, Int32, NullableInt32, Int32, IPrincipal, ModelSortBundle) Method |
Query the specified data
Namespace: SanteDB.Persistence.Data.Services.Persistence.CollectionsAssembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntaxpublic IEnumerable<Bundle> Query(
Expression<Func<Bundle, bool>> query,
int offset,
int? count,
out int totalResults,
IPrincipal principal,
params ModelSort<Bundle>[] orderBy
)
Public Function Query (
query As Expression(Of Func(Of Bundle, Boolean)),
offset As Integer,
count As Integer?,
<OutAttribute> ByRef totalResults As Integer,
principal As IPrincipal,
ParamArray orderBy As ModelSort(Of Bundle)()
) As IEnumerable(Of Bundle)
public:
virtual IEnumerable<Bundle^>^ Query(
Expression<Func<Bundle^, bool>^>^ query,
int offset,
Nullable<int> count,
[OutAttribute] int% totalResults,
IPrincipal^ principal,
... array<ModelSort<Bundle^>>^ orderBy
) sealed
abstract Query :
query : Expression<Func<Bundle, bool>> *
offset : int *
count : Nullable<int> *
totalResults : int byref *
principal : IPrincipal *
orderBy : ModelSort<Bundle>[] -> IEnumerable<Bundle>
override Query :
query : Expression<Func<Bundle, bool>> *
offset : int *
count : Nullable<int> *
totalResults : int byref *
principal : IPrincipal *
orderBy : ModelSort<Bundle>[] -> IEnumerable<Bundle> Parameters
- query ExpressionFuncBundle, Boolean
- Query.
- offset Int32
- The offset of the first result
- count NullableInt32
- The count of results to include in the response set
- totalResults Int32
- The total number of results matching the query
- principal IPrincipal
- The security principal under which the query is occurring
- orderBy ModelSortBundle
- The ordering instrutions to send the query
Return Value
IEnumerableBundle[Missing <returns> documentation for "M:SanteDB.Persistence.Data.Services.Persistence.Collections.BundlePersistenceService.Query(System.Linq.Expressions.Expression{System.Func{SanteDB.Core.Model.Collection.Bundle,System.Boolean}},System.Int32,System.Nullable{System.Int32},System.Int32@,System.Security.Principal.IPrincipal,SanteDB.Core.Model.Query.ModelSort{SanteDB.Core.Model.Collection.Bundle}[])"]
Implements
IDataPersistenceServiceTDataQuery(ExpressionFuncTData, Boolean, Int32, NullableInt32, Int32, IPrincipal, ModelSortTData)
Exceptions
See Also