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