public FineManager() { CrudFactory = new FineCrud(); CompanyCrd = new CompanyCrud(); TerminalCrd = new TerminalCrud(); VLCrud = new ValueListCrud(); }
public BusManager() { TravelCrud = new TravelCrud(); CrudFactory = new BusCrud(); CompanyCrud = new CompanyCrud(); DriverCrud = new DriverCrud(); ReqCrud = new RequirementCrud(); }
public RouteManager() { CrudFactory = new RouteCrud(); CCrud = new CompanyCrud(); TCrud = new TerminalCrud(); LCrud = new LocationCrud(); SPCrud = new SystemParamCrud(); }
public CreateUpdateCompanyForm(BaseForm caller, CUCompanyFormDTO dto) { this.dto = dto; this.caller = caller; this.companyDTO = new CompanyDTO(); this.crud = new CompanyCrud(dto.contex); InitializeComponent(); }
public CompanyForm(DataFormDTO dto) { this.dto = dto; dto.caller.Hide(); checkBoxData = new CheckBoxDataInit(dto.db); filter = new CompanyFilter(); controller = new CompanyController(dto.db); crud = new CompanyCrud(dto.db); formDTO = new CUCompanyFormDTO(); InitializeComponent(); }
public IEnumerable <CompanyModel> GetCompanies() { var crud = new CompanyCrud(); return(crud.Read().Cast <CompanyModel>()); }
public DriverManager() { CrudFactory = new DriverCrud(); CompanyCrd = new CompanyCrud(); }
public CompanyManager() { CrudFactory = new CompanyCrud(); }