예제 #1
0
        public LMappingEmacCollection FetchByQuery(Query qry)
        {
            LMappingEmacCollection coll = new LMappingEmacCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public LMappingEmacCollection FetchAll()
        {
            LMappingEmacCollection coll = new LMappingEmacCollection();
            Query qry = new Query(LMappingEmac.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public LMappingEmacCollection FetchByID(object Id)
        {
            LMappingEmacCollection coll = new LMappingEmacCollection().Where("ID", Id).Load();

            return(coll);
        }