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

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

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

            return(coll);
        }