コード例 #1
0
ファイル: Repository.cs プロジェクト: AdrianCert/classbook
 public Repository(Context.Database _context)
 {
     this._context = _context;
     table         = _context.Set <T>();
 }
コード例 #2
0
ファイル: Repository.cs プロジェクト: AdrianCert/classbook
 public Repository()
 {
     this._context = new Context.Database();
     table         = _context.Set <T>();
 }