コード例 #1
0
 public bool Any <T>(Expression <Func <T, bool> > exp) where T : Entity
 {
     return(_db.Set <T>().Any(exp));
 }
コード例 #2
0
ファイル: BaseRepository.cs プロジェクト: ForLR/LBDOAuth
 public void Add(T t)
 {
     _db.Set <T>().Add(t);
 }