public TamTipoCirugiumCollection FetchByQuery(Query qry)
        {
            TamTipoCirugiumCollection coll = new TamTipoCirugiumCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public TamTipoCirugiumCollection FetchAll()
        {
            TamTipoCirugiumCollection coll = new TamTipoCirugiumCollection();
            Query qry = new Query(TamTipoCirugium.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public TamTipoCirugiumCollection FetchByID(object IdTipoCirugia)
        {
            TamTipoCirugiumCollection coll = new TamTipoCirugiumCollection().Where("idTipoCirugia", IdTipoCirugia).Load();

            return(coll);
        }