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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 3
0
        public LocationCollection FetchByID(object LocationID)
        {
            LocationCollection coll = new LocationCollection().Where("LocationID", LocationID).Load();

            return(coll);
        }