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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public SysRelEstadoMotivoNICollection FetchByID(object IdRelEstadoMotivoNI)
        {
            SysRelEstadoMotivoNICollection coll = new SysRelEstadoMotivoNICollection().Where("idRelEstadoMotivoNI", IdRelEstadoMotivoNI).Load();

            return(coll);
        }