Udostępnij za pośrednictwem


MappedEntityDomainManager<TData,TModel>.LookupEntity Method

Definition

Overloads

LookupEntity(Expression<Func<TModel,Boolean>>, Boolean)
LookupEntity(Expression<Func<TModel,Boolean>>)

LookupEntity(Expression<Func<TModel,Boolean>>, Boolean)

protected virtual System.Web.Http.SingleResult<TData> LookupEntity (System.Linq.Expressions.Expression<Func<TModel,bool>> filter, bool includeDeleted);
abstract member LookupEntity : System.Linq.Expressions.Expression<Func<'Model, bool>> * bool -> System.Web.Http.SingleResult<'Data (requires 'Data : null and 'Data :> Microsoft.Azure.Mobile.Server.Tables.ITableData)>
override this.LookupEntity : System.Linq.Expressions.Expression<Func<'Model, bool>> * bool -> System.Web.Http.SingleResult<'Data (requires 'Data : null and 'Data :> Microsoft.Azure.Mobile.Server.Tables.ITableData)>
Protected Overridable Function LookupEntity (filter As Expression(Of Func(Of TModel, Boolean)), includeDeleted As Boolean) As SingleResult(Of TData)

Parameters

filter
Expression<Func<TModel,Boolean>>
includeDeleted
Boolean

Returns

System.Web.Http.SingleResult<TData>

Applies to

LookupEntity(Expression<Func<TModel,Boolean>>)

protected virtual System.Web.Http.SingleResult<TData> LookupEntity (System.Linq.Expressions.Expression<Func<TModel,bool>> filter);
abstract member LookupEntity : System.Linq.Expressions.Expression<Func<'Model, bool>> -> System.Web.Http.SingleResult<'Data (requires 'Data : null and 'Data :> Microsoft.Azure.Mobile.Server.Tables.ITableData)>
override this.LookupEntity : System.Linq.Expressions.Expression<Func<'Model, bool>> -> System.Web.Http.SingleResult<'Data (requires 'Data : null and 'Data :> Microsoft.Azure.Mobile.Server.Tables.ITableData)>
Protected Overridable Function LookupEntity (filter As Expression(Of Func(Of TModel, Boolean))) As SingleResult(Of TData)

Parameters

filter
Expression<Func<TModel,Boolean>>

Returns

System.Web.Http.SingleResult<TData>

Applies to