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

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

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

            return(coll);
        }