public SyncFromBackend()
 {
     ServiceProviderDbF        = new SimpleDatabaseFunctions <service_provider>();
     ServiceProviderBkd        = new BackendDatabaseHandling <service_provider>();
     CountryDbF                = new SimpleDatabaseFunctions <country>();
     CountryBkd                = new BackendDatabaseHandling <country>();
     ZoneDbF                   = new SimpleDatabaseFunctions <zone>();
     ZoneBkd                   = new BackendDatabaseHandling <zone>();
     ServiceCategoryDbF        = new SimpleDatabaseFunctions <service_category>();
     ServiceCategoryBkd        = new BackendDatabaseHandling <service_category>();
     ServiceDbF                = new SimpleDatabaseFunctions <service>();
     ServiceBkd                = new BackendDatabaseHandling <service>();
     SowUserDbF                = new SimpleDatabaseFunctions <sow_user>();
     SowUserBkd                = new BackendDatabaseHandling <sow_user>();
     SowUserDeliveryAddressDbF = new SimpleDatabaseFunctions <sow_user_delivery_address>();
     SowUserDeliveryAddressBkd = new BackendDatabaseHandling <sow_user_delivery_address>();
     OrderStateDbF             = new SimpleDatabaseFunctions <order_state>();
     OrderStateBkd             = new BackendDatabaseHandling <order_state>();
     OrderHeaderDbF            = new SimpleDatabaseFunctions <order_header>();
     OrderHeaderBkd            = new BackendDatabaseHandling <order_header>();
     OrderItemDbF              = new SimpleDatabaseFunctions <order_item>();
     OrderItemBkd              = new BackendDatabaseHandling <order_item>();
     OrderDetailDbF            = new SimpleDatabaseFunctions <order_detail>();
     OrderDetailBkd            = new BackendDatabaseHandling <order_detail>();
 }
Beispiel #2
0
        public List <country> QueryAllCountries()
        {
            SimpleDatabaseFunctions <country> SDF = new SimpleDatabaseFunctions <country>();

            return(SDF.QueryAll());
        }