示例#1
0
        public SysEfectorCollection FetchByQuery(Query qry)
        {
            SysEfectorCollection coll = new SysEfectorCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#2
0
        public SysEfectorCollection FetchAll()
        {
            SysEfectorCollection coll = new SysEfectorCollection();
            Query qry = new Query(SysEfector.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#3
0
        public SysEfectorCollection FetchByID(object IdEfector)
        {
            SysEfectorCollection coll = new SysEfectorCollection().Where("idEfector", IdEfector).Load();

            return(coll);
        }