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

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

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

            return(coll);
        }