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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 3
0
        public BillingDefaultCityRateCollection FetchAllActive()
        {
            BillingDefaultCityRateCollection coll = new BillingDefaultCityRateCollection();
            Query qry = new Query(BillingDefaultCityRate.Schema);

            qry.WHERE(BillingDefaultCityRate.Columns.IsDeleted, false);
            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 4
0
        public BillingDefaultCityRateCollection FetchByID(object Id)
        {
            BillingDefaultCityRateCollection coll = new BillingDefaultCityRateCollection().Where("id", Id).Load();

            return(coll);
        }