Exemple #1
0
 public static List <TEntity> SelectToDynamicList <TEntity>(this IDbLinqQueryable <TEntity> dbLinqQueryable) where TEntity : Data.Entity.Entity
 {
     return(dbLinqQueryable.SelectToList().AutoMapTo <List <TEntity> >());
 }
Exemple #2
0
 public static List <TDto> SelectToList <TEntity, T1, T2, T3, T4, T5, TDto>(this IDbLinqQueryable <TEntity> dbLinqQueryable, Expression <Func <T1, T2, T3, T4, T5, TDto> > selector) where TEntity : Data.Entity.Entity
 {
     return(dbLinqQueryable.SelectToList((LambdaExpression)selector).AutoMapTo <List <TDto> >());
 }
Exemple #3
0
 public static List <TEntity> SelectToDynamicList <TEntity, T1, T2, TOut>(this IDbLinqQueryable <TEntity> dbLinqQueryable, Expression <Func <T1, T2, TOut> > selector) where TEntity : Data.Entity.Entity
 {
     return(dbLinqQueryable.SelectToList((LambdaExpression)selector).MapTo <List <TEntity> >());
 }