Пример #1
0
        public AutEntidadCollection FetchByQuery(Query qry)
        {
            AutEntidadCollection coll = new AutEntidadCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public AutEntidadCollection FetchAll()
        {
            AutEntidadCollection coll = new AutEntidadCollection();
            Query qry = new Query(AutEntidad.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public AutEntidadCollection FetchByID(object IdEntidad)
        {
            AutEntidadCollection coll = new AutEntidadCollection().Where("idEntidad", IdEntidad).Load();

            return(coll);
        }