RepositoryExtensions.VerifyProjection<TEntity, TProjection, TPrimaryKey>(IRepository<TEntity, TPrimaryKey>, Func<IRepositoryQuery<TEntity>, IQueryable<TProjection>>) Method
Namespace: DevExpress.Mvvm.DataModel
Assembly: DevExpress.Mvvm.v24.2.DataModel.dll
NuGet Package: DevExpress.Scaffolding.Core
Declaration
public static void VerifyProjection<TEntity, TProjection, TPrimaryKey>(
IRepository<TEntity, TPrimaryKey> repository,
Func<IRepositoryQuery<TEntity>, IQueryable<TProjection>> projection
)
where TEntity : class
Parameters
Name | Type |
---|---|
repository | IRepository<TEntity, TPrimaryKey> |
projection | Func<IRepositoryQuery<TEntity>, IQueryable<TProjection>> |
Type Parameters
Name |
---|
TEntity |
TProjection |
TPrimaryKey |
See Also