/// <summary> /// Utiliza um contexto existente /// </summary> /// <param name="context"></param> public UserDAL(APSystemEntities context) { _context = context; }
public PassageDAL(APSystemEntities context) { _context = context; }
/// <summary> /// Criação do contexto no construtor /// </summary> /// <param name="context"></param> public UserDAL() { _context = new APSystemEntities(); }
public PassageDAL() { _context = new APSystemEntities(); }