Browse Source

typo

tags/v0.2.1
Robin Thoni 8 years ago
parent
commit
85c6943211
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      Luticate2.Utils/DataAccess/LuEfCrudDataAccess.cs

+ 4
- 4
Luticate2.Utils/DataAccess/LuEfCrudDataAccess.cs View File

@@ -66,17 +66,17 @@ namespace Luticate2.Utils.DataAccess
66 66
             return id;
67 67
         }
68 68
 
69
-        protected virtual IQueryable<TModel> GetGetQueryable(DbContext db, DbSet<TModel> table)
69
+        protected virtual IQueryable<TModel> GetGetQueryable(TDbContext db, DbSet<TModel> table)
70 70
         {
71 71
             return table;
72 72
         }
73 73
 
74
-        protected virtual IQueryable<TModel> GetEditQueryable(DbContext db, DbSet<TModel> table)
74
+        protected virtual IQueryable<TModel> GetEditQueryable(TDbContext db, DbSet<TModel> table)
75 75
         {
76 76
             return table;
77 77
         }
78 78
 
79
-        protected virtual IQueryable<TModel> GetDeleteQueryable(DbContext db, DbSet<TModel> table)
79
+        protected virtual IQueryable<TModel> GetDeleteQueryable(TDbContext db, DbSet<TModel> table)
80 80
         {
81 81
             return table;
82 82
         }
@@ -97,7 +97,7 @@ namespace Luticate2.Utils.DataAccess
97 97
             return LuResult<T>.Error(LuStatus.NotFound, typeof(TModel).Name + ": Value not found", "");
98 98
         }
99 99
 
100
-        protected IQueryable<TModel> GetFilterQuery(LuFilterDbo filter, DbContext db, DbSet<TModel> table)
100
+        protected IQueryable<TModel> GetFilterQuery(LuFilterDbo filter, TDbContext db, DbSet<TModel> table)
101 101
         {
102 102
             return GetGetQueryable(db, table).Where(GetFilterExpression(filter));
103 103
         }

Loading…
Cancel
Save