コード例 #1
0
 public PatientsController(OBDbContext context)
 {
     this.context = context;
 }
コード例 #2
0
 // public DbSet<TEntity> DbSet { get; private set; }
 public OurBlogRepository(OBDbContext context)
 {
     Guard.ArgumentNotNull(context, "context");
     this.DbContext = context;
     // this.DbSet = this.DbContext.Set<TEntity>();
 }