Click or drag to resize

AmiServiceClientQueryTModel Method

Perform a query

Namespace:  SanteDB.Messaging.AMI.Client
Assembly:  SanteDB.Messaging.AMI.Client (in SanteDB.Messaging.AMI.Client.dll) Version: 2.2.1
Syntax
public AmiCollection Query<TModel>(
	Expression<Func<TModel, bool>> expression,
	int offset,
	int? count,
	out int tr,
	Guid? queryId = null,
	ModelSort<TModel>[] orderBy = null
)

Parameters

expression
Type: System.Linq.ExpressionsExpressionFuncTModel, Boolean

[Missing <param name="expression"/> documentation for "M:SanteDB.Messaging.AMI.Client.AmiServiceClient.Query``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Int32,System.Nullable{System.Int32},System.Int32@,System.Nullable{System.Guid},SanteDB.Core.Model.Query.ModelSort{``0}[])"]

offset
Type: SystemInt32

[Missing <param name="offset"/> documentation for "M:SanteDB.Messaging.AMI.Client.AmiServiceClient.Query``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Int32,System.Nullable{System.Int32},System.Int32@,System.Nullable{System.Guid},SanteDB.Core.Model.Query.ModelSort{``0}[])"]

count
Type: SystemNullableInt32

[Missing <param name="count"/> documentation for "M:SanteDB.Messaging.AMI.Client.AmiServiceClient.Query``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Int32,System.Nullable{System.Int32},System.Int32@,System.Nullable{System.Guid},SanteDB.Core.Model.Query.ModelSort{``0}[])"]

tr
Type: SystemInt32

[Missing <param name="tr"/> documentation for "M:SanteDB.Messaging.AMI.Client.AmiServiceClient.Query``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Int32,System.Nullable{System.Int32},System.Int32@,System.Nullable{System.Guid},SanteDB.Core.Model.Query.ModelSort{``0}[])"]

queryId (Optional)
Type: SystemNullableGuid

[Missing <param name="queryId"/> documentation for "M:SanteDB.Messaging.AMI.Client.AmiServiceClient.Query``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Int32,System.Nullable{System.Int32},System.Int32@,System.Nullable{System.Guid},SanteDB.Core.Model.Query.ModelSort{``0}[])"]

orderBy (Optional)
Type: SanteDB.Core.Model.QueryModelSortTModel

[Missing <param name="orderBy"/> documentation for "M:SanteDB.Messaging.AMI.Client.AmiServiceClient.Query``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Int32,System.Nullable{System.Int32},System.Int32@,System.Nullable{System.Guid},SanteDB.Core.Model.Query.ModelSort{``0}[])"]

Type Parameters

TModel

[Missing <typeparam name="TModel"/> documentation for "M:SanteDB.Messaging.AMI.Client.AmiServiceClient.Query``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Int32,System.Nullable{System.Int32},System.Int32@,System.Nullable{System.Guid},SanteDB.Core.Model.Query.ModelSort{``0}[])"]

Return Value

Type: AmiCollection

[Missing <returns> documentation for "M:SanteDB.Messaging.AMI.Client.AmiServiceClient.Query``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Int32,System.Nullable{System.Int32},System.Int32@,System.Nullable{System.Guid},SanteDB.Core.Model.Query.ModelSort{``0}[])"]

See Also