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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public FacRelPerfilPaginaPrincipalCollection FetchByID(object IdRelPerfilPaginaPrincipal)
        {
            FacRelPerfilPaginaPrincipalCollection coll = new FacRelPerfilPaginaPrincipalCollection().Where("idRelPerfilPaginaPrincipal", IdRelPerfilPaginaPrincipal).Load();

            return(coll);
        }