Exemplo n.º 1
0
        public SysSexoCollection FetchByQuery(Query qry)
        {
            SysSexoCollection coll = new SysSexoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public SysSexoCollection FetchAll()
        {
            SysSexoCollection coll = new SysSexoCollection();
            Query             qry  = new Query(SysSexo.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 3
0
        public SysSexoCollection FetchByID(object IdSexo)
        {
            SysSexoCollection coll = new SysSexoCollection().Where("idSexo", IdSexo).Load();

            return(coll);
        }