Ejemplo n.º 1
0
 public SqlRepository(WFA_DesignPatterns.DATA.Context.DataContext context)
 {
     if (_context == null)
     {
         _context = context;
     }
     _objectSet = context.Set <TEntity>();
 }
Ejemplo n.º 2
0
 public OgrenciRepository(WFA_DesignPatterns.DATA.Context.DataContext context)
     : base(context)
 {
     if (_context == null)
     {
         _context = context;
     }
 }