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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public SysParentescoTipoCollection FetchByID(object Id)
        {
            SysParentescoTipoCollection coll = new SysParentescoTipoCollection().Where("id", Id).Load();

            return(coll);
        }