Exemple #1
0
        public GuardiaPrescripcioneCollection FetchByQuery(Query qry)
        {
            GuardiaPrescripcioneCollection coll = new GuardiaPrescripcioneCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #2
0
        public GuardiaPrescripcioneCollection FetchAll()
        {
            GuardiaPrescripcioneCollection coll = new GuardiaPrescripcioneCollection();
            Query qry = new Query(GuardiaPrescripcione.Schema);

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

            return(coll);
        }