Example #1
0
        public BillingCityRateCollection FetchByQuery(Query qry)
        {
            BillingCityRateCollection coll = new BillingCityRateCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public BillingCityRateCollection FetchAll()
        {
            BillingCityRateCollection coll = new BillingCityRateCollection();
            Query qry = new Query(BillingCityRate.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public BillingCityRateCollection FetchAllActive()
        {
            BillingCityRateCollection coll = new BillingCityRateCollection();
            Query qry = new Query(BillingCityRate.Schema);

            qry.WHERE(BillingCityRate.Columns.IsDeleted, false);
            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #4
0
        public BillingCityRateCollection FetchByID(object Id)
        {
            BillingCityRateCollection coll = new BillingCityRateCollection().Where("id", Id).Load();

            return(coll);
        }