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

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

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

            return(coll);
        }