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

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

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

            return(coll);
        }