/// <summary> /// ELIMINA un registro de la Entidad Importaciones.OrdenImportacion /// En la BASE de DATO la Tabla : [Importaciones.OrdenImportacion] /// </summary> /// <param name="prm_codOrdenImportacion"></param> /// <returns></returns> public bool Delete(BaseFiltroImp pFiltro) { int codigoRetorno = -1; try { using (_ImportacionesDataContext SQLDC = new _ImportacionesDataContext(conexion)) { codigoRetorno = SQLDC.omgc_D_OrdenImportacion(pFiltro.codOrdenImportacion); } } catch (Exception ex) { throw ex; } return(codigoRetorno == 0 ? true : false); }