예제 #1
0
 public UserGadgetRepository(Entities context)
     : base(context)
 {
     UserGadgets = Context.UserGadgets;
 }
예제 #2
0
 public UserRepository(Entities context)
     : base(context)
 {
     Users = Context.Users;
 }
예제 #3
0
 internal BaseRepository(Entities context)
 {
     Context = context;
 }
예제 #4
0
 public GadgetRepository(Entities context)
     : base(context)
 {
     Gadgets = Context.Gadgets;
 }
예제 #5
0
 public UnitOfWork(string connectionString)
 {
     _context = new Entities(connectionString);
 }