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

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

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

            return(coll);
        }