예제 #1
0
 /// <summary>
 /// 建構式
 /// </summary>
 /// <param name="context">注入資料連線</param>
 public Repository(DemoDBContext context)
 {
     MyContext = context;
 }
예제 #2
0
 public IndexModel(GRUDDemo.Models.DemoDBContext context)
 {
     _context = context;
 }
예제 #3
0
 public EditModel(GRUDDemo.Models.DemoDBContext context)
 {
     _context = context;
 }
예제 #4
0
 public DetailsModel(GRUDDemo.Models.DemoDBContext context)
 {
     _context = context;
 }