コード例 #1
0
 public DocumentDetailView(WareDocumentDetail DocumentDetail, ContextManager Manager)
 {
     detail  = DocumentDetail;
     manager = Manager;
     context = manager.Context;
     FillFields();
 }
コード例 #2
0
 public ConfigurationParametersLogic(ContextManager contextManager)
 {
     context       = contextManager.Context;
     modeCode      = Compas.Logic.Security.CurrentSecurityContext.ModeCode;
     currentUserId = Compas.Logic.Security.CurrentSecurityContext.Identity.ID;
     localCopyConfigurationParameters = this.GetAll();
 }
コード例 #3
0
 public WareMinQuantity(int WareID)
 {
     InitializeComponent();
     manager = new ContextManager();
     context = manager.Context;
     wareId  = WareID;
     Fill();
 }
コード例 #4
0
        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);
        }
コード例 #5
0
ファイル: CashRegisterData.cs プロジェクト: zep2zep/Compas
 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();
 }
コード例 #6
0
 public StatesOfDocumentsLogic(ContextManager contextManager)
 {
     context = contextManager.Context;
 }
コード例 #7
0
ファイル: CurrenciesLogic.cs プロジェクト: zep2zep/Compas
 public CurrenciesLogic(ContextManager contextManager)
 {
     context = contextManager.Context;
 }
コード例 #8
0
 public DocumentDetailsLogic(ContextManager contextManager)
 {
     context = contextManager.Context;
     manager = contextManager;
 }
コード例 #9
0
 public DocumentPaymentTypesLogic(ContextManager contextManager)
 {
     context = contextManager.Context;
 }
コード例 #10
0
ファイル: StaffTeamsLogic.cs プロジェクト: zep2zep/Compas
 public StaffTeamsLogic(ContextManager contextManager)
 {
     context = contextManager.Context;
 }
コード例 #11
0
 public CardBalanceOperationsLogic(ContextManager contextManager)
 {
     context = contextManager.Context;
 }
コード例 #12
0
ファイル: SecurityRolesLogic.cs プロジェクト: zep2zep/Compas
 public SecurityRolesLogic(ContextManager contextManager)
 {
     context = contextManager.Context;
 }
コード例 #13
0
 public WaresLogic(ContextManager contextManager)
 {
     context = contextManager.Context;
     manager = contextManager;
 }
コード例 #14
0
 public EnterprisesLogic(ContextManager contextManager)
 {
     context = contextManager.Context;
 }
コード例 #15
0
 public WareManufacturersLogic(ContextManager contextManager)
 {
     context = contextManager.Context;
 }
コード例 #16
0
 public WarePriceGroupsLogic(ContextManager contextManager)
 {
     context = contextManager.Context;
 }
コード例 #17
0
ファイル: SecurityUsersLogic.cs プロジェクト: zep2zep/Compas
 public SecurityUsersLogic(ContextManager contextManager)
 {
     manager = contextManager;
     context = manager.Context;
 }
コード例 #18
0
ファイル: WareUnitsLogic.cs プロジェクト: zep2zep/Compas
 public WareUnitsLogic(ContextManager contextManager)
 {
     context = contextManager.Context;
 }
コード例 #19
0
ファイル: DocumentCarsLogic.cs プロジェクト: zep2zep/Compas
 public DocumentCarsLogic(ContextManager contextManager)
 {
     context = contextManager.Context;
 }
コード例 #20
0
 public WareDiscountsLogic(ContextManager contextManager)
 {
     context = contextManager.Context;
 }
コード例 #21
0
 public StaffEmployeeSalariesLogic(ContextManager contextManager)
 {
     context = contextManager.Context;
     manager = contextManager;
 }
コード例 #22
0
 public ContractorTypesLogic(ContextManager contextManager)
 {
     context = contextManager.Context;
 }
コード例 #23
0
 public CWContractorCarsLogic(ContextManager contextManager)
 {
     context = contextManager.Context;
     manager = contextManager;
 }
コード例 #24
0
 public StaffShedulerEmployeesLogic(ContextManager contextManager)
 {
     context = contextManager.Context;
 }
コード例 #25
0
 public SecurityInstallationsLogic(ContextManager contextManager)
 {
     context = contextManager.Context;
 }
コード例 #26
0
ファイル: CWCarModelsLogic.cs プロジェクト: zep2zep/Compas
 public CWCarModelsLogic(ContextManager contextManager)
 {
     context = contextManager.Context;
 }
コード例 #27
0
 public CardTypesDiscountsLogic(ContextManager contextManager)
 {
     context = contextManager.Context;
 }
コード例 #28
0
 public SecurityCategoriesLogic(ContextManager contextManager)
 {
     context = contextManager.Context;
 }
コード例 #29
0
 public StaffPositionsLogic(ContextManager contextManager)
 {
     context = contextManager.Context;
 }
コード例 #30
0
 public SecurityActionsLogic(ContextManager contextManager)
 {
     context = contextManager.Context;
 }