public DocumentDetailView(WareDocumentDetail DocumentDetail, ContextManager Manager) { detail = DocumentDetail; manager = Manager; context = manager.Context; FillFields(); }
public ConfigurationParametersLogic(ContextManager contextManager) { context = contextManager.Context; modeCode = Compas.Logic.Security.CurrentSecurityContext.ModeCode; currentUserId = Compas.Logic.Security.CurrentSecurityContext.Identity.ID; localCopyConfigurationParameters = this.GetAll(); }
public WareMinQuantity(int WareID) { InitializeComponent(); manager = new ContextManager(); context = manager.Context; wareId = WareID; Fill(); }
public List <SecurityAction> GetAll(CompasDataContext db) { List <SecurityAction> result; //using (var cdc = new CompasDataContext()) //{ result = (from a in db.SecurityActions select a).ToList(); //} return(result); }
public CashRegisterData(CashRegister _CashRegister) { InitializeComponent(); cashRegister = _CashRegister; installationId = Logic.Config.InstallationIdentifyLogic.InstallationIDInt; manager = new ContextManager(); context = manager.Context; Logic.Config.ModesLogic modesLogic = new ModesLogic(manager); ModesCB.DataSource = modesLogic.GetAll(); ModesCB.DisplayMember = "Name"; ModesCB.ValueMember = "ID"; ModesCB.SelectedIndex = 0; //id інсталяції Fill(); }
public StatesOfDocumentsLogic(ContextManager contextManager) { context = contextManager.Context; }
public CurrenciesLogic(ContextManager contextManager) { context = contextManager.Context; }
public DocumentDetailsLogic(ContextManager contextManager) { context = contextManager.Context; manager = contextManager; }
public DocumentPaymentTypesLogic(ContextManager contextManager) { context = contextManager.Context; }
public StaffTeamsLogic(ContextManager contextManager) { context = contextManager.Context; }
public CardBalanceOperationsLogic(ContextManager contextManager) { context = contextManager.Context; }
public SecurityRolesLogic(ContextManager contextManager) { context = contextManager.Context; }
public WaresLogic(ContextManager contextManager) { context = contextManager.Context; manager = contextManager; }
public EnterprisesLogic(ContextManager contextManager) { context = contextManager.Context; }
public WareManufacturersLogic(ContextManager contextManager) { context = contextManager.Context; }
public WarePriceGroupsLogic(ContextManager contextManager) { context = contextManager.Context; }
public SecurityUsersLogic(ContextManager contextManager) { manager = contextManager; context = manager.Context; }
public WareUnitsLogic(ContextManager contextManager) { context = contextManager.Context; }
public DocumentCarsLogic(ContextManager contextManager) { context = contextManager.Context; }
public WareDiscountsLogic(ContextManager contextManager) { context = contextManager.Context; }
public StaffEmployeeSalariesLogic(ContextManager contextManager) { context = contextManager.Context; manager = contextManager; }
public ContractorTypesLogic(ContextManager contextManager) { context = contextManager.Context; }
public CWContractorCarsLogic(ContextManager contextManager) { context = contextManager.Context; manager = contextManager; }
public StaffShedulerEmployeesLogic(ContextManager contextManager) { context = contextManager.Context; }
public SecurityInstallationsLogic(ContextManager contextManager) { context = contextManager.Context; }
public CWCarModelsLogic(ContextManager contextManager) { context = contextManager.Context; }
public CardTypesDiscountsLogic(ContextManager contextManager) { context = contextManager.Context; }
public SecurityCategoriesLogic(ContextManager contextManager) { context = contextManager.Context; }
public StaffPositionsLogic(ContextManager contextManager) { context = contextManager.Context; }
public SecurityActionsLogic(ContextManager contextManager) { context = contextManager.Context; }