Ejemplo n.º 1
0
        public BillingCityRateCollection FetchByQuery(Query qry)
        {
            BillingCityRateCollection coll = new BillingCityRateCollection();

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 4
0
        public BillingCityRateCollection FetchByID(object Id)
        {
            BillingCityRateCollection coll = new BillingCityRateCollection().Where("id", Id).Load();

            return(coll);
        }