Esempio n. 1
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (_context != null)
         {
             _context.Dispose();
             _context = null;
         }
     }
 }
Esempio n. 2
0
 public SysdiagramRepository(TarieEntities context) : base(context)
 {
     _context = context;
 }
Esempio n. 3
0
 public AgentRepository(TarieEntities context) : base(context)
 {
     _context = context;
 }
Esempio n. 4
0
 public Class1Repository(TarieEntities context) : base(context)
 {
     _context = context;
 }
Esempio n. 5
0
 protected Repository(TarieEntities context)
 {
     _entities = context.Set <TEntity>();
 }
Esempio n. 6
0
 public ImageRepository(TarieEntities context) : base(context)
 {
     _context = context;
 }
Esempio n. 7
0
 public UnitOfWork(TarieEntities context)
 {
     _context = context;
 }
Esempio n. 8
0
 //Delete this default constructor if using an IoC container
 public UnitOfWork()
 {
     _context = new TarieEntities();
 }