Esempio n. 1
0
 public static BDATCEntities getContext()
 {
     if (context == null)
     {
         context = new BDATCEntities();
     }
     return(context);
 }
 public AplEnvioAtividade()
 {
     context = DbConection.getContext();
     db      = new GenericDALImpl <ARQUIVO>();
 }
Esempio n. 3
0
 public GenericDALImpl()
 {
     context = DbConection.getContext();
     _dbSet  = context.Set <T>();
 }