Exemple #1
0
 public EntityFrameworkSystemConfigurationRepository(ITenantPersistenceService persistenceService)
     : base(persistenceService)
 {
     SearchColumns.Add("Name");
     SearchColumns.Add("Value");
     DisplayColumnForCombobox = "Name";
 }
Exemple #2
0
 public EntityFrameworkHoldingRequestRepository(ITenantPersistenceService persistenceService)
     : base(persistenceService)
 {
     SearchColumns.Add("LocationFrom");
     SearchColumns.Add("LocationTo");
     SearchColumns.Add("Description");
 }
Exemple #3
0
        public EntityFrameworkLocationRepository(ITenantPersistenceService persistenceService)
            : base(persistenceService)
        {
            SearchColumns.Add("Name");
            SearchColumns.Add("FullAddressSearch");

            DisplayColumnForCombobox = "Name";
        }
Exemple #4
0
 public EntityFrameworkRequestRepository(ITenantPersistenceService persistenceService)
     : base(persistenceService)
 {
     SearchColumns.Add("RequestNo");
     SearchColumns.Add("CourierSearch");
     SearchColumns.Add("LocationFromName");
     SearchColumns.Add("LocationToName");
 }
        protected void HandleValidSubmitSearch()
        {
            string user_name = nameof(customSearch.user_name);

            SearchColumns.Remove(user_name);
            if (!customSearch.user_name.isNOEOW())
            {
                SearchColumns.Add(user_name, customSearch.user_name);
            }
            OnSearch = true;
        }
Exemple #6
0
 public EntityFrameworkUserRepository(ITenantPersistenceService persistenceService)
     : base(persistenceService)
 {
     SearchColumns.Add("UserName");
     SearchColumns.Add("Role");
     SearchColumns.Add("FullNameSearch");
     SearchColumns.Add("HomePhone");
     SearchColumns.Add("MobilePhone");
     SearchColumns.Add("Email");
     DisplayColumnForCombobox = "FirstName";
     Includes.Add("UserRole");
 }
Exemple #7
0
        public EntityFrameworkFranchiseeTenantRepository(ITenantPersistenceService persistenceService)
            : base(persistenceService)
        {
            var deploymentMode = ConfigurationManager.AppSettings["DeploymentMode"];

            if (deploymentMode == "camino")
            {
                persistenceService.CreateWorkspace(new Tenant
                {
                    Name = ConstantValue.ConnectionStringAdminDb
                });
            }
            SearchColumns.Add("Name");
            DisplayColumnForCombobox = "Name";
        }
Exemple #8
0
 public EntityFrameworkTemplateRepository(ITenantPersistenceService persistenceService)
     : base(persistenceService)
 {
     SearchColumns.Add("Title");
     DisplayColumnForCombobox = "Title";
 }
Exemple #9
0
 public EntityFrameworkCountryOrRegionRepository(ITenantPersistenceService persistenceService)
     : base(persistenceService)
 {
     SearchColumns.Add("Name");
     DisplayColumnForCombobox = "Name";
 }
Exemple #10
0
 public EntityFrameworkFranchiseeModuleRepository(ITenantPersistenceService persistenceService)
     : base(persistenceService)
 {
     SearchColumns.Add("Name");
     DisplayColumnForCombobox = "Name";
 }