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

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

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

            return(coll);
        }