diff --git a/GestionGrupoSanchoToro/Almacen/ucAlbaran.xaml b/GestionGrupoSanchoToro/Almacen/ucAlbaran.xaml
new file mode 100644
index 0000000..6a38ef6
--- /dev/null
+++ b/GestionGrupoSanchoToro/Almacen/ucAlbaran.xaml
@@ -0,0 +1,384 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/GestionGrupoSanchoToro/Almacen/ucAlbaran.xaml.vb b/GestionGrupoSanchoToro/Almacen/ucAlbaran.xaml.vb
new file mode 100644
index 0000000..5024897
--- /dev/null
+++ b/GestionGrupoSanchoToro/Almacen/ucAlbaran.xaml.vb
@@ -0,0 +1,785 @@
+Imports DevExpress.Xpf.Editors
+Imports DevExpress.Xpf.LayoutControl
+Imports tsWPFCore
+Imports System.ComponentModel
+Imports System.Data
+Imports DevExpress.Xpf.Editors.Validation
+Imports DevExpress.Xpf.Editors.Helpers
+Imports DevExpress.Xpf.Core
+Imports tsWPFCore.modExtensiones
+Imports System.Data.Common
+Imports System.Data.Entity
+Imports bdGrupoSanchoToro.db
+Imports tsUtilidades.Datos
+Imports DevExpress.Xpf.Bars
+Imports DevExpress.Xpf.Grid
+Imports System.Collections
+Imports tsUtilidades.Extensiones
+Imports tsUtilidades.Enumeraciones
+Imports bdGrupoSanchoToro.db.Utilidades
+Imports bdGrupoSanchoToro.db.tscGrupoSanchoToro
+Imports System.Drawing
+Imports bdGrupoSanchoToro.db.albaranes
+
+Public Class ucAlbaran
+ Private bd As tscGrupoSanchoToro
+ Friend _idAlbaran As Nullable(Of Integer)
+ Private lProductos As List(Of productos)
+ Private lArticulos As List(Of articulos)
+ Friend idLog As Integer?
+
+
+ Public Overrides Sub Cargado()
+
+ Me.Tipo_ucControlBusqueda = GetType(ucAlbaranes)
+ End Sub
+ Dim ra As albaranes
+ Public Overrides Sub EstableceDataContextSecundarios(Optional Background As Boolean = False)
+ Try
+
+ lProductos = bd.productos.OrderBy(Function(x) x.Descripcion).ToList
+ Dim lProductosAlb = ra.detallesalbaranes.Select(Function(x) x.idProducto).ToArray
+ lProductos = lProductos.Where(Function(x) x.FechaBaja Is Nothing OrElse lProductosAlb.Contains(x.idProducto)).ToList
+ cbProducto.ItemsSource = lProductos
+
+ cbRazonSocial.ItemsSource = bd.entidades.Where(Function(X) X.FechaBaja.HasValue = False OrElse X.idEntidad = ra.idEntidad).ToList.Select(Function(x) New With {x.idEntidad, x.RazonSocial}).OrderBy(Function(x) x.RazonSocial).ToList
+
+ Dim plantillas As List(Of tsWPFCore.Plantilla) = Comun.ObtienePlantillas(bd, {"GRUPLA.ALBENT"}, False)
+ Me.ContenedorAplicacion.cbPlantillaAImprimir.ItemsSource = plantillas
+ If plantillas.Count > 0 Then
+ Me.ContenedorAplicacion.bePlantilla.EditValue = plantillas.First.idPlantilla
+ End If
+
+ Dim Acciones As New List(Of tsWPFCore.Accion)
+ Acciones.Add(New Accion With {
+ .idAccion = 1,
+ .Descripcion = "GENERA ALBARÁN DE RECOGIDA Y FACTURA RÁPIDA (F10)"})
+ Acciones.Add(New Accion With {
+ .idAccion = 3,
+ .Descripcion = "GENERA ALBARÁN DE RECOGIDA DE PRODUCTOS PENDIENTES (F11)"})
+ Acciones.Add(New Accion With {
+ .idAccion = 2,
+ .Descripcion = "ENVIAR ALBARÁN POR CORREO ELECTRÓNICO (F12)"})
+ Me.ContenedorAplicacion.cbAcciones.ItemsSource = Acciones
+ Me.ContenedorAplicacion.beAcciones.EditValue = Acciones.First.idAccion
+
+ Catch ex As Exception
+ Throw New Exception(ex.Message, ex)
+ End Try
+ End Sub
+
+
+ Public Overrides Function EstablecedcPrincipal(Optional Background As Boolean = False, Optional FuerzaNuevo As Boolean = False, Optional Refrescar As Boolean = False) As tsUtilidades.EstadosAplicacion
+ Try
+ Dim NuevoEstado As tsUtilidades.EstadosAplicacion
+
+ If idLog.HasValue Then
+ 'Try
+ ' Dim log = bd.logs.First(Function(x) x.idLog = idLog)
+ ' ra = tsUtilidades.Utilidades.DeserializarSinErrores(log.LogXML, GetType(albaranes))
+ ' If ra.idUsuario.HasValue Then ra.idUsuarioNavigation = bd.usuarios.FirstOrDefault(Function(x) x.idUsuario = ra.idUsuario.Value)
+ ' Dim df = bd.logs.FirstOrDefault(Function(x) x.idRelacionado = log.idLog AndAlso x.Aplicacion = "detallesalbaranes_AE")
+ ' If df IsNot Nothing Then
+ ' Dim ld As List(Of detallesalbaranes) = tsUtilidades.Utilidades.DeserializarSinErrores(df.LogXML, GetType(List(Of detallesalbaranes)))
+ ' For Each d In ld
+ ' Dim pr = bd.productos.FirstOrDefault(Function(x) x.idProducto = d.idProducto)
+ ' d.productos = pr
+ ' If d.idArticulo.HasValue Then
+ ' Dim art = bd.articulos.FirstOrDefault(Function(x) x.idArticulo = d.idArticulo)
+ ' d.articulos = art
+ ' End If
+ ' ra.detallesalbaranes.Add(d)
+ ' Next
+ ' End If
+ ' Dim mv = bd.logs.FirstOrDefault(Function(x) x.idRelacionado = log.idLog AndAlso x.Aplicacion = "MOVIMIENTOSCAJA_AE")
+ ' If mv IsNot Nothing Then
+ ' Dim ld = tsUtilidades.Utilidades.DeserializarSinErrores(mv.LogXML, GetType(List(Of movimientoscaja)))
+ ' For Each d In ld
+ ' ra.movimientoscaja.Add(d)
+ ' Next
+ ' End If
+ ' Dim lent = bd.logs.FirstOrDefault(Function(x) x.idRelacionado = log.idLog AndAlso x.Aplicacion = "ENTIDADES")
+ ' If lent IsNot Nothing Then
+ ' Dim ent = tsUtilidades.Utilidades.DeserializarSinErrores(lent.LogXML, GetType(entidades))
+ ' ra.entidades = ent
+ ' ' lgDatosCliente.DataContext = ra.entidades
+ ' End If
+ ' Dim lobr = bd.logs.FirstOrDefault(Function(x) x.idRelacionado = log.idLog AndAlso x.Aplicacion = "OBRAS")
+ ' If lobr IsNot Nothing Then
+ ' Dim obr = tsUtilidades.Utilidades.DeserializarSinErrores(lobr.LogXML, GetType(destinomontajes))
+ ' ra.destinomontajes = obr
+ ' ' lgDatosObra.DataContext = ra.destinomontajes
+ ' End If
+ ' NuevoEstado = tsUtilidades.EstadosAplicacion.ModificandoRegistro
+ 'Catch EX As Exception
+ ' Throw New Exception("No ha sido posible mostrar el registro del cambio (id " & idLog.Value.ToString & ").", EX)
+ 'End Try
+ Else
+ If FuerzaNuevo OrElse _idAlbaran Is Nothing Then
+ ra = New albaranes
+ _idAlbaran = Nothing
+ ra.Fecha = DateOnly.FromDateTime(Today)
+ ra.NumeroBultos = 1
+ NuevoEstado = tsUtilidades.EstadosAplicacion.Nuevo
+ Else
+ ra = bd.albaranes.First(Function(x) x.idAlbaran = _idAlbaran)
+ NuevoEstado = tsUtilidades.EstadosAplicacion.ModificandoRegistro
+ End If
+ End If
+ If Me.cbTipo.ItemsSource Is Nothing Then
+ cbTipo.ItemsSource = tsUtilidades.DescripcionValor.EnumADescripcionValor(GetType(bdGrupoSanchoToro.db.albaranes.TipoAlbaranEnum))
+ cbAlmacenOrigen.ItemsSource = Comun.ObtieneListaAlmacenes(bd)
+ cbAlmacenDestino.ItemsSource = Comun.ObtieneListaAlmacenes(bd)
+ End If
+ Me.gcLogs.ItemsSource = bd.logs.Where(Function(x) x.id = ra.idAlbaran AndAlso x.Aplicacion = "albaranes").ToList
+ gcProductos.ItemsSource = ra.detallesalbaranes
+ Me.DataContext = ra
+ Return NuevoEstado
+ Catch ex As Exception
+ Throw New Exception(ex.Message, ex)
+ End Try
+ End Function
+
+
+ Public Overrides Function ObtieneBD() As tsUtilidades.ItsContexto
+ bd = tscGrupoSanchoToro.NuevoContexto
+ Return bd
+ End Function
+
+ Public Overrides ReadOnly Property NombreTablaBase As String
+ Get
+ Return "albaranes"
+ End Get
+ End Property
+
+ Private ReadOnly Property IAplicacion_CampoIndice As String
+ Get
+ Return "idAlbaran"
+ End Get
+ End Property
+ Public Overrides ReadOnly Property idRegistroAplicacionActual As String
+ Get
+ If idLog.HasValue Then
+ Return "Albarán R.C.:" & idLog.ToString
+ Else
+ If Me.Estado = tsUtilidades.EstadosAplicacion.Nuevo Then
+ Return "Albarán.Nuevo"
+ Else
+ Return "Albarán." & DirectCast(Me.DataContext, albaranes).idAlbaran.ToString
+ End If
+ End If
+ End Get
+ End Property
+
+ Public Overrides ReadOnly Property DescripcionRegistro As String
+ Get
+ Return "Albarán"
+ End Get
+ End Property
+
+ 'Public Overrides ReadOnly Property CampoIndice As String
+ ' Get
+ ' Return "idAlbaranEntrega"
+ ' End Get
+ 'End Property
+
+ Public Sub New(Optional idAlbaran As Integer? = Nothing)
+
+ ' Llamada necesaria para el diseñador.
+ InitializeComponent()
+ _idAlbaran = idAlbaran
+ ' Agregue cualquier inicialización después de la llamada a InitializeComponent().
+
+ End Sub
+
+
+ Public Overrides Sub EstableceTitulo()
+ If idLog.HasValue Then
+ Me.docpanel.Caption = "R.C. Albarán " & ra.idAlbaran
+ Me.docpanel.Tag = "R.C. Albarán." & ra.idAlbaran
+ Else
+ If Me.Estado = tsUtilidades.EstadosAplicacion.ModificandoRegistro Then
+ Me.docpanel.Caption = "Albarán " & ra.idAlbaran
+ Me.docpanel.Tag = "Albarán." & ra.idAlbaran.ToString
+ Else
+ Me.docpanel.Caption = "Albarán Nuevo"
+ Me.docpanel.Tag = "Albaran.Nuevo"
+ End If
+ End If
+ End Sub
+
+ Public Overrides Function obtienePermisos() As tsUtilidades.Permisos
+ Return Comun.ObtienePermisos(Me.bd, "AP.ADMINISTRATIVOS", bdGrupoSanchoToro.db.Utilidades.idUsuario)
+ End Function
+
+
+ Private Sub ap_ValidarControl(sender As Object, e As ValidationEventArgs, ByRef ev As ErrorValidacion, ByRef ValorOriginalCambiado As Object) Handles Me.ValidarControl
+
+ Dim pts As PropiedadesTS = sender.parent.propiedadests
+ Try
+ If Not pts Is Nothing Then
+ Me.ErroresValidacion.EliminaError("validando-" & pts.NombreCampo)
+
+ Select Case pts.NombreCampo.ToLower
+
+ Case "codigopostalcarga"
+ If Not e.Value Is Nothing AndAlso e.Value.ToString <> "" AndAlso e.Value.ToString <> ra.CodigoMunicipioCarga Then
+
+ Dim sCpo As String = e.Value.ToString
+ If sCpo.Length <> 5 Then Throw New Exception("El código postal no es correcto")
+ Dim sCodigoprovincia As String = sCpo.Substring(0, 2)
+ If Not bd.provincias.Any(Function(x) x.CodigoProvincia = sCodigoprovincia) Then If sCpo.Length <> 5 Then Throw New Exception("El código postal del Cliente no es correcto")
+ Select Case bd.codigospostales.Where(Function(x) x.CodigoPostal = sCpo).Count
+ Case 0
+ Dim vncp As New dxwAgregarNuevoCodigoPostal(sCpo, bd)
+ If vncp.ShowDialog Then
+ Dim pob = bd.codigospostales.First(Function(x) x.CodigoPostal = sCpo)
+ ra.CodigoMunicipioCarga = pob.CodigoMunicipio
+ Else
+ Throw New Exception("El código postal de la carga no es correcto")
+ End If
+ Case 1
+ Dim pob = bd.codigospostales.First(Function(x) x.CodigoPostal = sCpo)
+ ra.CodigoMunicipioCarga = pob.CodigoMunicipio
+ Case Else
+ Dim wMunicipios As New dxwCodigosPostales(bd, sCpo)
+ If wMunicipios.ShowDialog Then
+ ra.CodigoMunicipioCarga = wMunicipios.CodigoMunicipio
+ Else
+ Throw New Exception("El código postal de la carga no es correcto")
+ End If
+ End Select
+ ra.CodigoMunicipioCargaNavigation = bd.municipios.First(Function(x) x.CodigoMunicipio = ra.CodigoMunicipioCarga)
+ ' ra.CodigoPostalCarga = sCpo
+ ra.RefrescaCamposSoloLectura()
+ End If
+ Case "codigopostaldescarga"
+ If Not e.Value Is Nothing AndAlso e.Value.ToString <> "" AndAlso e.Value.ToString <> ra.CodigoMunicipioDescarga Then
+
+ Dim sCpo As String = e.Value.ToString
+ If sCpo.Length <> 5 Then Throw New Exception("El código postal no es correcto")
+ Dim sCodigoprovincia As String = sCpo.Substring(0, 2)
+ If Not bd.provincias.Any(Function(x) x.CodigoProvincia = sCodigoprovincia) Then If sCpo.Length <> 5 Then Throw New Exception("El código postal del Cliente no es correcto")
+ Select Case bd.codigospostales.Where(Function(x) x.CodigoPostal = sCpo).Count
+ Case 0
+ Dim vncp As New dxwAgregarNuevoCodigoPostal(sCpo, bd)
+ If vncp.ShowDialog Then
+ Dim pob = bd.codigospostales.First(Function(x) x.CodigoPostal = sCpo)
+ ra.CodigoMunicipioDescarga = pob.CodigoMunicipio
+ Else
+ Throw New Exception("El código postal de la descarga no es correcto")
+ End If
+ Case 1
+ Dim pob = bd.codigospostales.First(Function(x) x.CodigoPostal = sCpo)
+ ra.CodigoMunicipioDescarga = pob.CodigoMunicipio
+ Case Else
+ Dim wMunicipios As New dxwCodigosPostales(bd, sCpo)
+ If wMunicipios.ShowDialog Then
+ ra.CodigoMunicipioDescarga = wMunicipios.CodigoMunicipio
+ Else
+ Throw New Exception("El código postal de la descarga no es correcto")
+ End If
+ End Select
+ ra.CodigoMunicipioDescargaNavigation = bd.municipios.First(Function(x) x.CodigoMunicipio = ra.CodigoMunicipioCarga)
+ ' ra.CodigoPostalDescarga = sCpo
+ ra.RefrescaCamposSoloLectura()
+
+ End If
+ Case "emailcarga"
+ If e.Value IsNot Nothing AndAlso e.Value.ToString <> "" Then
+ If Not e.Value.ToString.Trim.ToLower.EsEmailValido Then Throw New Exception("El email es incorrecto")
+ End If
+ Case "emaildescarga"
+ If e.Value IsNot Nothing AndAlso e.Value.ToString <> "" Then
+ If Not e.Value.ToString.Trim.ToLower.EsEmailValido Then Throw New Exception("El email es incorrecto")
+ End If
+
+ End Select
+ End If
+ Catch ex As Exception
+ Dim sCodigoError As String = "validando-"
+ If pts IsNot Nothing Then
+ sCodigoError &= pts.NombreCampo
+ End If
+ ev = New ErrorValidacion(sCodigoError, sender, ex.Message, ex, DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical)
+ e.IsValid = False
+ End Try
+ End Sub
+ Private Sub BtAñadirCodigoPostalCarga_Click(sender As Object, e As RoutedEventArgs)
+ If ContenedorAplicacion.btGuardar.IsEnabled Then
+ Dim vncp As New dxwAgregarNuevoMunicipio("")
+ If vncp.ShowDialog Then
+ Dim pob = bd.codigospostales.AsNoTracking.First(Function(x) x.CodigoPostal = vncp._CodigoPostal)
+ ra.CodigoMunicipioCarga = pob.CodigoMunicipio
+ ra.CodigoPostalCarga = vncp._CodigoPostal
+ ra.CodigoMunicipioCargaNavigation = bd.municipios.AsNoTracking.First(Function(x) x.CodigoMunicipio = ra.CodigoMunicipioCarga)
+ ra.RefrescaCamposSoloLectura()
+ End If
+ End If
+ End Sub
+ Private Sub BtAñadirCodigoPostalDesCarga_Click(sender As Object, e As RoutedEventArgs)
+ If ContenedorAplicacion.btGuardar.IsEnabled Then
+ Dim vncp As New dxwAgregarNuevoMunicipio("")
+ If vncp.ShowDialog Then
+ Dim pob = bd.codigospostales.First(Function(x) x.CodigoPostal = vncp._CodigoPostal)
+ ra.CodigoMunicipioDescarga = pob.CodigoMunicipio
+ ra.CodigoPostalDescarga = vncp._CodigoPostal
+ ra.CodigoMunicipioDescargaNavigation = bd.municipios.AsNoTracking.First(Function(x) x.CodigoMunicipio = ra.CodigoMunicipioDescarga)
+ ra.RefrescaCamposSoloLectura()
+ End If
+ End If
+ End Sub
+ Private Sub BtCancelarCodigoPostalCarga_Click(sender As Object, e As RoutedEventArgs)
+ If ContenedorAplicacion.btGuardar.IsEnabled Then
+ ra.CodigoPostalCarga = ""
+ ra.CodigoMunicipioCarga = ""
+ ra.CodigoMunicipioCarga = Nothing
+ ra.RefrescaCamposSoloLectura()
+ End If
+ End Sub
+ Private Sub BtCancelarCodigoPostalDescarga_Click(sender As Object, e As RoutedEventArgs)
+ If ContenedorAplicacion.btGuardar.IsEnabled Then
+ ra.CodigoPostalDescarga = ""
+ ra.CodigoMunicipioDescarga = ""
+ ra.CodigoMunicipioDescargaNavigation = Nothing
+ ra.RefrescaCamposSoloLectura()
+ End If
+ End Sub
+
+ Private Sub ap_DespuesGuardar(sender As Object, e As ItemClickEventArgs, OpcionGuardado As Integer) Handles Me.DespuesGuardar
+ Dim ae As albaranes = Me.DataContext
+ _idAlbaran = DirectCast(Me.DataContext, albaranes).idAlbaran
+ Me.gcLogs.ItemsSource = bd.logs.Where(Function(x) x.id = ae.idAlbaran AndAlso x.Aplicacion = "albaranes").ToList
+ End Sub
+
+
+ Private Sub ap_Enlazar(Celda As EditGridCellData, Defecto As Boolean) Handles Me.Enlazar
+
+ Select Case Celda.Column.FieldName.ToLower
+ Case "idlog"
+ Dim log As logs = gcLogs.CurrentItem
+ Dim id As Integer = log.idLog
+ Dim uc As New ucAlbaran
+ uc.idLog = log.idLog
+ FuncionesDinamicas.AbrirAP(uc, OtrosParametros)
+ End Select
+ End Sub
+
+
+ Private Sub ap_EstadoCambiado(EstadoAnterior As tsUtilidades.EstadosAplicacion, EstadoNuevo As tsUtilidades.EstadosAplicacion) Handles Me.EstadoCambiado
+ If idLog.HasValue Then EstableceSoloLectura()
+ Select Case EstadoNuevo
+ Case tsUtilidades.EstadosAplicacion.ModificandoRegistro
+ If ra.Tipo = TipoAlbaranEnum.COMPRA Then
+ gcEsventa.ReadOnly = True
+ Else
+ gcEsventa.ReadOnly = False
+ End If
+ End Select
+ End Sub
+
+
+ Private Sub BiBuscarProducto_Click(sender As Object, e As RoutedEventArgs)
+
+
+ If tvProductos.ActiveEditor Is Nothing Then
+ Dispatcher.BeginInvoke(New Action(Sub() tvProductos.ShowEditor()), System.Windows.Threading.DispatcherPriority.Render)
+ End If
+ Dim dxw As New dxwProductos(lProductos)
+ If dxw.ShowDialog Then
+ Dim dea As detallesalbaranes = gcProductos.CurrentItem
+ Dim prod = lProductos.First(Function(x) x.idProducto = dxw.idProducto)
+ If tvProductos.ActiveEditor IsNot Nothing Then
+ tvProductos.ActiveEditor.EditValue = prod.idProducto
+ Else
+ Debug.Write("no")
+ End If
+ tvProductos.PostEditor()
+ tvProductos.CloseEditor()
+ gcProductos.RefreshRow(tvProductos.FocusedRowHandle)
+ End If
+ End Sub
+
+ Private Sub BiBuscarCliente_Click(sender As Object, e As RoutedEventArgs)
+ 'If Me.Estado = EstadosAplicacion.Nuevo Then
+ Dim dxw As New dxwEntidades(bd, True, False)
+ If dxw.ShowDialog Then
+ Dim ent = bd.entidades.First(Function(x) x.idEntidad = dxw.Entidad.idEntidad)
+ ra.idEntidadNavigation = ent
+ ra.idEntidad = ent.idEntidad
+ End If
+ ' End If
+ End Sub
+
+
+
+ Private Sub RellenaDatosProducto(dea As detallesalbaranes)
+ If dea IsNot Nothing AndAlso dea.idProducto <> 0 Then
+ Dim ae As albaranes = Me.DataContext
+ Dim pr = lProductos.First(Function(x) x.idProducto = dea.idProducto)
+ If dea.Cantidad = 0 Then dea.Cantidad = 1
+ dea.EsVenta = False
+ End If
+ End Sub
+
+
+
+ Private Sub tvProductos_PreviewKeyDown(sender As Object, e As KeyEventArgs) Handles tvProductos.PreviewKeyDown
+ If e.Key = Key.F6 Then
+ Select Case gcProductos.CurrentColumn.FieldName.ToLower
+ Case "idproducto"
+ BiBuscarProducto_Click(Nothing, Nothing)
+ End Select
+ End If
+ End Sub
+
+
+
+
+
+
+ Private Sub BeCodigoPostalCarga_DefaultButtonClick(sender As Object, e As RoutedEventArgs)
+
+ Dim dxw As New dxwCodigosPostales(bd, "")
+ If dxw.ShowDialog Then
+ ra.CodigoMunicipioCarga = dxw.CodigoMunicipio
+ ra.CodigoMunicipioCargaNavigation = bd.municipios.First(Function(x) x.CodigoMunicipio = ra.CodigoMunicipioCarga)
+ ra.CodigoPostalCarga = dxw.CodigoPostal
+ ra.RefrescaCamposSoloLectura()
+ End If
+ End Sub
+
+ Private Sub BeCodigoPostalDescarga_DefaultButtonClick(sender As Object, e As RoutedEventArgs)
+
+ Dim dxw As New dxwCodigosPostales(bd, "")
+ If dxw.ShowDialog Then
+ ra.CodigoMunicipioDescarga = dxw.CodigoMunicipio
+ ra.CodigoPostalDescarga = dxw.CodigoPostal
+ ra.CodigoMunicipioDescargaNavigation = bd.municipios.First(Function(x) x.CodigoMunicipio = ra.CodigoMunicipioDescarga)
+ ra.RefrescaCamposSoloLectura()
+ End If
+ End Sub
+
+
+
+ Private Sub uc_ImprimirPlantilla(sender As Object, e As ItemClickEventArgs, idPlantilla As Integer, Previsualizar As Boolean) Handles Me.ImprimirPlantilla
+
+ If Me.Estado = tsUtilidades.EstadosAplicacion.ModificandoRegistro Then
+ Dim bdtmp = tscGrupoSanchoToro.NuevoContexto
+ Dim ae = bdtmp.albaranes.First(Function(x) x.idAlbaran = ra.idAlbaran)
+ Imprimir(ra, idPlantilla, 1, False)
+ Else
+ DXMessageBox.Show("Antes debe almacenar", "Atención")
+ End If
+ End Sub
+
+ Private Sub Imprimir(ra As albaranes, idPlantilla As Integer, Copias As Integer, ImpresoraDefecto As Boolean)
+ Dim ds As List(Of albaranes)
+ ' Dim pl As plantillas = (From p In bd.plantillas Where p.idPlantilla = idPlantilla).First
+ Dim pl = bd.plantillas.AsNoTracking.Where(Function(x) x.idPlantilla = idPlantilla).Select(Function(x) New With {.Fichero = x.idFicheroNavigation.Fichero, .Tipo = x.idGrupoNavigation.Codigo}).FirstOrDefault
+ ds = New List(Of albaranes)
+ ds.Add(ra)
+ Select Case pl.Tipo
+ Case Else ' "GRUPLA.ALBENT"
+ tsWPFCore.tsXtraReport.ImprimirPlantilla(pl.Fichero, ImpresoraDefecto, Copias, ds)
+ End Select
+ End Sub
+
+ Private Sub tvProductos_ShowingEditor(sender As Object, e As ShowingEditorEventArgs) Handles tvProductos.ShowingEditor
+
+ 'If ra.detallesalbaranes.ToList.Any(Function(x) x.idAlbaranRecogida.HasValue OrElse (x.idUltimaFactura.HasValue AndAlso (x.facturas.Fecha > ra.Fecha.Date))) Then
+ ' If e.RowHandle <> DataControlBase.NewItemRowHandle Then
+ ' Dim da As detallesalbaranes = gcProductos.GetRow(e.RowHandle)
+ ' If e.Column.FieldName.ToLower <> "observaciones" AndAlso e.Column.FieldName.ToLower <> "fechacancelacion" AndAlso e.Column.FieldName.ToLower <> "motivocancelacion" AndAlso e.Column.FieldName.ToLower <> "precio" AndAlso e.Column.FieldName.ToLower <> "cantidad" Then
+ ' If da.idAlbaranRecogida.HasValue OrElse da.idUltimaFactura.HasValue Then
+ ' e.Cancel = True
+ ' e.Handled = True
+ ' End If
+ ' End If
+ ' End If
+ 'End If
+ End Sub
+
+ Private Sub beCodigoPostalCarga_PreviewKeyDown(sender As Object, e As KeyEventArgs) Handles beCodigoPostalCarga.PreviewKeyDown
+ If e.Key = Key.F6 Then
+ BeCodigoPostalCarga_DefaultButtonClick(Nothing, Nothing)
+ End If
+
+ End Sub
+
+ Private Sub beCodigoPostalDescarga_PreviewKeyDown(sender As Object, e As KeyEventArgs) Handles beCodigoPostalDescarga.PreviewKeyDown
+ If e.Key = Key.F6 Then
+ BeCodigoPostalDescarga_DefaultButtonClick(Nothing, Nothing)
+ End If
+ End Sub
+
+ Private Sub tvProductos_ValidateRow(sender As Object, e As GridRowValidationEventArgs) Handles tvProductos.ValidateRow
+ 'Dim da As detallesalbaranes = e.Row
+ 'Dim Errores As String = ""
+ 'If da.Cantidad <> 1 AndAlso da.idArticulo.HasValue Then
+ ' Errores &= "Si es un artículo en concreto la cantidad tiene que ser 1" & vbCrLf
+ 'End If
+ 'If Errores <> "" Then
+ ' DXMessageBox.Show(Errores, "Error")
+ ' e.SetError(Errores)
+ ' e.IsValid = False
+ 'End If
+
+ Try
+ Dim htErrores = New Hashtable
+ ErroresValidacion.LimpiarErrores("TSGC-" & gcProductos.PropiedadesTS.NumeroObjeto.ToString & ":" & e.RowHandle.ToString & ":")
+ Dim da As detallesalbaranes = e.Row
+
+ If da.Cantidad <> 1 AndAlso da.idArticulo.HasValue Then
+ htErrores.Add("Cantidad1", "Si es un artículo en concreto la cantidad tiene que ser 1")
+ End If
+ If htErrores.Count > 0 Then
+ Me.AgregaErroresTSGC(gcProductos, htErrores, e)
+ End If
+ Catch ex As Exception
+ FuncionesDinamicas.ErrorNoControladoAp(Me, ex)
+ DXMessageBox.Show(ex.Message, "Error")
+ End Try
+
+ End Sub
+
+ Private Sub tvProductos_InitNewRow(sender As Object, e As InitNewRowEventArgs) Handles tvProductos.InitNewRow
+ gcProductos.SetCellValue(e.RowHandle, "Cantidad", 1)
+ End Sub
+
+ Private Sub ucAlbaranEntrega_EjecutarAccion(sender As Object, e As ItemClickEventArgs, idAccion As Integer) Handles Me.EjecutarAccion
+ 'Select Case idAccion
+ ' Case 1 ' GENERA ALBARÁN DE RECOGIDA Y FACTURA RAPIDA
+ ' Try
+ ' If Not Guardar(Nothing, Nothing,,, 3) Then
+ ' Dim ae As albaranes = Me.DataContext
+ ' ' If ae.detallesalbaranes.Any(Function(x) x.idAlbaranRecogida.HasValue) Then
+ ' ' DXMessageBox.Show("Sólo se puede generar una factura rápida si no se ha recogido ningún producto del albarán", "Atención")
+ ' ' Else
+ ' Dim ar As albaranesrecogida = New albaranesrecogida
+ ' With ar
+ ' .Fecha = Now
+ ' .idCliente = ae.idCliente
+ ' .idUsuario = idUsuario
+ ' .EstableceNumeroAlbaran(bd)
+ ' End With
+ ' bd.albaranesrecogida.Add(ar)
+ ' For Each d In ae.detallesalbaranes.Where(Function(x) x.EsVenta = False AndAlso x.idAlbaranRecogida.HasValue = False)
+ ' d.albaranesrecogida = ar
+ ' Next
+ ' bd.GuardarCambios()
+ ' Dim id As Integer = ae.idAlbaranEntrega
+ ' Dim uc As New ucFacturaEmitida(,, id)
+ ' FuncionesDinamicas.AbrirAP(uc, OtrosParametros)
+ ' tsWPFCore.Comun.dm.DockController.RemovePanel(docpanel)
+ ' End If
+ ' Catch ex As Exception
+ ' FuncionesDinamicas.ErrorNoControladoAp(Me, ex)
+ ' DXMessageBox.Show(ex.Message, "Error")
+ ' End Try
+ ' Case 2 ' ENVIA ALBARÁN DE ENTREGA POR EMAIL
+
+ ' Dim bCancelar As Boolean = False
+ ' If Me.ContenedorAplicacion.btGuardar.IsEnabled Then
+ ' bCancelar = Me.Guardar(Nothing, Nothing,, True, 5)
+ ' End If
+ ' If Not bCancelar Then
+ ' Dim dxnc = New dxwEnvioCorreo(ra.entidades.Email, ra.entidades.Email2, "", "Producciones Romian, S.L. - Adjunto le remitimos albarán de entrega nº " & ra.NumeroAlbaran, "Distinguidos Sres., " & vbCrLf & "Adjunto le remitimos albarán entrega nº " & ra.NumeroAlbaran, "AlbaranEntrega_" & ra.NumeroAlbaran.Replace("/", "-") & ".pdf")
+ ' If dxnc.ShowDialog Then
+ ' Dim cta = bd.cuentascorreo.First(Function(x) x.Codigo = "DEFECTO")
+ ' Dim bAlbaran = GeneraPdfAlbaran(bd, ra)
+ ' bdGrupoSanchoToro.db.correos.GeneraRegistroCorreon(bd, dxnc._Asunto, dxnc._Cuerpo, cta, dxnc._Destinatarios, dxnc._CC, dxnc._BCC, bAlbaran, dxnc._Adjunto, ra.idAlbaranEntrega, "albaranes", ra.idCliente)
+ ' End If
+ ' End If
+ 'Case 3 ' GENERA ALBARÁN DE RECOGIDA RÁPIDO
+ ' Try
+ ' If Not Guardar(Nothing, Nothing,,, 3) Then
+ ' Dim ae As albaranes = Me.DataContext
+ ' Dim uc As New ucAlbaranRecogida(, ae.idAlbaranEntrega)
+ ' FuncionesDinamicas.AbrirAP(uc, OtrosParametros)
+ ' tsWPFCore.Comun.dm.DockController.RemovePanel(docpanel)
+ ' End If
+ ' Catch ex As Exception
+ ' FuncionesDinamicas.ErrorNoControladoAp(Me, ex)
+ ' DXMessageBox.Show(ex.Message, "Error")
+ ' End Try
+
+ ' End Select
+ End Sub
+
+ Friend Shared Function GeneraPdfAlbaran(bd As tscGrupoSanchoToro, Albaran As albaranes) As Byte()
+ Dim albes As New List(Of albaranes)
+ albes.Add(Albaran)
+ Dim idplae = bd.plantillas.First(Function(x) x.Codigo = "ALBENTV").idPlantilla
+ If Albaran.entidades.TipoImpresionAlbaranEntrega = db.albaranes.TipoImpresionAlbaranEntregaEnum.IMPRIMIR_CONTRATO Then idplae = bd.plantillas.First(Function(x) x.Codigo = "CONTAE").idPlantilla
+ Dim bAes = Informes.GuardaInformeEnPdf(bd, idplae, albes)
+ Return bAes
+ End Function
+
+
+
+ Private Sub ucAlbaranEntrega_TeclaFuncionPulsada(sender As Object, e As KeyEventArgs) Handles Me.TeclaFuncionPulsada
+ Select Case e.Key
+ Case Key.F12
+ ValidaControlObjetoActual()
+ ucAlbaranEntrega_EjecutarAccion(Nothing, Nothing, 2)
+ Case Key.F11
+ ValidaControlObjetoActual()
+ ucAlbaranEntrega_EjecutarAccion(Nothing, Nothing, 3)
+
+ Case Key.System
+ Select Case e.SystemKey
+ Case Key.F10
+ ValidaControlObjetoActual()
+ ucAlbaranEntrega_EjecutarAccion(Nothing, Nothing, 1)
+ e.Handled = True
+ End Select
+
+ End Select
+ End Sub
+
+ Private Sub gcProductos_AntesEliminar(gc As tsGridControl, ByRef Cancelar As Boolean) Handles gcProductos.AntesEliminar
+
+ End Sub
+
+
+
+ Private Sub ucAlbaranEntrega_CampoActualizado(sender As Object, e As DataTransferEventArgs) Handles Me.CampoActualizado
+ Dim pts As PropiedadesTS = sender.parent.propiedadests
+ If Not pts Is Nothing Then
+
+ Select Case pts.NombreCampo.ToLower
+ Case "tipo"
+ gcEsventa.ReadOnly = False
+ Select Case DirectCast(ra.Tipo, bdGrupoSanchoToro.db.albaranes.TipoAlbaranEnum)
+ Case bdGrupoSanchoToro.db.albaranes.TipoAlbaranEnum.COMPRA
+ For Each d In ra.detallesalbaranes.Where(Function(x) x.EsVenta)
+ d.EsVenta = False
+ Next
+ gcEsventa.ReadOnly = True
+ ra.idAlmacenOrigen = Nothing
+ EstableceSoloLectura(cbAlmacenOrigen, True)
+ EstableceSoloLectura(cbAlmacenDestino, False)
+ Case bdGrupoSanchoToro.db.albaranes.TipoAlbaranEnum.CAMBIO_ALMACEN
+ EstableceSoloLectura(cbAlmacenOrigen, False)
+ EstableceSoloLectura(cbAlmacenDestino, False)
+ Case bdGrupoSanchoToro.db.albaranes.TipoAlbaranEnum.SUBALQUILER
+ ra.idAlmacenOrigen = Nothing
+ EstableceSoloLectura(cbAlmacenOrigen, True)
+ EstableceSoloLectura(cbAlmacenDestino, False)
+ Case bdGrupoSanchoToro.db.albaranes.TipoAlbaranEnum.DEVOLUCION_SUBALQUILER
+ EstableceSoloLectura(cbAlmacenOrigen, False)
+ ra.idAlmacenDestino = Nothing
+ EstableceSoloLectura(cbAlmacenDestino, True)
+ Case bdGrupoSanchoToro.db.albaranes.TipoAlbaranEnum.ENTREGA
+ EstableceSoloLectura(cbAlmacenOrigen, False)
+ ra.idAlmacenDestino = Nothing
+ EstableceSoloLectura(cbAlmacenDestino, True)
+ Case bdGrupoSanchoToro.db.albaranes.TipoAlbaranEnum.RECOGIDA
+ ra.idAlmacenOrigen = Nothing
+ EstableceSoloLectura(cbAlmacenOrigen, True)
+ EstableceSoloLectura(cbAlmacenDestino, False)
+ Case bdGrupoSanchoToro.db.albaranes.TipoAlbaranEnum.STOCK_INICIAL_O_FABRICACION
+ ra.idAlmacenOrigen = Nothing
+ EstableceSoloLectura(cbAlmacenOrigen, True)
+ EstableceSoloLectura(cbAlmacenDestino, False)
+ End Select
+ End Select
+ End If
+ End Sub
+
+
+ Private Sub hlVale_Click(sender As Object, e As RoutedEventArgs)
+ 'Dim uc As New ucPresupuesto(ra.idPresupuesto)
+ 'FuncionesDinamicas.AbrirAP(uc, OtrosParametros)
+ End Sub
+
+ 'Private Sub hlPresupuesto_Click(sender As Object, e As RoutedEventArgs)
+ ' If ra.idPresupuesto.HasValue Then
+ ' Dim uc As New ucPresupuesto(ra.idPresupuesto)
+ ' FuncionesDinamicas.AbrirAP(uc, OtrosParametros)
+ ' End If
+ 'End Sub
+
+ Private Sub beContrato_DefaultButtonClick(sender As Object, e As RoutedEventArgs)
+ 'Dim dxw As New dxwAsignarContrato(bd, ra.idEntidad)
+ 'If dxw.ShowDialog Then
+ ' Dim ctr = bd.presupuestos.First(Function(x) x.idPresupuesto = dxw.idPresupuesto)
+ ' ra.idPresupuestoNavigation = ctr
+ ' If ra.idEntidad.HasValue = False Then
+ ' ra.idEntidadNavigation = ctr.idClienteNavigation
+ ' ra.idEntidad = ctr.idCliente
+ ' End If
+
+ 'End If
+ End Sub
+
+ Private Sub ucAlbaran_AntesGuardar(sender As Object, e As ItemClickEventArgs, ByRef Cancelar As Boolean, ByRef MensajesError As Hashtable, EliminacionManual As Integer) Handles Me.AntesGuardar
+ Dim hte As New Hashtable
+ Select Case DirectCast(ra.Tipo, bdGrupoSanchoToro.db.albaranes.TipoAlbaranEnum)
+ Case bdGrupoSanchoToro.db.albaranes.TipoAlbaranEnum.COMPRA
+ For Each d In ra.detallesalbaranes.Where(Function(x) x.EsVenta)
+ d.EsVenta = False
+ Next
+ If ra.idAlmacenDestino.HasValue = False Then hte.Add("ALMACENAR-ALMACEN_DESTINO_OBLIGATORIO", "El almacén destino es obligatorio")
+ Case bdGrupoSanchoToro.db.albaranes.TipoAlbaranEnum.CAMBIO_ALMACEN
+ If ra.idAlmacenOrigen.HasValue = False Then hte.Add("ALMACENAR-ALMACEN_ORIGEN_OBLIGATORIO", "El almacén origen es obligatorio")
+ If ra.idAlmacenDestino.HasValue = False Then hte.Add("ALMACENAR-ALMACEN_DESTINO_OBLIGATORIO", "El almacén destino es obligatorio")
+ Case bdGrupoSanchoToro.db.albaranes.TipoAlbaranEnum.SUBALQUILER
+ If ra.idAlmacenDestino.HasValue = False Then hte.Add("ALMACENAR-ALMACEN_DESTINO_OBLIGATORIO", "El almacén destino es obligatorio")
+ Case bdGrupoSanchoToro.db.albaranes.TipoAlbaranEnum.DEVOLUCION_SUBALQUILER
+ If ra.idAlmacenOrigen.HasValue = False Then hte.Add("ALMACENAR-ALMACEN_ORIGEN_OBLIGATORIO", "El almacén origen es obligatorio")
+ Case bdGrupoSanchoToro.db.albaranes.TipoAlbaranEnum.ENTREGA
+ If ra.idAlmacenOrigen.HasValue = False Then hte.Add("ALMACENAR-ALMACEN_ORIGEN_OBLIGATORIO", "El almacén origen es obligatorio")
+ Case bdGrupoSanchoToro.db.albaranes.TipoAlbaranEnum.RECOGIDA
+ If ra.idAlmacenDestino.HasValue = False Then hte.Add("ALMACENAR-ALMACEN_DESTINO_OBLIGATORIO", "El almacén destino es obligatorio")
+ Case bdGrupoSanchoToro.db.albaranes.TipoAlbaranEnum.STOCK_INICIAL_O_FABRICACION
+ If ra.idAlmacenDestino.HasValue = False Then hte.Add("ALMACENAR-ALMACEN_DESTINO_OBLIGATORIO", "El almacén destino es obligatorio")
+ End Select
+ If hte.Count > 0 Then
+ MensajesError = hte
+ Cancelar = True
+ Else
+ ra.idUsuario = bdGrupoSanchoToro.db.Utilidades.idUsuario
+ Dim bdtmp = tscGrupoSanchoToro.NuevoContexto
+
+ Select Case Estado
+ Case tsUtilidades.EstadosAplicacion.Nuevo
+ For Each d In ra.detallesalbaranes
+ d.idAlbaranNavigation = ra
+ d.ActualizaProducto(bdtmp, 1)
+ Next
+ Case tsUtilidades.EstadosAplicacion.ModificandoRegistro
+ Dim das = bdtmp.detallesalbaranes.Where(Function(x) x.idAlbaran = ra.idAlbaran).ToList
+ For Each d In das
+ d.ActualizaProducto(bdtmp, -1)
+ Next
+ For Each d In ra.detallesalbaranes
+ d.ActualizaProducto(bdtmp, 1)
+ Next
+ End Select
+ End If
+ End Sub
+
+ Private Sub ucAlbaran_AntesEliminar(sender As Object, e As ItemClickEventArgs, ByRef Cancelar As Boolean, ByRef MensajesError As Hashtable, ByRef OmitirPreguntaContinuar As Boolean) Handles Me.AntesEliminar
+ Dim bdtmp = tscGrupoSanchoToro.NuevoContexto
+ Dim das = bdtmp.detallesalbaranes.Where(Function(x) x.idAlbaran = ra.idAlbaran).ToList
+ For Each d In das
+ d.ActualizaProducto(bdtmp, -1)
+ Next
+ End Sub
+
+ Private Sub btIrAContrato_Click(sender As Object, e As RoutedEventArgs)
+ If ra.idPresupuesto.HasValue Then
+ 'Dim uc As New ucPresupuesto(ra.idPresupuesto)
+ 'FuncionesDinamicas.AbrirAP(uc, OtrosParametros)
+ End If
+ End Sub
+
+ Private Sub btQuitarContrato_Click(sender As Object, e As RoutedEventArgs)
+ ra.idPresupuesto = Nothing
+ ra.idPresupuestoNavigation = Nothing
+ End Sub
+
+
+End Class
diff --git a/GestionGrupoSanchoToro/Almacen/ucAlbaranes.xaml b/GestionGrupoSanchoToro/Almacen/ucAlbaranes.xaml
new file mode 100644
index 0000000..bf8c20e
--- /dev/null
+++ b/GestionGrupoSanchoToro/Almacen/ucAlbaranes.xaml
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/GestionGrupoSanchoToro/Almacen/ucAlbaranes.xaml.vb b/GestionGrupoSanchoToro/Almacen/ucAlbaranes.xaml.vb
new file mode 100644
index 0000000..d0df516
--- /dev/null
+++ b/GestionGrupoSanchoToro/Almacen/ucAlbaranes.xaml.vb
@@ -0,0 +1,208 @@
+
+Imports bdGrupoSanchoToro.db
+Imports DevExpress.Xpf.Core
+Imports tsWPFCore
+Imports System.Collections
+Imports DevExpress.Xpf.Bars
+Imports System.Threading.Tasks
+Imports System.Linq.Dynamic
+Imports bdGrupoSanchoToro.db.Utilidades
+Imports bdGrupoSanchoToro.tscGrupoSanchoToro
+Imports tsUtilidades
+'Imports tsUtilidades.Extensiones
+
+Public Class ucAlbaranes
+
+ Private bd As tscGrupoSanchoToro
+ Private _CamposBusquedaNumericos() As String = {"idAlbaran"}
+ Private _CamposBusquedaAlfabeticos() As String = {"RazonSocial", "NIF"}
+
+
+
+
+ Public Sub New()
+
+ ' Esta llamada es exigida por el diseñador.
+ InitializeComponent()
+ ' Me.BusquedaRapida.Visibility = Visibility.Collapsed
+ ' Agregue cualquier inicialización después de la llamada a InitializeComponent().
+
+ End Sub
+
+
+
+ Public Overrides Sub Cargado()
+ ContenedorAplicacion.btGuardar.IsVisible = False
+ ContenedorAplicacion.siEstado.IsVisible = False
+ GridBusqueda = Me.gc
+ 'Dim Hoy = Date.Today
+ 'teFechaFin.EditValue = Hoy
+ 'teFechaInicio.EditValue = New Date(Hoy.Year, 1, 1)
+ End Sub
+
+
+ Public Overrides Function EstablecedcPrincipal(Optional Background As Boolean = False, Optional FuerzaNuevo As Boolean = False, Optional Refrescar As Boolean = False) As tsUtilidades.EstadosAplicacion
+ Try
+ If cbTipos.ItemsSource Is Nothing Then
+ Dim tipos = tsUtilidades.DescripcionValor.EnumADescripcionValor(GetType(bdGrupoSanchoToro.db.albaranes.TipoAlbaranEnum))
+ cbTipos.ItemsSource = tipos
+ cbTipos.EditValue = tipos.Cast(Of DescripcionValor).Select(Function(x) x.Valor).ToList
+ End If
+ If Background OrElse Refrescar Then ObtieneAlbaranesAsync(bd, Background)
+ Return tsUtilidades.EstadosAplicacion.AplicacionSinIndice
+ Catch ex As Exception
+ Throw New Exception(ex.Message, ex)
+ End Try
+ End Function
+
+ Public Overrides Sub EstableceDataContextSecundarios(Optional Background As Boolean = False)
+
+ End Sub
+
+ Public Overrides Sub EstableceTitulo()
+ Me.docpanel.Caption = "Albaranes"
+ End Sub
+
+ Public Overrides ReadOnly Property idRegistroAplicacionActual As String
+ Get
+ Return "Albaranes"
+ End Get
+ End Property
+
+ Public Overrides ReadOnly Property NombreTablaBase As String
+ Get
+ Return "albaranes"
+ End Get
+ End Property
+
+ Public Overrides ReadOnly Property DescripcionRegistro As String
+ Get
+ Return "Albaranes"
+ End Get
+ End Property
+
+ Public Overrides Function ObtieneBD() As tsUtilidades.ItsContexto
+ bd = tscGrupoSanchoToro.NuevoContexto()
+ Return bd
+ End Function
+
+
+ Public Overrides Function ObtienePermisos() As tsUtilidades.Permisos
+ Return Comun.ObtienePermisos(Me.bd, "AP.ADMINISTRATIVOS", idUsuario)
+ End Function
+
+ Private Sub Nuevo() Handles Me.BotonNuevoPulsado
+ FuncionesDinamicas.AbrirAP(New ucAlbaran, OtrosParametros)
+ End Sub
+
+ Private Sub ap_Enlazar(Celda As DevExpress.Xpf.Grid.EditGridCellData, Defecto As Boolean) Handles Me.Enlazar
+ Dim ra = DirectCast(Me.gc.CurrentItem, v_albaranesextendidos)
+ If Defecto Then
+ Dim id As Integer = ra.idAlbaran
+ FuncionesDinamicas.AbrirAP(New ucAlbaran(id), OtrosParametros)
+ Else
+ Select Case Celda.Column.FieldName.ToLower
+ Case "numeroalbaran"
+ Dim id As Integer = ra.idAlbaran
+ FuncionesDinamicas.AbrirAP(New ucAlbaran(id), OtrosParametros)
+ Case "razonsocial"
+ Dim id As Integer = ra.idEntidad
+ FuncionesDinamicas.AbrirAP(New ucEntidad(id), OtrosParametros)
+
+ End Select
+ End If
+ End Sub
+
+ Public Function ObtieneAlbaranes(TextoBusqueda As String, FechaInicio As DateOnly?, FechaFin As DateOnly?, Tipos As List(Of Integer)) As List(Of v_albaranesextendidos)
+ Dim rs As IQueryable(Of v_albaranesextendidos)
+ Dim la As New List(Of v_albaranesextendidos)
+ Dim iNumExc As Integer = 0
+ Do
+ Try
+ If TextoBusqueda <> "" Then
+ Dim parametros(0) As Object
+ Dim ExpresionBusqueda = tsWPFCore.Utilidades.Varias.GeneraExpresionBusqueda(TextoBusqueda, Me._CamposBusquedaNumericos, Me._CamposBusquedaAlfabeticos, Nothing)
+ rs = bd.v_albaranesextendidos.Where(ExpresionBusqueda)
+ Else
+ rs = bd.v_albaranesextendidos.AsQueryable
+ End If
+
+ If FechaInicio.HasValue Then
+ rs = rs.Where(Function(x) x.Fecha >= FechaInicio.Value)
+ End If
+ If FechaFin.HasValue Then
+ FechaFin = FechaFin.Value.AddDays(1)
+ rs = rs.Where(Function(x) x.Fecha < FechaFin.Value)
+ End If
+ la = rs.Where(Function(x) Tipos.Contains(x.Tipo)).OrderByDescending(Function(x) x.Fecha).ToList
+ Exit Do
+ Catch ex As Exception
+ iNumExc += 1
+ If iNumExc > 3 Then
+ FuncionesDinamicas.ErrorNoControladoAp(Me, ex)
+
+ rs = Nothing
+ Exit Do
+ End If
+ End Try
+ Loop
+ Return la
+ End Function
+
+ Public Async Sub ObtieneAlbaranesAsync(bd As tscGrupoSanchoToro, Background As Boolean)
+ Try
+ Dim rs As New List(Of v_albaranesextendidos)
+ Dim Busqueda = tsEFCore8.Extensiones.ObjetoNothingAVacio(Me.teBusqueda.EditValue)
+ Dim fi As DateOnly? : If teFechaInicio.EditValue IsNot Nothing Then fi = DateOnly.FromDateTime(teFechaInicio.EditValue)
+ Dim ff As DateOnly? : If teFechaFin.EditValue IsNot Nothing Then ff = DateOnly.FromDateTime(teFechaFin.EditValue)
+ Dim Tipos = cbTipos.SelectedItems.Cast(Of DescripcionValor).Select(Function(x) x.Valor).ToList
+ If Background Then
+ Me.ContenedorAplicacion.IsEnabled = False
+ Await Task.Run(Sub()
+ rs = ObtieneAlbaranes(Busqueda, fi, ff, Tipos)
+ End Sub)
+ Else
+ If DXSplashScreen.IsActive = False Then DXSplashScreen.Show(Of tsWPFCore.SplashScreenTecnosis)()
+ DXSplashScreen.SetState("Buscando Albaranes de Entrega ...")
+ rs = ObtieneAlbaranes(Busqueda, fi, ff, Tipos)
+ End If
+
+ gc.ItemsSource = rs
+ DataContext = rs
+ Catch ex As Exception
+ If DXSplashScreen.IsActive Then DXSplashScreen.Close()
+ DXMessageBox.Show(ex.Message, "Error")
+ Finally
+ Me.ContenedorAplicacion.IsEnabled = True
+ If DXSplashScreen.IsActive Then DXSplashScreen.Close()
+ End Try
+ End Sub
+ Private Sub BtBuscar_Click(sender As Object, e As RoutedEventArgs)
+ ObtieneAlbaranesAsync(bd, False)
+ End Sub
+
+ Private Sub ucAlbaranes_Loaded(sender As Object, e As RoutedEventArgs) Handles Me.Loaded
+ teBusqueda.SelectAll()
+ End Sub
+
+ Private Sub cbIncluirTodos_Checked(sender As Object, e As RoutedEventArgs)
+ Dim Hoy = Date.Today
+ If teFechaFin.EditValue Is Nothing Then teFechaFin.EditValue = Hoy
+ If teFechaInicio.EditValue Is Nothing Then teFechaInicio.EditValue = New Date(Hoy.Year, 1, 1)
+ End Sub
+
+
+
+ 'Private Sub ap_ImprimirPlantilla(sender As Object, e As ItemClickEventArgs, idPlantilla As Integer) Handles ImprimirPlantilla
+ ' Dim ds As List(Of Albaranes)
+ ' Dim pl As plantillas = (From p In bd.plantillas Where p.idPlantilla = idPlantilla).First
+ ' Dim sTipo As String = pl.enumeraciones.Codigo
+ ' Dim al As Albaranes = Me.DataContext
+ ' ds = New List(Of Albaranes)
+ ' ds.Add(al)
+ ' Select Case sTipo
+ ' Case "GRUPLA.AV-ALBARANES"
+ ' Informes.ImprimirPlantilla(bd, idPlantilla, ds, False)
+ ' End Select
+ 'End Sub
+End Class
diff --git a/GestionGrupoSanchoToro/FicherosMaestros/ucAlmacen.xaml b/GestionGrupoSanchoToro/Almacen/ucAlmacen.xaml
similarity index 100%
rename from GestionGrupoSanchoToro/FicherosMaestros/ucAlmacen.xaml
rename to GestionGrupoSanchoToro/Almacen/ucAlmacen.xaml
diff --git a/GestionGrupoSanchoToro/FicherosMaestros/ucAlmacen.xaml.vb b/GestionGrupoSanchoToro/Almacen/ucAlmacen.xaml.vb
similarity index 100%
rename from GestionGrupoSanchoToro/FicherosMaestros/ucAlmacen.xaml.vb
rename to GestionGrupoSanchoToro/Almacen/ucAlmacen.xaml.vb
diff --git a/GestionGrupoSanchoToro/FicherosMaestros/ucAlmacenes.xaml b/GestionGrupoSanchoToro/Almacen/ucAlmacenes.xaml
similarity index 100%
rename from GestionGrupoSanchoToro/FicherosMaestros/ucAlmacenes.xaml
rename to GestionGrupoSanchoToro/Almacen/ucAlmacenes.xaml
diff --git a/GestionGrupoSanchoToro/FicherosMaestros/ucAlmacenes.xaml.vb b/GestionGrupoSanchoToro/Almacen/ucAlmacenes.xaml.vb
similarity index 100%
rename from GestionGrupoSanchoToro/FicherosMaestros/ucAlmacenes.xaml.vb
rename to GestionGrupoSanchoToro/Almacen/ucAlmacenes.xaml.vb
diff --git a/GestionGrupoSanchoToro/Compras/ucFacturaRecibida.xaml.vb b/GestionGrupoSanchoToro/Compras/ucFacturaRecibida.xaml.vb
index 0e559cb..1a9aa45 100644
--- a/GestionGrupoSanchoToro/Compras/ucFacturaRecibida.xaml.vb
+++ b/GestionGrupoSanchoToro/Compras/ucFacturaRecibida.xaml.vb
@@ -414,7 +414,7 @@ Public Class ucFacturaRecibida
- Private Sub ap_ImprimirPlantilla(sender As Object, e As ItemClickEventArgs, idPlantilla As Integer) Handles Me.ImprimirPlantilla
+ Private Sub ap_ImprimirPlantilla(sender As Object, e As ItemClickEventArgs, idPlantilla As Integer, Previsualizar As Boolean) Handles Me.ImprimirPlantilla
Imprimir(idPlantilla, False, 1)
End Sub
Private Sub Imprimir(idPlantilla As Integer, ImpresoraDefecto As Boolean, Copias As Integer)
diff --git a/GestionGrupoSanchoToro/FicherosMaestros/ucProducto.xaml.vb b/GestionGrupoSanchoToro/FicherosMaestros/ucProducto.xaml.vb
index 7010400..33b83d8 100644
--- a/GestionGrupoSanchoToro/FicherosMaestros/ucProducto.xaml.vb
+++ b/GestionGrupoSanchoToro/FicherosMaestros/ucProducto.xaml.vb
@@ -39,12 +39,12 @@ Public Class ucProducto
Else
If Estado = tsUtilidades.EstadosAplicacion.Nuevo OrElse _idproducto Is Nothing OrElse FuerzaNuevo Then
ra = New productos
- ra.TotalUnidades = 0
- ra.UnidadesVendidas = 0
- ra.UnidadesAlquiladas = 0
- ra.UnidadesAveriadas = 0
- ra.UnidadesDesechadas = 0
- ra.FacturarComoVentaPorDefecto = False
+ 'ra.TotalUnidades = 0
+ 'ra.UnidadesVendidas = 0
+ 'ra.UnidadesAlquiladas = 0
+ 'ra.UnidadesAveriadas = 0
+ 'ra.UnidadesDesechadas = 0
+ 'ra.FacturarComoVentaPorDefecto = False
Me.DataContext = ra
_idproducto = Nothing
NuevoEstado = tsUtilidades.EstadosAplicacion.Nuevo
@@ -56,7 +56,7 @@ Public Class ucProducto
' Me.gcLogs.ItemsSource = bd.logs.Where(Function(x) x.id = ra.idProducto AndAlso x.Aplicacion = "PRODUCTOS").ToList
'Me.gcServicios.ItemsSource = ra.DesgloseServicios
- If ra.Tipo = TipoProductoEnum.PRODUCTO Then
+ If ra.Servicio Then
Me.gcStocksAlmacenes.ItemsSource = ObtieneISAlmacenes()
Else
Me.gcStocksAlmacenes.ItemsSource = Nothing
diff --git a/GestionGrupoSanchoToro/GestionGrupoSanchoToro.vbproj b/GestionGrupoSanchoToro/GestionGrupoSanchoToro.vbproj
index 1e0947c..96b4f8e 100644
--- a/GestionGrupoSanchoToro/GestionGrupoSanchoToro.vbproj
+++ b/GestionGrupoSanchoToro/GestionGrupoSanchoToro.vbproj
@@ -67,7 +67,7 @@
-
+
diff --git a/GestionGrupoSanchoToro/Ventas/ucFacturaEmitida.xaml.vb b/GestionGrupoSanchoToro/Ventas/ucFacturaEmitida.xaml.vb
index 3cade7a..510279d 100644
--- a/GestionGrupoSanchoToro/Ventas/ucFacturaEmitida.xaml.vb
+++ b/GestionGrupoSanchoToro/Ventas/ucFacturaEmitida.xaml.vb
@@ -506,7 +506,7 @@ Public Class ucFacturaEmitida
- Private Sub ap_ImprimirPlantilla(sender As Object, e As ItemClickEventArgs, idPlantilla As Integer) Handles Me.ImprimirPlantilla
+ Private Sub ap_ImprimirPlantilla(sender As Object, e As ItemClickEventArgs, idPlantilla As Integer, Previsualizar As Boolean) Handles Me.ImprimirPlantilla
Imprimir(idPlantilla, False, 1)
End Sub
Private Sub Imprimir(idPlantilla As Integer, ImpresoraDefecto As Boolean, Copias As Integer)
diff --git a/GestionGrupoSanchoToro/ucConciliacionBancaria.xaml.vb b/GestionGrupoSanchoToro/ucConciliacionBancaria.xaml.vb
index 597ce3d..8bbca29 100644
--- a/GestionGrupoSanchoToro/ucConciliacionBancaria.xaml.vb
+++ b/GestionGrupoSanchoToro/ucConciliacionBancaria.xaml.vb
@@ -375,7 +375,7 @@ Public Class ucConciliacionBancaria
End If
End Sub
- Private Sub ucConciliacionBancaria_ImprimirPlantilla(sender As Object, e As ItemClickEventArgs, idPlantilla As Integer) Handles Me.ImprimirPlantilla
+ Private Sub ucConciliacionBancaria_ImprimirPlantilla(sender As Object, e As ItemClickEventArgs, idPlantilla As Integer, Previsualizar As Boolean) Handles Me.ImprimirPlantilla
'Try
' Dim pl = bd.plantillas.First(Function(x) x.idPlantilla = idPlantilla)
' Select Case pl.Codigo
diff --git a/GestionGrupoSanchoToro/ucMovimientoCaja.xaml.vb b/GestionGrupoSanchoToro/ucMovimientoCaja.xaml.vb
index 51a0418..7c031b8 100644
--- a/GestionGrupoSanchoToro/ucMovimientoCaja.xaml.vb
+++ b/GestionGrupoSanchoToro/ucMovimientoCaja.xaml.vb
@@ -205,7 +205,7 @@ Public Class ucMovimientoCaja
End If
End Sub
- Private Sub ucMovimientoCaja_ImprimirPlantilla(sender As Object, e As ItemClickEventArgs, idPlantilla As Integer) Handles Me.ImprimirPlantilla
+ Private Sub ucMovimientoCaja_ImprimirPlantilla(sender As Object, e As ItemClickEventArgs, idPlantilla As Integer, Previsualizar As Boolean) Handles Me.ImprimirPlantilla
Dim rec As movimientoscaja = Me.DataContext
Select Case DirectCast(rec.Tipo, TipoMovimientoEnum)
diff --git a/ServicioGrupoSanchoToro/appsettings.json b/ServicioGrupoSanchoToro/appsettings.json
index 5f18b18..840e381 100644
--- a/ServicioGrupoSanchoToro/appsettings.json
+++ b/ServicioGrupoSanchoToro/appsettings.json
@@ -9,6 +9,6 @@
"SegundosMinimosEntreProcesos": "60",
"DirectorioLogs": "c:\\m3soft\\logs\\",
"HoraProcesosDiarios": "06:30",
- "NombreConexionBD": "Producción VPN"
+ "NombreConexionBD": "Producción"
}
}
diff --git a/bdGrupoSanchoToro/Importaciones/ImportaCTESGESL.cs b/bdGrupoSanchoToro/Importaciones/ImportaCTESGESL.cs
new file mode 100644
index 0000000..a9689d9
--- /dev/null
+++ b/bdGrupoSanchoToro/Importaciones/ImportaCTESGESL.cs
@@ -0,0 +1,61 @@
+using Microsoft.VisualBasic;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace bdGrupoSanchoToro.Importaciones
+{
+ public class ImportaCTESGESL
+ {
+ public static void Importar(byte[] Fichero)
+ {
+ try
+ {
+ var bd = tscGrupoSanchoToro.NuevoContexto();
+ var le = bd.enumeraciones.ToList();
+ var grs = bd.gruposenumeraciones.ToList();
+ var dsprueba = new XSD.CTESGESL();
+
+ dsprueba.ReadXml(new System.IO.MemoryStream(Fichero));
+ int i = 1;
+ int Ultimalinea = dsprueba.Tables["Datos"].Rows.Count;
+ foreach (XSD.CTESGESL.DatosRow Proant in dsprueba.Tables["Datos"].Rows)
+ {
+ try
+ {
+ bdGrupoSanchoToro.db.enumeraciones Pronue;
+ Pronue = le.FirstOrDefault(x => x.Codigo == Proant.LCCOD.Trim());
+ if (Pronue == null)
+ {
+ Pronue = new bdGrupoSanchoToro.db.enumeraciones();
+ bd.enumeraciones.Add(Pronue);
+ }
+ Pronue.Codigo = Proant.LCCOD.Trim();
+ int idgrupo = grs.First(x => x.Grupo == Proant.LCGRU.Trim()).idGrupoEnumeracion;
+ Pronue.idGrupoEnumeracion = idgrupo;
+ Pronue.ValorAlfabetico1 = Proant.LCDES.Trim();
+ Pronue.Descripcion = Proant.LCVAA.Trim();
+ Pronue.Orden = int.Parse(Proant.LCORD);
+ i = i + 1;
+ if (i > 1000)
+ {
+ bd.SaveChanges();
+ i = 0;
+ }
+ }
+ catch (Exception ex)
+ {
+ throw new Exception(ex.Message, ex);
+ }
+ }
+ bd.SaveChanges();
+ }
+ catch (Exception ex)
+ {
+ throw new Exception(ex.Message, ex);
+ }
+ }
+ }
+}
diff --git a/bdGrupoSanchoToro/Importaciones/ImportaFAMILIAS.cs b/bdGrupoSanchoToro/Importaciones/ImportaFAMILIAS.cs
new file mode 100644
index 0000000..fa0444d
--- /dev/null
+++ b/bdGrupoSanchoToro/Importaciones/ImportaFAMILIAS.cs
@@ -0,0 +1,57 @@
+
+using bdGrupoSanchoToro.db;
+using Microsoft.VisualBasic;
+using System.Linq.Dynamic.Core;
+namespace bdGrupoSanchoToro.Importaciones
+
+{
+ public class ImportaFAMILIAS
+ {
+ public static void Importar(byte[] Fichero)
+ {
+ try
+ {
+ var bd = tscGrupoSanchoToro.NuevoContexto();
+ var ds = new XSD.FAMILIAS();
+
+ ds.ReadXml(new System.IO.MemoryStream(Fichero));
+ int Ultimalinea = ds.Tables["Datos"].Rows.Count;
+ var lf = bd.familias.ToList();
+ var fams = ds.Tables["Datos"].Rows.Cast().ToList();
+
+ foreach (XSD.FAMILIAS.DatosRow fam in fams)
+ {
+ try
+ {
+ bdGrupoSanchoToro.db.familias f = lf.FirstOrDefault(x => x.Codigo == fam.FACOD);
+ if (f == null)
+ {
+ f = new familias()
+ {
+ Codigo = fam.FACOD
+ };
+ lf.Add(f);
+ bd.familias.Add(f);
+ }
+ f.Descripcion = fam.FADES;
+ f.CuentaContableCompra = fam.FACCC;
+ f.CuentaContableVenta = fam.FACCV;
+ f.CuentaContableVentaAlquiler = fam.FACCVA;
+ f.CuentaContableCompraAlquiler = fam.FACCCA;
+ bd.SaveChanges();
+
+ }
+ catch (Exception ex)
+ {
+ throw new Exception(ex.Message, ex);
+ }
+ }
+ }
+ catch (Exception ex)
+ {
+ throw new Exception(ex.Message, ex);
+ }
+
+ }
+ }
+}
diff --git a/bdGrupoSanchoToro/Importaciones/ImportaGRUASGC.cs b/bdGrupoSanchoToro/Importaciones/ImportaGRUASGC.cs
index f6416c0..a1a2511 100644
--- a/bdGrupoSanchoToro/Importaciones/ImportaGRUASGC.cs
+++ b/bdGrupoSanchoToro/Importaciones/ImportaGRUASGC.cs
@@ -1,14 +1,5 @@
using bdGrupoSanchoToro.db;
-using Microsoft.VisualBasic;
-using System;
-using System.Collections.Generic;
-using System.Diagnostics.Eventing.Reader;
-using System.Globalization;
-using System.Linq;
using System.Linq.Dynamic.Core;
-using System.Text;
-using System.Threading.Tasks;
-
namespace bdGrupoSanchoToro.Importaciones
{
public class ImportaGRUASGC
diff --git a/bdGrupoSanchoToro/Importaciones/ImportaPRODUCTOS.cs b/bdGrupoSanchoToro/Importaciones/ImportaPRODUCTOS.cs
new file mode 100644
index 0000000..95e8ec3
--- /dev/null
+++ b/bdGrupoSanchoToro/Importaciones/ImportaPRODUCTOS.cs
@@ -0,0 +1,130 @@
+
+using bdGrupoSanchoToro.db;
+using Microsoft.VisualBasic;
+using System.Drawing.Imaging;
+using System.Globalization;
+using System.Linq.Dynamic.Core;
+using tsUtilidades.Extensiones;
+
+namespace bdGrupoSanchoToro.Importaciones
+
+{
+ public class ImportaPRODUCTOS
+ {
+ public static void Importar(byte[] Fichero)
+ {
+ try
+ {
+ var bd = tscGrupoSanchoToro.NuevoContexto();
+ var ds = new XSD.PRODUCTOS();
+
+ ds.ReadXml(new System.IO.MemoryStream(Fichero));
+ int Ultimalinea = ds.Tables["Datos"].Rows.Count;
+ var lp = bd.productos.ToList();
+ var lf = bd.familias.ToList();
+ var lm = bd.marcas.ToList();
+ var lfh = bd.enumeraciones.Where(x=> x.idGrupoEnumeracionNavigation.Grupo=="FAMH").ToList();
+ var pros = ds.Tables["Datos"].Rows.Cast().ToList();
+
+ foreach (XSD.PRODUCTOS.DatosRow pro in pros)
+ {
+ try
+ {
+ bdGrupoSanchoToro.db.productos p = lp.FirstOrDefault(x => x.Codigo == pro.PRCOD || x.DescripcionAbreviada.RemoveDiacritics() ==pro.PRDES.Trim().RemoveDiacritics().ToUpper() || x.Descripcion.RemoveDiacritics().ToUpper()==pro.PRDESL.Trim().RemoveDiacritics().ToUpper() );
+ if (p == null)
+ {
+ p = new productos()
+ {
+ Codigo = pro.PRCOD
+ };
+ lp.Add(p);
+ bd.productos.Add(p);
+ }
+ p.CodigoBarras = pro.PRCBR;
+ p.Descripcion = pro.PRDESL.Trim().RemoveDiacritics().ToUpper();
+ p.DescripcionAbreviada = pro.PRDES.Trim().RemoveDiacritics().ToUpper();
+ p.FechaAlta = DateOnly.FromDateTime(DateTime.Now);
+ familias? fam = bd.familias.FirstOrDefault(x => x.Codigo == pro.PRFAM);
+ p.idFamilia = fam == null ? null : fam.idFamilia;
+ if (pro.PRMAR.NothingAVacio() != "")
+ {
+ var mar = lm.FirstOrDefault(x => x.Marca == pro.PRMAR);
+ if (mar == null)
+ {
+ mar = new marcas()
+ {
+ Marca = pro.PRMAR
+ };
+ lm.Add(mar);
+ bd.marcas.Add(mar);
+ p.idMarcaNavigation = mar;
+ }
+ }
+ else
+ {
+ p.idMarca = null;
+ }
+ p.Modelo = pro.PRMDL;
+ p.Servicio = (pro.PRCFP=="AL" ? true : false);
+ p.idFamiliaHomologacion = null;
+ if (pro.PRFAMH!="")
+ {
+ var fh=lfh.FirstOrDefault(x=> x.Codigo==("FAMH." + pro.PRFAMH));
+ if (fh != null)
+ {
+ p.idFamiliaHomologacion = fh.idEnumeracion;
+ switch (fh.ValorAlfabetico1)
+ {
+ case "P":
+ {
+ p.Tipo = (int)productos.TipoProductoEnum.OTROS_PRODUCTOS;
+ break;
+ }
+ case "C":
+ {
+ p.Tipo = (int)productos.TipoProductoEnum.CONSUMIBLES;
+ break;
+ }
+ case "CG":
+ {
+ p.Tipo = (int)productos.TipoProductoEnum.ELEMENTO_GRUA;
+ break;
+ }
+ case "MO":
+ {
+ p.Tipo = (int)productos.TipoProductoEnum.MATERIAL_OFICINA;
+ break;
+ }
+ case "S":
+ {
+ p.Tipo = (int)productos.TipoProductoEnum.SERVICIO;
+ break;
+ }
+ case "R":
+ {
+ p.Tipo = (int)productos.TipoProductoEnum.REPUESTO;
+ break;
+ }
+ }
+ }
+ }
+ p.PrecioVenta = double.Parse(pro.PRPVP, CultureInfo.InvariantCulture);
+ p.ReferenciaFabrica = pro.PRRFA;
+ p.PrefijoNumeroSerie = pro.PRPNS;
+ bd.SaveChanges();
+
+ }
+ catch (Exception ex)
+ {
+ throw new Exception(ex.Message, ex);
+ }
+ }
+ }
+ catch (Exception ex)
+ {
+ throw new Exception(ex.Message, ex);
+ }
+
+ }
+ }
+}
diff --git a/bdGrupoSanchoToro/Importaciones/ImportarTodo.cs b/bdGrupoSanchoToro/Importaciones/ImportarTodo.cs
index fda8754..d815f68 100644
--- a/bdGrupoSanchoToro/Importaciones/ImportarTodo.cs
+++ b/bdGrupoSanchoToro/Importaciones/ImportarTodo.cs
@@ -16,7 +16,12 @@ namespace bdGrupoSanchoToro.Importaciones
tscGrupoSanchoToro bd = tscGrupoSanchoToro.NuevoContexto();
//00
- Importa("GRUASGC", bdGrupoSanchoToro.Importaciones.ImportaGRUASGC.Importar, de); //00
+ //Importa("GRUASGC", bdGrupoSanchoToro.Importaciones.ImportaGRUASGC.Importar, de); //00
+ //Importa("FAMILIAS", bdGrupoSanchoToro.Importaciones.ImportaFAMILIAS.Importar, de); //00
+ //Importa("FAMILIAS", bdGrupoSanchoToro.Importaciones.ImportaFAMILIAS.Importar, de); //00
+ //Importa("CTESGESL", bdGrupoSanchoToro.Importaciones.ImportaCTESGESL.Importar, de); //00
+ Importa("PRODUCTOS", bdGrupoSanchoToro.Importaciones.ImportaPRODUCTOS.Importar, de); //00
+
//Importa("GRUPRO", bdGrupoSanchoToro.Importaciones.ImportaGrupoProductos.Importar, de); //01
//Importa("CAMPAÑAS", bdGrupoSanchoToro.Importaciones.ImportaCampañas.Importar, de); //02
//Importa("PRODUCTOS", bdGrupoSanchoToro.Importaciones.ImportaProductos.Importar, de); //03
@@ -37,7 +42,7 @@ namespace bdGrupoSanchoToro.Importaciones
//Importa("PROVEEDORH", bdGrupoSanchoToro.Importaciones.ImportaProveedoresh.Importar, de); //25
//Importa("CLIENTES", bdGrupoSanchoToro.Importaciones.ImportaClientes.Importar, de); //15
//Importa("CLIENTESH", bdGrupoSanchoToro.Importaciones.ImportaClientesh.Importar, de); //26
- // Importa("PERSONAL", bdGrupoSanchoToro.Importaciones.ImportaClientesh.Importar, de); //26
+ // Importa("PERSONAL", bdGrupoSanchoToro.Importaciones.ImportaClientesh.Importar, de); //26
}
//public static void ImportarPersonal(DelegadoErroresImportacion de)
@@ -70,11 +75,15 @@ namespace bdGrupoSanchoToro.Importaciones
string Fichh = "/var/tecnosis/DATAXML/HISTORICO/" + Fichero + ".DATA";
var sftp = ConfiguraFTPHP(bd);
var st = new MemoryStream();
+ var std = new MemoryStream();
if (tsFluentFTP.ftp.ExisteFichero(Fich, sftp))
{
tsFluentFTP.ftp.DescargaFichero(Fich, st, sftp);
+ st.Seek(0, 0);
+ tsUtilidades.Ficheros.EliminaCaracteresInvalidosXML(st, std);
+ std.Seek(0, 0);
// tsFluentFTP.ftp.RenombraFichero(Fich,Fichh, sftp);
- return st.ToArray();
+ return std.ToArray();
}
else
{
diff --git a/bdGrupoSanchoToro/XSD/DAT-CTESGESL.Designer.cs b/bdGrupoSanchoToro/XSD/DAT-CTESGESL.Designer.cs
new file mode 100644
index 0000000..17fc949
--- /dev/null
+++ b/bdGrupoSanchoToro/XSD/DAT-CTESGESL.Designer.cs
@@ -0,0 +1,773 @@
+//------------------------------------------------------------------------------
+//
+// Este código fue generado por una herramienta.
+// Versión de runtime:4.0.30319.42000
+//
+// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
+// se vuelve a generar el código.
+//
+//------------------------------------------------------------------------------
+
+#pragma warning disable 1591
+
+namespace bdGrupoSanchoToro.XSD {
+
+
+ ///
+ ///Represents a strongly typed in-memory cache of data.
+ ///
+ [global::System.Serializable()]
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
+ [global::System.Xml.Serialization.XmlRootAttribute("CTESGESL")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
+ public partial class CTESGESL : global::System.Data.DataSet {
+
+ private DatosDataTable tableDatos;
+
+ private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public CTESGESL() {
+ this.BeginInit();
+ this.InitClass();
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ base.Tables.CollectionChanged += schemaChangedHandler;
+ base.Relations.CollectionChanged += schemaChangedHandler;
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called" +
+ " or extended by application code.", DiagnosticId="SYSLIB0051")]
+ protected CTESGESL(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context, false) {
+ if ((this.IsBinarySerialized(info, context) == true)) {
+ this.InitVars(false);
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ this.Tables.CollectionChanged += schemaChangedHandler1;
+ this.Relations.CollectionChanged += schemaChangedHandler1;
+ return;
+ }
+ string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
+ if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
+ global::System.Data.DataSet ds = new global::System.Data.DataSet();
+ ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
+ if ((ds.Tables["Datos"] != null)) {
+ base.Tables.Add(new DatosDataTable(ds.Tables["Datos"]));
+ }
+ this.DataSetName = ds.DataSetName;
+ this.Prefix = ds.Prefix;
+ this.Namespace = ds.Namespace;
+ this.Locale = ds.Locale;
+ this.CaseSensitive = ds.CaseSensitive;
+ this.EnforceConstraints = ds.EnforceConstraints;
+ this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
+ this.InitVars();
+ }
+ else {
+ this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
+ }
+ this.GetSerializationData(info, context);
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ base.Tables.CollectionChanged += schemaChangedHandler;
+ this.Relations.CollectionChanged += schemaChangedHandler;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public DatosDataTable Datos {
+ get {
+ return this.tableDatos;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ [global::System.ComponentModel.BrowsableAttribute(true)]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
+ public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
+ get {
+ return this._schemaSerializationMode;
+ }
+ set {
+ this._schemaSerializationMode = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
+ public new global::System.Data.DataTableCollection Tables {
+ get {
+ return base.Tables;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
+ public new global::System.Data.DataRelationCollection Relations {
+ get {
+ return base.Relations;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ protected override void InitializeDerivedDataSet() {
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public override global::System.Data.DataSet Clone() {
+ CTESGESL cln = ((CTESGESL)(base.Clone()));
+ cln.InitVars();
+ cln.SchemaSerializationMode = this.SchemaSerializationMode;
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ protected override bool ShouldSerializeTables() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ protected override bool ShouldSerializeRelations() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
+ if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
+ this.Reset();
+ global::System.Data.DataSet ds = new global::System.Data.DataSet();
+ ds.ReadXml(reader);
+ if ((ds.Tables["Datos"] != null)) {
+ base.Tables.Add(new DatosDataTable(ds.Tables["Datos"]));
+ }
+ this.DataSetName = ds.DataSetName;
+ this.Prefix = ds.Prefix;
+ this.Namespace = ds.Namespace;
+ this.Locale = ds.Locale;
+ this.CaseSensitive = ds.CaseSensitive;
+ this.EnforceConstraints = ds.EnforceConstraints;
+ this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
+ this.InitVars();
+ }
+ else {
+ this.ReadXml(reader);
+ this.InitVars();
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
+ global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
+ this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
+ stream.Position = 0;
+ return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ internal void InitVars() {
+ this.InitVars(true);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ internal void InitVars(bool initTable) {
+ this.tableDatos = ((DatosDataTable)(base.Tables["Datos"]));
+ if ((initTable == true)) {
+ if ((this.tableDatos != null)) {
+ this.tableDatos.InitVars();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ private void InitClass() {
+ this.DataSetName = "CTESGESL";
+ this.Prefix = "";
+ this.Locale = new global::System.Globalization.CultureInfo("en-US");
+ this.EnforceConstraints = true;
+ this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
+ this.tableDatos = new DatosDataTable();
+ base.Tables.Add(this.tableDatos);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ private bool ShouldSerializeDatos() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
+ if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
+ this.InitVars();
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ CTESGESL ds = new CTESGESL();
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
+ any.Namespace = ds.Namespace;
+ sequence.Items.Add(any);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public delegate void DatosRowChangeEventHandler(object sender, DatosRowChangeEvent e);
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class DatosDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnLCORD;
+
+ private global::System.Data.DataColumn columnLCGRU;
+
+ private global::System.Data.DataColumn columnLCCOD;
+
+ private global::System.Data.DataColumn columnLCDES;
+
+ private global::System.Data.DataColumn columnLCVAA;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public DatosDataTable() {
+ this.TableName = "Datos";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ internal DatosDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called" +
+ " or extended by application code.", DiagnosticId="SYSLIB0051")]
+ protected DatosDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn LCORDColumn {
+ get {
+ return this.columnLCORD;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn LCGRUColumn {
+ get {
+ return this.columnLCGRU;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn LCCODColumn {
+ get {
+ return this.columnLCCOD;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn LCDESColumn {
+ get {
+ return this.columnLCDES;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn LCVAAColumn {
+ get {
+ return this.columnLCVAA;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public DatosRow this[int index] {
+ get {
+ return ((DatosRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public event DatosRowChangeEventHandler DatosRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public event DatosRowChangeEventHandler DatosRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public event DatosRowChangeEventHandler DatosRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public event DatosRowChangeEventHandler DatosRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void AddDatosRow(DatosRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public DatosRow AddDatosRow(string LCORD, string LCGRU, string LCCOD, string LCDES, string LCVAA) {
+ DatosRow rowDatosRow = ((DatosRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ LCORD,
+ LCGRU,
+ LCCOD,
+ LCDES,
+ LCVAA};
+ rowDatosRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowDatosRow);
+ return rowDatosRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ DatosDataTable cln = ((DatosDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new DatosDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ internal void InitVars() {
+ this.columnLCORD = base.Columns["LCORD"];
+ this.columnLCGRU = base.Columns["LCGRU"];
+ this.columnLCCOD = base.Columns["LCCOD"];
+ this.columnLCDES = base.Columns["LCDES"];
+ this.columnLCVAA = base.Columns["LCVAA"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ private void InitClass() {
+ this.columnLCORD = new global::System.Data.DataColumn("LCORD", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnLCORD);
+ this.columnLCGRU = new global::System.Data.DataColumn("LCGRU", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnLCGRU);
+ this.columnLCCOD = new global::System.Data.DataColumn("LCCOD", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnLCCOD);
+ this.columnLCDES = new global::System.Data.DataColumn("LCDES", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnLCDES);
+ this.columnLCVAA = new global::System.Data.DataColumn("LCVAA", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnLCVAA);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public DatosRow NewDatosRow() {
+ return ((DatosRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new DatosRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(DatosRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.DatosRowChanged != null)) {
+ this.DatosRowChanged(this, new DatosRowChangeEvent(((DatosRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.DatosRowChanging != null)) {
+ this.DatosRowChanging(this, new DatosRowChangeEvent(((DatosRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.DatosRowDeleted != null)) {
+ this.DatosRowDeleted(this, new DatosRowChangeEvent(((DatosRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.DatosRowDeleting != null)) {
+ this.DatosRowDeleting(this, new DatosRowChangeEvent(((DatosRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void RemoveDatosRow(DatosRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ CTESGESL ds = new CTESGESL();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "DatosDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class DatosRow : global::System.Data.DataRow {
+
+ private DatosDataTable tableDatos;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ internal DatosRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableDatos = ((DatosDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string LCORD {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.LCORDColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'LCORD\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.LCORDColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string LCGRU {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.LCGRUColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'LCGRU\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.LCGRUColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string LCCOD {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.LCCODColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'LCCOD\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.LCCODColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string LCDES {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.LCDESColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'LCDES\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.LCDESColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string LCVAA {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.LCVAAColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'LCVAA\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.LCVAAColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsLCORDNull() {
+ return this.IsNull(this.tableDatos.LCORDColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetLCORDNull() {
+ this[this.tableDatos.LCORDColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsLCGRUNull() {
+ return this.IsNull(this.tableDatos.LCGRUColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetLCGRUNull() {
+ this[this.tableDatos.LCGRUColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsLCCODNull() {
+ return this.IsNull(this.tableDatos.LCCODColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetLCCODNull() {
+ this[this.tableDatos.LCCODColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsLCDESNull() {
+ return this.IsNull(this.tableDatos.LCDESColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetLCDESNull() {
+ this[this.tableDatos.LCDESColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsLCVAANull() {
+ return this.IsNull(this.tableDatos.LCVAAColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetLCVAANull() {
+ this[this.tableDatos.LCVAAColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public class DatosRowChangeEvent : global::System.EventArgs {
+
+ private DatosRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public DatosRowChangeEvent(DatosRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public DatosRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+ }
+}
+
+#pragma warning restore 1591
\ No newline at end of file
diff --git a/bdGrupoSanchoToro/XSD/DAT-CTESGESL.xsc b/bdGrupoSanchoToro/XSD/DAT-CTESGESL.xsc
new file mode 100644
index 0000000..5f28270
--- /dev/null
+++ b/bdGrupoSanchoToro/XSD/DAT-CTESGESL.xsc
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/bdGrupoSanchoToro/XSD/DAT-CTESGESL.xsd b/bdGrupoSanchoToro/XSD/DAT-CTESGESL.xsd
new file mode 100644
index 0000000..58429a7
--- /dev/null
+++ b/bdGrupoSanchoToro/XSD/DAT-CTESGESL.xsd
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/bdGrupoSanchoToro/XSD/DAT-CTESGESL.xss b/bdGrupoSanchoToro/XSD/DAT-CTESGESL.xss
new file mode 100644
index 0000000..5f28270
--- /dev/null
+++ b/bdGrupoSanchoToro/XSD/DAT-CTESGESL.xss
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/bdGrupoSanchoToro/XSD/DAT-FAMILIAS.Designer.cs b/bdGrupoSanchoToro/XSD/DAT-FAMILIAS.Designer.cs
new file mode 100644
index 0000000..96f2377
--- /dev/null
+++ b/bdGrupoSanchoToro/XSD/DAT-FAMILIAS.Designer.cs
@@ -0,0 +1,1294 @@
+//------------------------------------------------------------------------------
+//
+// Este código fue generado por una herramienta.
+// Versión de runtime:4.0.30319.42000
+//
+// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
+// se vuelve a generar el código.
+//
+//------------------------------------------------------------------------------
+
+#pragma warning disable 1591
+
+namespace bdGrupoSanchoToro.XSD {
+
+
+ ///
+ ///Represents a strongly typed in-memory cache of data.
+ ///
+ [global::System.Serializable()]
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
+ [global::System.Xml.Serialization.XmlRootAttribute("FAMILIAS")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
+ public partial class FAMILIAS : global::System.Data.DataSet {
+
+ private DatosDataTable tableDatos;
+
+ private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public FAMILIAS() {
+ this.BeginInit();
+ this.InitClass();
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ base.Tables.CollectionChanged += schemaChangedHandler;
+ base.Relations.CollectionChanged += schemaChangedHandler;
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called" +
+ " or extended by application code.", DiagnosticId="SYSLIB0051")]
+ protected FAMILIAS(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context, false) {
+ if ((this.IsBinarySerialized(info, context) == true)) {
+ this.InitVars(false);
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ this.Tables.CollectionChanged += schemaChangedHandler1;
+ this.Relations.CollectionChanged += schemaChangedHandler1;
+ return;
+ }
+ string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
+ if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
+ global::System.Data.DataSet ds = new global::System.Data.DataSet();
+ ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
+ if ((ds.Tables["Datos"] != null)) {
+ base.Tables.Add(new DatosDataTable(ds.Tables["Datos"]));
+ }
+ this.DataSetName = ds.DataSetName;
+ this.Prefix = ds.Prefix;
+ this.Namespace = ds.Namespace;
+ this.Locale = ds.Locale;
+ this.CaseSensitive = ds.CaseSensitive;
+ this.EnforceConstraints = ds.EnforceConstraints;
+ this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
+ this.InitVars();
+ }
+ else {
+ this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
+ }
+ this.GetSerializationData(info, context);
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ base.Tables.CollectionChanged += schemaChangedHandler;
+ this.Relations.CollectionChanged += schemaChangedHandler;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public DatosDataTable Datos {
+ get {
+ return this.tableDatos;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ [global::System.ComponentModel.BrowsableAttribute(true)]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
+ public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
+ get {
+ return this._schemaSerializationMode;
+ }
+ set {
+ this._schemaSerializationMode = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
+ public new global::System.Data.DataTableCollection Tables {
+ get {
+ return base.Tables;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
+ public new global::System.Data.DataRelationCollection Relations {
+ get {
+ return base.Relations;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ protected override void InitializeDerivedDataSet() {
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public override global::System.Data.DataSet Clone() {
+ FAMILIAS cln = ((FAMILIAS)(base.Clone()));
+ cln.InitVars();
+ cln.SchemaSerializationMode = this.SchemaSerializationMode;
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ protected override bool ShouldSerializeTables() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ protected override bool ShouldSerializeRelations() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
+ if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
+ this.Reset();
+ global::System.Data.DataSet ds = new global::System.Data.DataSet();
+ ds.ReadXml(reader);
+ if ((ds.Tables["Datos"] != null)) {
+ base.Tables.Add(new DatosDataTable(ds.Tables["Datos"]));
+ }
+ this.DataSetName = ds.DataSetName;
+ this.Prefix = ds.Prefix;
+ this.Namespace = ds.Namespace;
+ this.Locale = ds.Locale;
+ this.CaseSensitive = ds.CaseSensitive;
+ this.EnforceConstraints = ds.EnforceConstraints;
+ this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
+ this.InitVars();
+ }
+ else {
+ this.ReadXml(reader);
+ this.InitVars();
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
+ global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
+ this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
+ stream.Position = 0;
+ return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ internal void InitVars() {
+ this.InitVars(true);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ internal void InitVars(bool initTable) {
+ this.tableDatos = ((DatosDataTable)(base.Tables["Datos"]));
+ if ((initTable == true)) {
+ if ((this.tableDatos != null)) {
+ this.tableDatos.InitVars();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ private void InitClass() {
+ this.DataSetName = "FAMILIAS";
+ this.Prefix = "";
+ this.Locale = new global::System.Globalization.CultureInfo("en-US");
+ this.EnforceConstraints = true;
+ this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
+ this.tableDatos = new DatosDataTable();
+ base.Tables.Add(this.tableDatos);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ private bool ShouldSerializeDatos() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
+ if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
+ this.InitVars();
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ FAMILIAS ds = new FAMILIAS();
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
+ any.Namespace = ds.Namespace;
+ sequence.Items.Add(any);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public delegate void DatosRowChangeEventHandler(object sender, DatosRowChangeEvent e);
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class DatosDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnFACOD;
+
+ private global::System.Data.DataColumn columnFADES;
+
+ private global::System.Data.DataColumn columnFAUSU;
+
+ private global::System.Data.DataColumn columnFACCV;
+
+ private global::System.Data.DataColumn columnFACCVA;
+
+ private global::System.Data.DataColumn columnFACCC;
+
+ private global::System.Data.DataColumn columnFACCCA;
+
+ private global::System.Data.DataColumn columnFALA1;
+
+ private global::System.Data.DataColumn columnFALA2;
+
+ private global::System.Data.DataColumn columnFALA3;
+
+ private global::System.Data.DataColumn columnFALA4;
+
+ private global::System.Data.DataColumn columnFANL1;
+
+ private global::System.Data.DataColumn columnFANL2;
+
+ private global::System.Data.DataColumn columnFANL3;
+
+ private global::System.Data.DataColumn columnFANL4;
+
+ private global::System.Data.DataColumn columnFASIT;
+
+ private global::System.Data.DataColumn columnFAOBS;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public DatosDataTable() {
+ this.TableName = "Datos";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ internal DatosDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called" +
+ " or extended by application code.", DiagnosticId="SYSLIB0051")]
+ protected DatosDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public global::System.Data.DataColumn FACODColumn {
+ get {
+ return this.columnFACOD;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public global::System.Data.DataColumn FADESColumn {
+ get {
+ return this.columnFADES;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public global::System.Data.DataColumn FAUSUColumn {
+ get {
+ return this.columnFAUSU;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public global::System.Data.DataColumn FACCVColumn {
+ get {
+ return this.columnFACCV;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public global::System.Data.DataColumn FACCVAColumn {
+ get {
+ return this.columnFACCVA;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public global::System.Data.DataColumn FACCCColumn {
+ get {
+ return this.columnFACCC;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public global::System.Data.DataColumn FACCCAColumn {
+ get {
+ return this.columnFACCCA;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public global::System.Data.DataColumn FALA1Column {
+ get {
+ return this.columnFALA1;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public global::System.Data.DataColumn FALA2Column {
+ get {
+ return this.columnFALA2;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public global::System.Data.DataColumn FALA3Column {
+ get {
+ return this.columnFALA3;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public global::System.Data.DataColumn FALA4Column {
+ get {
+ return this.columnFALA4;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public global::System.Data.DataColumn FANL1Column {
+ get {
+ return this.columnFANL1;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public global::System.Data.DataColumn FANL2Column {
+ get {
+ return this.columnFANL2;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public global::System.Data.DataColumn FANL3Column {
+ get {
+ return this.columnFANL3;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public global::System.Data.DataColumn FANL4Column {
+ get {
+ return this.columnFANL4;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public global::System.Data.DataColumn FASITColumn {
+ get {
+ return this.columnFASIT;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public global::System.Data.DataColumn FAOBSColumn {
+ get {
+ return this.columnFAOBS;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public DatosRow this[int index] {
+ get {
+ return ((DatosRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public event DatosRowChangeEventHandler DatosRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public event DatosRowChangeEventHandler DatosRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public event DatosRowChangeEventHandler DatosRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public event DatosRowChangeEventHandler DatosRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public void AddDatosRow(DatosRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public DatosRow AddDatosRow(
+ string FACOD,
+ string FADES,
+ string FAUSU,
+ string FACCV,
+ string FACCVA,
+ string FACCC,
+ string FACCCA,
+ string FALA1,
+ string FALA2,
+ string FALA3,
+ string FALA4,
+ string FANL1,
+ string FANL2,
+ string FANL3,
+ string FANL4,
+ string FASIT,
+ string FAOBS) {
+ DatosRow rowDatosRow = ((DatosRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ FACOD,
+ FADES,
+ FAUSU,
+ FACCV,
+ FACCVA,
+ FACCC,
+ FACCCA,
+ FALA1,
+ FALA2,
+ FALA3,
+ FALA4,
+ FANL1,
+ FANL2,
+ FANL3,
+ FANL4,
+ FASIT,
+ FAOBS};
+ rowDatosRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowDatosRow);
+ return rowDatosRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ DatosDataTable cln = ((DatosDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new DatosDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ internal void InitVars() {
+ this.columnFACOD = base.Columns["FACOD"];
+ this.columnFADES = base.Columns["FADES"];
+ this.columnFAUSU = base.Columns["FAUSU"];
+ this.columnFACCV = base.Columns["FACCV"];
+ this.columnFACCVA = base.Columns["FACCVA"];
+ this.columnFACCC = base.Columns["FACCC"];
+ this.columnFACCCA = base.Columns["FACCCA"];
+ this.columnFALA1 = base.Columns["FALA1"];
+ this.columnFALA2 = base.Columns["FALA2"];
+ this.columnFALA3 = base.Columns["FALA3"];
+ this.columnFALA4 = base.Columns["FALA4"];
+ this.columnFANL1 = base.Columns["FANL1"];
+ this.columnFANL2 = base.Columns["FANL2"];
+ this.columnFANL3 = base.Columns["FANL3"];
+ this.columnFANL4 = base.Columns["FANL4"];
+ this.columnFASIT = base.Columns["FASIT"];
+ this.columnFAOBS = base.Columns["FAOBS"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ private void InitClass() {
+ this.columnFACOD = new global::System.Data.DataColumn("FACOD", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFACOD);
+ this.columnFADES = new global::System.Data.DataColumn("FADES", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFADES);
+ this.columnFAUSU = new global::System.Data.DataColumn("FAUSU", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFAUSU);
+ this.columnFACCV = new global::System.Data.DataColumn("FACCV", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFACCV);
+ this.columnFACCVA = new global::System.Data.DataColumn("FACCVA", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFACCVA);
+ this.columnFACCC = new global::System.Data.DataColumn("FACCC", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFACCC);
+ this.columnFACCCA = new global::System.Data.DataColumn("FACCCA", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFACCCA);
+ this.columnFALA1 = new global::System.Data.DataColumn("FALA1", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFALA1);
+ this.columnFALA2 = new global::System.Data.DataColumn("FALA2", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFALA2);
+ this.columnFALA3 = new global::System.Data.DataColumn("FALA3", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFALA3);
+ this.columnFALA4 = new global::System.Data.DataColumn("FALA4", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFALA4);
+ this.columnFANL1 = new global::System.Data.DataColumn("FANL1", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFANL1);
+ this.columnFANL2 = new global::System.Data.DataColumn("FANL2", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFANL2);
+ this.columnFANL3 = new global::System.Data.DataColumn("FANL3", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFANL3);
+ this.columnFANL4 = new global::System.Data.DataColumn("FANL4", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFANL4);
+ this.columnFASIT = new global::System.Data.DataColumn("FASIT", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFASIT);
+ this.columnFAOBS = new global::System.Data.DataColumn("FAOBS", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFAOBS);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public DatosRow NewDatosRow() {
+ return ((DatosRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new DatosRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(DatosRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.DatosRowChanged != null)) {
+ this.DatosRowChanged(this, new DatosRowChangeEvent(((DatosRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.DatosRowChanging != null)) {
+ this.DatosRowChanging(this, new DatosRowChangeEvent(((DatosRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.DatosRowDeleted != null)) {
+ this.DatosRowDeleted(this, new DatosRowChangeEvent(((DatosRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.DatosRowDeleting != null)) {
+ this.DatosRowDeleting(this, new DatosRowChangeEvent(((DatosRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public void RemoveDatosRow(DatosRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ FAMILIAS ds = new FAMILIAS();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "DatosDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class DatosRow : global::System.Data.DataRow {
+
+ private DatosDataTable tableDatos;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ internal DatosRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableDatos = ((DatosDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public string FACOD {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.FACODColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'FACOD\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.FACODColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public string FADES {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.FADESColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'FADES\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.FADESColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public string FAUSU {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.FAUSUColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'FAUSU\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.FAUSUColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public string FACCV {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.FACCVColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'FACCV\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.FACCVColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public string FACCVA {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.FACCVAColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'FACCVA\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.FACCVAColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public string FACCC {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.FACCCColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'FACCC\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.FACCCColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public string FACCCA {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.FACCCAColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'FACCCA\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.FACCCAColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public string FALA1 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.FALA1Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'FALA1\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.FALA1Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public string FALA2 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.FALA2Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'FALA2\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.FALA2Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public string FALA3 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.FALA3Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'FALA3\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.FALA3Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public string FALA4 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.FALA4Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'FALA4\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.FALA4Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public string FANL1 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.FANL1Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'FANL1\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.FANL1Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public string FANL2 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.FANL2Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'FANL2\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.FANL2Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public string FANL3 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.FANL3Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'FANL3\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.FANL3Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public string FANL4 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.FANL4Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'FANL4\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.FANL4Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public string FASIT {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.FASITColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'FASIT\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.FASITColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public string FAOBS {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.FAOBSColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'FAOBS\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.FAOBSColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public bool IsFACODNull() {
+ return this.IsNull(this.tableDatos.FACODColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public void SetFACODNull() {
+ this[this.tableDatos.FACODColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public bool IsFADESNull() {
+ return this.IsNull(this.tableDatos.FADESColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public void SetFADESNull() {
+ this[this.tableDatos.FADESColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public bool IsFAUSUNull() {
+ return this.IsNull(this.tableDatos.FAUSUColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public void SetFAUSUNull() {
+ this[this.tableDatos.FAUSUColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public bool IsFACCVNull() {
+ return this.IsNull(this.tableDatos.FACCVColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public void SetFACCVNull() {
+ this[this.tableDatos.FACCVColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public bool IsFACCVANull() {
+ return this.IsNull(this.tableDatos.FACCVAColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public void SetFACCVANull() {
+ this[this.tableDatos.FACCVAColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public bool IsFACCCNull() {
+ return this.IsNull(this.tableDatos.FACCCColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public void SetFACCCNull() {
+ this[this.tableDatos.FACCCColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public bool IsFACCCANull() {
+ return this.IsNull(this.tableDatos.FACCCAColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public void SetFACCCANull() {
+ this[this.tableDatos.FACCCAColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public bool IsFALA1Null() {
+ return this.IsNull(this.tableDatos.FALA1Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public void SetFALA1Null() {
+ this[this.tableDatos.FALA1Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public bool IsFALA2Null() {
+ return this.IsNull(this.tableDatos.FALA2Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public void SetFALA2Null() {
+ this[this.tableDatos.FALA2Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public bool IsFALA3Null() {
+ return this.IsNull(this.tableDatos.FALA3Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public void SetFALA3Null() {
+ this[this.tableDatos.FALA3Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public bool IsFALA4Null() {
+ return this.IsNull(this.tableDatos.FALA4Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public void SetFALA4Null() {
+ this[this.tableDatos.FALA4Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public bool IsFANL1Null() {
+ return this.IsNull(this.tableDatos.FANL1Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public void SetFANL1Null() {
+ this[this.tableDatos.FANL1Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public bool IsFANL2Null() {
+ return this.IsNull(this.tableDatos.FANL2Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public void SetFANL2Null() {
+ this[this.tableDatos.FANL2Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public bool IsFANL3Null() {
+ return this.IsNull(this.tableDatos.FANL3Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public void SetFANL3Null() {
+ this[this.tableDatos.FANL3Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public bool IsFANL4Null() {
+ return this.IsNull(this.tableDatos.FANL4Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public void SetFANL4Null() {
+ this[this.tableDatos.FANL4Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public bool IsFASITNull() {
+ return this.IsNull(this.tableDatos.FASITColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public void SetFASITNull() {
+ this[this.tableDatos.FASITColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public bool IsFAOBSNull() {
+ return this.IsNull(this.tableDatos.FAOBSColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public void SetFAOBSNull() {
+ this[this.tableDatos.FAOBSColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public class DatosRowChangeEvent : global::System.EventArgs {
+
+ private DatosRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public DatosRowChangeEvent(DatosRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public DatosRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "18.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+ }
+}
+
+#pragma warning restore 1591
\ No newline at end of file
diff --git a/bdGrupoSanchoToro/XSD/DAT-FAMILIAS.xsc b/bdGrupoSanchoToro/XSD/DAT-FAMILIAS.xsc
new file mode 100644
index 0000000..5f28270
--- /dev/null
+++ b/bdGrupoSanchoToro/XSD/DAT-FAMILIAS.xsc
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/bdGrupoSanchoToro/XSD/DAT-FAMILIAS.xsd b/bdGrupoSanchoToro/XSD/DAT-FAMILIAS.xsd
new file mode 100644
index 0000000..aa06018
--- /dev/null
+++ b/bdGrupoSanchoToro/XSD/DAT-FAMILIAS.xsd
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/bdGrupoSanchoToro/XSD/DAT-FAMILIAS.xss b/bdGrupoSanchoToro/XSD/DAT-FAMILIAS.xss
new file mode 100644
index 0000000..5f28270
--- /dev/null
+++ b/bdGrupoSanchoToro/XSD/DAT-FAMILIAS.xss
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/bdGrupoSanchoToro/XSD/DAT-PRODUCTOS.Designer.cs b/bdGrupoSanchoToro/XSD/DAT-PRODUCTOS.Designer.cs
new file mode 100644
index 0000000..5fa547d
--- /dev/null
+++ b/bdGrupoSanchoToro/XSD/DAT-PRODUCTOS.Designer.cs
@@ -0,0 +1,3143 @@
+//------------------------------------------------------------------------------
+//
+// Este código fue generado por una herramienta.
+// Versión de runtime:4.0.30319.42000
+//
+// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
+// se vuelve a generar el código.
+//
+//------------------------------------------------------------------------------
+
+#pragma warning disable 1591
+
+namespace bdGrupoSanchoToro.XSD {
+
+
+ ///
+ ///Represents a strongly typed in-memory cache of data.
+ ///
+ [global::System.Serializable()]
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
+ [global::System.Xml.Serialization.XmlRootAttribute("PRODUCTOS")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
+ public partial class PRODUCTOS : global::System.Data.DataSet {
+
+ private DatosDataTable tableDatos;
+
+ private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public PRODUCTOS() {
+ this.BeginInit();
+ this.InitClass();
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ base.Tables.CollectionChanged += schemaChangedHandler;
+ base.Relations.CollectionChanged += schemaChangedHandler;
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called" +
+ " or extended by application code.", DiagnosticId="SYSLIB0051")]
+ protected PRODUCTOS(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context, false) {
+ if ((this.IsBinarySerialized(info, context) == true)) {
+ this.InitVars(false);
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ this.Tables.CollectionChanged += schemaChangedHandler1;
+ this.Relations.CollectionChanged += schemaChangedHandler1;
+ return;
+ }
+ string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
+ if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
+ global::System.Data.DataSet ds = new global::System.Data.DataSet();
+ ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
+ if ((ds.Tables["Datos"] != null)) {
+ base.Tables.Add(new DatosDataTable(ds.Tables["Datos"]));
+ }
+ this.DataSetName = ds.DataSetName;
+ this.Prefix = ds.Prefix;
+ this.Namespace = ds.Namespace;
+ this.Locale = ds.Locale;
+ this.CaseSensitive = ds.CaseSensitive;
+ this.EnforceConstraints = ds.EnforceConstraints;
+ this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
+ this.InitVars();
+ }
+ else {
+ this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
+ }
+ this.GetSerializationData(info, context);
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ base.Tables.CollectionChanged += schemaChangedHandler;
+ this.Relations.CollectionChanged += schemaChangedHandler;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public DatosDataTable Datos {
+ get {
+ return this.tableDatos;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ [global::System.ComponentModel.BrowsableAttribute(true)]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
+ public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
+ get {
+ return this._schemaSerializationMode;
+ }
+ set {
+ this._schemaSerializationMode = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
+ public new global::System.Data.DataTableCollection Tables {
+ get {
+ return base.Tables;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
+ public new global::System.Data.DataRelationCollection Relations {
+ get {
+ return base.Relations;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ protected override void InitializeDerivedDataSet() {
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public override global::System.Data.DataSet Clone() {
+ PRODUCTOS cln = ((PRODUCTOS)(base.Clone()));
+ cln.InitVars();
+ cln.SchemaSerializationMode = this.SchemaSerializationMode;
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ protected override bool ShouldSerializeTables() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ protected override bool ShouldSerializeRelations() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
+ if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
+ this.Reset();
+ global::System.Data.DataSet ds = new global::System.Data.DataSet();
+ ds.ReadXml(reader);
+ if ((ds.Tables["Datos"] != null)) {
+ base.Tables.Add(new DatosDataTable(ds.Tables["Datos"]));
+ }
+ this.DataSetName = ds.DataSetName;
+ this.Prefix = ds.Prefix;
+ this.Namespace = ds.Namespace;
+ this.Locale = ds.Locale;
+ this.CaseSensitive = ds.CaseSensitive;
+ this.EnforceConstraints = ds.EnforceConstraints;
+ this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
+ this.InitVars();
+ }
+ else {
+ this.ReadXml(reader);
+ this.InitVars();
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
+ global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
+ this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
+ stream.Position = 0;
+ return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ internal void InitVars() {
+ this.InitVars(true);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ internal void InitVars(bool initTable) {
+ this.tableDatos = ((DatosDataTable)(base.Tables["Datos"]));
+ if ((initTable == true)) {
+ if ((this.tableDatos != null)) {
+ this.tableDatos.InitVars();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ private void InitClass() {
+ this.DataSetName = "PRODUCTOS";
+ this.Prefix = "";
+ this.Locale = new global::System.Globalization.CultureInfo("en-US");
+ this.EnforceConstraints = true;
+ this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
+ this.tableDatos = new DatosDataTable();
+ base.Tables.Add(this.tableDatos);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ private bool ShouldSerializeDatos() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
+ if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
+ this.InitVars();
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ PRODUCTOS ds = new PRODUCTOS();
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
+ any.Namespace = ds.Namespace;
+ sequence.Items.Add(any);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public delegate void DatosRowChangeEventHandler(object sender, DatosRowChangeEvent e);
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class DatosDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnPRCOD;
+
+ private global::System.Data.DataColumn columnPRDES;
+
+ private global::System.Data.DataColumn columnPRDESL;
+
+ private global::System.Data.DataColumn columnPRFAM;
+
+ private global::System.Data.DataColumn columnPRTHO;
+
+ private global::System.Data.DataColumn columnPRCFP;
+
+ private global::System.Data.DataColumn columnPRRFA;
+
+ private global::System.Data.DataColumn columnPRTPR;
+
+ private global::System.Data.DataColumn columnPRCBR;
+
+ private global::System.Data.DataColumn columnPREXP;
+
+ private global::System.Data.DataColumn columnPRDPM;
+
+ private global::System.Data.DataColumn columnPRSER;
+
+ private global::System.Data.DataColumn columnPRPNS;
+
+ private global::System.Data.DataColumn columnPRUXE;
+
+ private global::System.Data.DataColumn columnPRPES;
+
+ private global::System.Data.DataColumn columnPRCI;
+
+ private global::System.Data.DataColumn columnPRMAR;
+
+ private global::System.Data.DataColumn columnPRMDL;
+
+ private global::System.Data.DataColumn columnPRVGU;
+
+ private global::System.Data.DataColumn columnPRPCM;
+
+ private global::System.Data.DataColumn columnPRUPC;
+
+ private global::System.Data.DataColumn columnPRPVP;
+
+ private global::System.Data.DataColumn columnPRDTO;
+
+ private global::System.Data.DataColumn columnPRFAMH;
+
+ private global::System.Data.DataColumn columnPREXI1;
+
+ private global::System.Data.DataColumn columnPREXI2;
+
+ private global::System.Data.DataColumn columnPREXI3;
+
+ private global::System.Data.DataColumn columnPREXI4;
+
+ private global::System.Data.DataColumn columnPREXI5;
+
+ private global::System.Data.DataColumn columnPREXI6;
+
+ private global::System.Data.DataColumn columnPRFUR1;
+
+ private global::System.Data.DataColumn columnPRFUR2;
+
+ private global::System.Data.DataColumn columnPRFUR3;
+
+ private global::System.Data.DataColumn columnPRFUR4;
+
+ private global::System.Data.DataColumn columnPRFUR5;
+
+ private global::System.Data.DataColumn columnPRFUR6;
+
+ private global::System.Data.DataColumn columnPRNMA1;
+
+ private global::System.Data.DataColumn columnPRNMA2;
+
+ private global::System.Data.DataColumn columnPRNMA3;
+
+ private global::System.Data.DataColumn columnPRNMA4;
+
+ private global::System.Data.DataColumn columnPRNMA5;
+
+ private global::System.Data.DataColumn columnPRNMA6;
+
+ private global::System.Data.DataColumn columnPREXT;
+
+ private global::System.Data.DataColumn columnPRSMI;
+
+ private global::System.Data.DataColumn columnPREXM;
+
+ private global::System.Data.DataColumn columnPRMGPA;
+
+ private global::System.Data.DataColumn columnPRMOPA;
+
+ private global::System.Data.DataColumn columnPRCOPA;
+
+ private global::System.Data.DataColumn columnPRUBI;
+
+ private global::System.Data.DataColumn columnPRCEA;
+
+ private global::System.Data.DataColumn columnPRAL1;
+
+ private global::System.Data.DataColumn columnPRAL2;
+
+ private global::System.Data.DataColumn columnPRAL3;
+
+ private global::System.Data.DataColumn columnPRAL4;
+
+ private global::System.Data.DataColumn columnPRNL1;
+
+ private global::System.Data.DataColumn columnPRNL2;
+
+ private global::System.Data.DataColumn columnPRNL3;
+
+ private global::System.Data.DataColumn columnPRNL4;
+
+ private global::System.Data.DataColumn columnPRSIT;
+
+ private global::System.Data.DataColumn columnPROBS;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public DatosDataTable() {
+ this.TableName = "Datos";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ internal DatosDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called" +
+ " or extended by application code.", DiagnosticId="SYSLIB0051")]
+ protected DatosDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRCODColumn {
+ get {
+ return this.columnPRCOD;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRDESColumn {
+ get {
+ return this.columnPRDES;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRDESLColumn {
+ get {
+ return this.columnPRDESL;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRFAMColumn {
+ get {
+ return this.columnPRFAM;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRTHOColumn {
+ get {
+ return this.columnPRTHO;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRCFPColumn {
+ get {
+ return this.columnPRCFP;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRRFAColumn {
+ get {
+ return this.columnPRRFA;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRTPRColumn {
+ get {
+ return this.columnPRTPR;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRCBRColumn {
+ get {
+ return this.columnPRCBR;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PREXPColumn {
+ get {
+ return this.columnPREXP;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRDPMColumn {
+ get {
+ return this.columnPRDPM;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRSERColumn {
+ get {
+ return this.columnPRSER;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRPNSColumn {
+ get {
+ return this.columnPRPNS;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRUXEColumn {
+ get {
+ return this.columnPRUXE;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRPESColumn {
+ get {
+ return this.columnPRPES;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRCIColumn {
+ get {
+ return this.columnPRCI;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRMARColumn {
+ get {
+ return this.columnPRMAR;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRMDLColumn {
+ get {
+ return this.columnPRMDL;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRVGUColumn {
+ get {
+ return this.columnPRVGU;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRPCMColumn {
+ get {
+ return this.columnPRPCM;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRUPCColumn {
+ get {
+ return this.columnPRUPC;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRPVPColumn {
+ get {
+ return this.columnPRPVP;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRDTOColumn {
+ get {
+ return this.columnPRDTO;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRFAMHColumn {
+ get {
+ return this.columnPRFAMH;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PREXI1Column {
+ get {
+ return this.columnPREXI1;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PREXI2Column {
+ get {
+ return this.columnPREXI2;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PREXI3Column {
+ get {
+ return this.columnPREXI3;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PREXI4Column {
+ get {
+ return this.columnPREXI4;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PREXI5Column {
+ get {
+ return this.columnPREXI5;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PREXI6Column {
+ get {
+ return this.columnPREXI6;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRFUR1Column {
+ get {
+ return this.columnPRFUR1;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRFUR2Column {
+ get {
+ return this.columnPRFUR2;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRFUR3Column {
+ get {
+ return this.columnPRFUR3;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRFUR4Column {
+ get {
+ return this.columnPRFUR4;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRFUR5Column {
+ get {
+ return this.columnPRFUR5;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRFUR6Column {
+ get {
+ return this.columnPRFUR6;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRNMA1Column {
+ get {
+ return this.columnPRNMA1;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRNMA2Column {
+ get {
+ return this.columnPRNMA2;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRNMA3Column {
+ get {
+ return this.columnPRNMA3;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRNMA4Column {
+ get {
+ return this.columnPRNMA4;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRNMA5Column {
+ get {
+ return this.columnPRNMA5;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRNMA6Column {
+ get {
+ return this.columnPRNMA6;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PREXTColumn {
+ get {
+ return this.columnPREXT;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRSMIColumn {
+ get {
+ return this.columnPRSMI;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PREXMColumn {
+ get {
+ return this.columnPREXM;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRMGPAColumn {
+ get {
+ return this.columnPRMGPA;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRMOPAColumn {
+ get {
+ return this.columnPRMOPA;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRCOPAColumn {
+ get {
+ return this.columnPRCOPA;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRUBIColumn {
+ get {
+ return this.columnPRUBI;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRCEAColumn {
+ get {
+ return this.columnPRCEA;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRAL1Column {
+ get {
+ return this.columnPRAL1;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRAL2Column {
+ get {
+ return this.columnPRAL2;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRAL3Column {
+ get {
+ return this.columnPRAL3;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRAL4Column {
+ get {
+ return this.columnPRAL4;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRNL1Column {
+ get {
+ return this.columnPRNL1;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRNL2Column {
+ get {
+ return this.columnPRNL2;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRNL3Column {
+ get {
+ return this.columnPRNL3;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRNL4Column {
+ get {
+ return this.columnPRNL4;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PRSITColumn {
+ get {
+ return this.columnPRSIT;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataColumn PROBSColumn {
+ get {
+ return this.columnPROBS;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public DatosRow this[int index] {
+ get {
+ return ((DatosRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public event DatosRowChangeEventHandler DatosRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public event DatosRowChangeEventHandler DatosRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public event DatosRowChangeEventHandler DatosRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public event DatosRowChangeEventHandler DatosRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void AddDatosRow(DatosRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public DatosRow AddDatosRow(
+ string PRCOD,
+ string PRDES,
+ string PRDESL,
+ string PRFAM,
+ string PRTHO,
+ string PRCFP,
+ string PRRFA,
+ string PRTPR,
+ string PRCBR,
+ string PREXP,
+ string PRDPM,
+ string PRSER,
+ string PRPNS,
+ string PRUXE,
+ string PRPES,
+ string PRCI,
+ string PRMAR,
+ string PRMDL,
+ string PRVGU,
+ string PRPCM,
+ string PRUPC,
+ string PRPVP,
+ string PRDTO,
+ string PRFAMH,
+ string PREXI1,
+ string PREXI2,
+ string PREXI3,
+ string PREXI4,
+ string PREXI5,
+ string PREXI6,
+ string PRFUR1,
+ string PRFUR2,
+ string PRFUR3,
+ string PRFUR4,
+ string PRFUR5,
+ string PRFUR6,
+ string PRNMA1,
+ string PRNMA2,
+ string PRNMA3,
+ string PRNMA4,
+ string PRNMA5,
+ string PRNMA6,
+ string PREXT,
+ string PRSMI,
+ string PREXM,
+ string PRMGPA,
+ string PRMOPA,
+ string PRCOPA,
+ string PRUBI,
+ string PRCEA,
+ string PRAL1,
+ string PRAL2,
+ string PRAL3,
+ string PRAL4,
+ string PRNL1,
+ string PRNL2,
+ string PRNL3,
+ string PRNL4,
+ string PRSIT,
+ string PROBS) {
+ DatosRow rowDatosRow = ((DatosRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ PRCOD,
+ PRDES,
+ PRDESL,
+ PRFAM,
+ PRTHO,
+ PRCFP,
+ PRRFA,
+ PRTPR,
+ PRCBR,
+ PREXP,
+ PRDPM,
+ PRSER,
+ PRPNS,
+ PRUXE,
+ PRPES,
+ PRCI,
+ PRMAR,
+ PRMDL,
+ PRVGU,
+ PRPCM,
+ PRUPC,
+ PRPVP,
+ PRDTO,
+ PRFAMH,
+ PREXI1,
+ PREXI2,
+ PREXI3,
+ PREXI4,
+ PREXI5,
+ PREXI6,
+ PRFUR1,
+ PRFUR2,
+ PRFUR3,
+ PRFUR4,
+ PRFUR5,
+ PRFUR6,
+ PRNMA1,
+ PRNMA2,
+ PRNMA3,
+ PRNMA4,
+ PRNMA5,
+ PRNMA6,
+ PREXT,
+ PRSMI,
+ PREXM,
+ PRMGPA,
+ PRMOPA,
+ PRCOPA,
+ PRUBI,
+ PRCEA,
+ PRAL1,
+ PRAL2,
+ PRAL3,
+ PRAL4,
+ PRNL1,
+ PRNL2,
+ PRNL3,
+ PRNL4,
+ PRSIT,
+ PROBS};
+ rowDatosRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowDatosRow);
+ return rowDatosRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ DatosDataTable cln = ((DatosDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new DatosDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ internal void InitVars() {
+ this.columnPRCOD = base.Columns["PRCOD"];
+ this.columnPRDES = base.Columns["PRDES"];
+ this.columnPRDESL = base.Columns["PRDESL"];
+ this.columnPRFAM = base.Columns["PRFAM"];
+ this.columnPRTHO = base.Columns["PRTHO"];
+ this.columnPRCFP = base.Columns["PRCFP"];
+ this.columnPRRFA = base.Columns["PRRFA"];
+ this.columnPRTPR = base.Columns["PRTPR"];
+ this.columnPRCBR = base.Columns["PRCBR"];
+ this.columnPREXP = base.Columns["PREXP"];
+ this.columnPRDPM = base.Columns["PRDPM"];
+ this.columnPRSER = base.Columns["PRSER"];
+ this.columnPRPNS = base.Columns["PRPNS"];
+ this.columnPRUXE = base.Columns["PRUXE"];
+ this.columnPRPES = base.Columns["PRPES"];
+ this.columnPRCI = base.Columns["PRCI"];
+ this.columnPRMAR = base.Columns["PRMAR"];
+ this.columnPRMDL = base.Columns["PRMDL"];
+ this.columnPRVGU = base.Columns["PRVGU"];
+ this.columnPRPCM = base.Columns["PRPCM"];
+ this.columnPRUPC = base.Columns["PRUPC"];
+ this.columnPRPVP = base.Columns["PRPVP"];
+ this.columnPRDTO = base.Columns["PRDTO"];
+ this.columnPRFAMH = base.Columns["PRFAMH"];
+ this.columnPREXI1 = base.Columns["PREXI1"];
+ this.columnPREXI2 = base.Columns["PREXI2"];
+ this.columnPREXI3 = base.Columns["PREXI3"];
+ this.columnPREXI4 = base.Columns["PREXI4"];
+ this.columnPREXI5 = base.Columns["PREXI5"];
+ this.columnPREXI6 = base.Columns["PREXI6"];
+ this.columnPRFUR1 = base.Columns["PRFUR1"];
+ this.columnPRFUR2 = base.Columns["PRFUR2"];
+ this.columnPRFUR3 = base.Columns["PRFUR3"];
+ this.columnPRFUR4 = base.Columns["PRFUR4"];
+ this.columnPRFUR5 = base.Columns["PRFUR5"];
+ this.columnPRFUR6 = base.Columns["PRFUR6"];
+ this.columnPRNMA1 = base.Columns["PRNMA1"];
+ this.columnPRNMA2 = base.Columns["PRNMA2"];
+ this.columnPRNMA3 = base.Columns["PRNMA3"];
+ this.columnPRNMA4 = base.Columns["PRNMA4"];
+ this.columnPRNMA5 = base.Columns["PRNMA5"];
+ this.columnPRNMA6 = base.Columns["PRNMA6"];
+ this.columnPREXT = base.Columns["PREXT"];
+ this.columnPRSMI = base.Columns["PRSMI"];
+ this.columnPREXM = base.Columns["PREXM"];
+ this.columnPRMGPA = base.Columns["PRMGPA"];
+ this.columnPRMOPA = base.Columns["PRMOPA"];
+ this.columnPRCOPA = base.Columns["PRCOPA"];
+ this.columnPRUBI = base.Columns["PRUBI"];
+ this.columnPRCEA = base.Columns["PRCEA"];
+ this.columnPRAL1 = base.Columns["PRAL1"];
+ this.columnPRAL2 = base.Columns["PRAL2"];
+ this.columnPRAL3 = base.Columns["PRAL3"];
+ this.columnPRAL4 = base.Columns["PRAL4"];
+ this.columnPRNL1 = base.Columns["PRNL1"];
+ this.columnPRNL2 = base.Columns["PRNL2"];
+ this.columnPRNL3 = base.Columns["PRNL3"];
+ this.columnPRNL4 = base.Columns["PRNL4"];
+ this.columnPRSIT = base.Columns["PRSIT"];
+ this.columnPROBS = base.Columns["PROBS"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ private void InitClass() {
+ this.columnPRCOD = new global::System.Data.DataColumn("PRCOD", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRCOD);
+ this.columnPRDES = new global::System.Data.DataColumn("PRDES", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRDES);
+ this.columnPRDESL = new global::System.Data.DataColumn("PRDESL", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRDESL);
+ this.columnPRFAM = new global::System.Data.DataColumn("PRFAM", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRFAM);
+ this.columnPRTHO = new global::System.Data.DataColumn("PRTHO", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRTHO);
+ this.columnPRCFP = new global::System.Data.DataColumn("PRCFP", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRCFP);
+ this.columnPRRFA = new global::System.Data.DataColumn("PRRFA", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRRFA);
+ this.columnPRTPR = new global::System.Data.DataColumn("PRTPR", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRTPR);
+ this.columnPRCBR = new global::System.Data.DataColumn("PRCBR", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRCBR);
+ this.columnPREXP = new global::System.Data.DataColumn("PREXP", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPREXP);
+ this.columnPRDPM = new global::System.Data.DataColumn("PRDPM", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRDPM);
+ this.columnPRSER = new global::System.Data.DataColumn("PRSER", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRSER);
+ this.columnPRPNS = new global::System.Data.DataColumn("PRPNS", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRPNS);
+ this.columnPRUXE = new global::System.Data.DataColumn("PRUXE", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRUXE);
+ this.columnPRPES = new global::System.Data.DataColumn("PRPES", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRPES);
+ this.columnPRCI = new global::System.Data.DataColumn("PRCI", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRCI);
+ this.columnPRMAR = new global::System.Data.DataColumn("PRMAR", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRMAR);
+ this.columnPRMDL = new global::System.Data.DataColumn("PRMDL", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRMDL);
+ this.columnPRVGU = new global::System.Data.DataColumn("PRVGU", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRVGU);
+ this.columnPRPCM = new global::System.Data.DataColumn("PRPCM", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRPCM);
+ this.columnPRUPC = new global::System.Data.DataColumn("PRUPC", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRUPC);
+ this.columnPRPVP = new global::System.Data.DataColumn("PRPVP", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRPVP);
+ this.columnPRDTO = new global::System.Data.DataColumn("PRDTO", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRDTO);
+ this.columnPRFAMH = new global::System.Data.DataColumn("PRFAMH", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRFAMH);
+ this.columnPREXI1 = new global::System.Data.DataColumn("PREXI1", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPREXI1);
+ this.columnPREXI2 = new global::System.Data.DataColumn("PREXI2", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPREXI2);
+ this.columnPREXI3 = new global::System.Data.DataColumn("PREXI3", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPREXI3);
+ this.columnPREXI4 = new global::System.Data.DataColumn("PREXI4", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPREXI4);
+ this.columnPREXI5 = new global::System.Data.DataColumn("PREXI5", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPREXI5);
+ this.columnPREXI6 = new global::System.Data.DataColumn("PREXI6", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPREXI6);
+ this.columnPRFUR1 = new global::System.Data.DataColumn("PRFUR1", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRFUR1);
+ this.columnPRFUR2 = new global::System.Data.DataColumn("PRFUR2", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRFUR2);
+ this.columnPRFUR3 = new global::System.Data.DataColumn("PRFUR3", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRFUR3);
+ this.columnPRFUR4 = new global::System.Data.DataColumn("PRFUR4", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRFUR4);
+ this.columnPRFUR5 = new global::System.Data.DataColumn("PRFUR5", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRFUR5);
+ this.columnPRFUR6 = new global::System.Data.DataColumn("PRFUR6", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRFUR6);
+ this.columnPRNMA1 = new global::System.Data.DataColumn("PRNMA1", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRNMA1);
+ this.columnPRNMA2 = new global::System.Data.DataColumn("PRNMA2", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRNMA2);
+ this.columnPRNMA3 = new global::System.Data.DataColumn("PRNMA3", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRNMA3);
+ this.columnPRNMA4 = new global::System.Data.DataColumn("PRNMA4", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRNMA4);
+ this.columnPRNMA5 = new global::System.Data.DataColumn("PRNMA5", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRNMA5);
+ this.columnPRNMA6 = new global::System.Data.DataColumn("PRNMA6", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRNMA6);
+ this.columnPREXT = new global::System.Data.DataColumn("PREXT", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPREXT);
+ this.columnPRSMI = new global::System.Data.DataColumn("PRSMI", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRSMI);
+ this.columnPREXM = new global::System.Data.DataColumn("PREXM", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPREXM);
+ this.columnPRMGPA = new global::System.Data.DataColumn("PRMGPA", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRMGPA);
+ this.columnPRMOPA = new global::System.Data.DataColumn("PRMOPA", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRMOPA);
+ this.columnPRCOPA = new global::System.Data.DataColumn("PRCOPA", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRCOPA);
+ this.columnPRUBI = new global::System.Data.DataColumn("PRUBI", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRUBI);
+ this.columnPRCEA = new global::System.Data.DataColumn("PRCEA", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRCEA);
+ this.columnPRAL1 = new global::System.Data.DataColumn("PRAL1", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRAL1);
+ this.columnPRAL2 = new global::System.Data.DataColumn("PRAL2", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRAL2);
+ this.columnPRAL3 = new global::System.Data.DataColumn("PRAL3", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRAL3);
+ this.columnPRAL4 = new global::System.Data.DataColumn("PRAL4", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRAL4);
+ this.columnPRNL1 = new global::System.Data.DataColumn("PRNL1", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRNL1);
+ this.columnPRNL2 = new global::System.Data.DataColumn("PRNL2", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRNL2);
+ this.columnPRNL3 = new global::System.Data.DataColumn("PRNL3", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRNL3);
+ this.columnPRNL4 = new global::System.Data.DataColumn("PRNL4", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRNL4);
+ this.columnPRSIT = new global::System.Data.DataColumn("PRSIT", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPRSIT);
+ this.columnPROBS = new global::System.Data.DataColumn("PROBS", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPROBS);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public DatosRow NewDatosRow() {
+ return ((DatosRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new DatosRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(DatosRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.DatosRowChanged != null)) {
+ this.DatosRowChanged(this, new DatosRowChangeEvent(((DatosRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.DatosRowChanging != null)) {
+ this.DatosRowChanging(this, new DatosRowChangeEvent(((DatosRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.DatosRowDeleted != null)) {
+ this.DatosRowDeleted(this, new DatosRowChangeEvent(((DatosRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.DatosRowDeleting != null)) {
+ this.DatosRowDeleting(this, new DatosRowChangeEvent(((DatosRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void RemoveDatosRow(DatosRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ PRODUCTOS ds = new PRODUCTOS();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "DatosDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class DatosRow : global::System.Data.DataRow {
+
+ private DatosDataTable tableDatos;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ internal DatosRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableDatos = ((DatosDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRCOD {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRCODColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRCOD\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRCODColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRDES {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRDESColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRDES\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRDESColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRDESL {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRDESLColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRDESL\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRDESLColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRFAM {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRFAMColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRFAM\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRFAMColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRTHO {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRTHOColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRTHO\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRTHOColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRCFP {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRCFPColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRCFP\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRCFPColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRRFA {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRRFAColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRRFA\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRRFAColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRTPR {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRTPRColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRTPR\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRTPRColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRCBR {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRCBRColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRCBR\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRCBRColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PREXP {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PREXPColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PREXP\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PREXPColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRDPM {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRDPMColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRDPM\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRDPMColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRSER {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRSERColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRSER\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRSERColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRPNS {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRPNSColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRPNS\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRPNSColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRUXE {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRUXEColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRUXE\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRUXEColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRPES {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRPESColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRPES\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRPESColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRCI {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRCIColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRCI\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRCIColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRMAR {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRMARColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRMAR\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRMARColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRMDL {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRMDLColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRMDL\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRMDLColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRVGU {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRVGUColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRVGU\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRVGUColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRPCM {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRPCMColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRPCM\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRPCMColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRUPC {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRUPCColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRUPC\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRUPCColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRPVP {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRPVPColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRPVP\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRPVPColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRDTO {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRDTOColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRDTO\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRDTOColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRFAMH {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRFAMHColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRFAMH\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRFAMHColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PREXI1 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PREXI1Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PREXI1\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PREXI1Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PREXI2 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PREXI2Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PREXI2\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PREXI2Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PREXI3 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PREXI3Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PREXI3\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PREXI3Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PREXI4 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PREXI4Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PREXI4\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PREXI4Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PREXI5 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PREXI5Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PREXI5\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PREXI5Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PREXI6 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PREXI6Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PREXI6\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PREXI6Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRFUR1 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRFUR1Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRFUR1\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRFUR1Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRFUR2 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRFUR2Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRFUR2\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRFUR2Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRFUR3 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRFUR3Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRFUR3\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRFUR3Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRFUR4 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRFUR4Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRFUR4\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRFUR4Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRFUR5 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRFUR5Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRFUR5\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRFUR5Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRFUR6 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRFUR6Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRFUR6\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRFUR6Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRNMA1 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRNMA1Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRNMA1\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRNMA1Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRNMA2 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRNMA2Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRNMA2\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRNMA2Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRNMA3 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRNMA3Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRNMA3\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRNMA3Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRNMA4 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRNMA4Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRNMA4\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRNMA4Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRNMA5 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRNMA5Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRNMA5\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRNMA5Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRNMA6 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRNMA6Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRNMA6\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRNMA6Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PREXT {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PREXTColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PREXT\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PREXTColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRSMI {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRSMIColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRSMI\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRSMIColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PREXM {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PREXMColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PREXM\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PREXMColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRMGPA {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRMGPAColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRMGPA\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRMGPAColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRMOPA {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRMOPAColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRMOPA\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRMOPAColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRCOPA {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRCOPAColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRCOPA\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRCOPAColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRUBI {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRUBIColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRUBI\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRUBIColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRCEA {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRCEAColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRCEA\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRCEAColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRAL1 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRAL1Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRAL1\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRAL1Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRAL2 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRAL2Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRAL2\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRAL2Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRAL3 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRAL3Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRAL3\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRAL3Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRAL4 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRAL4Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRAL4\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRAL4Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRNL1 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRNL1Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRNL1\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRNL1Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRNL2 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRNL2Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRNL2\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRNL2Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRNL3 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRNL3Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRNL3\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRNL3Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRNL4 {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRNL4Column]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRNL4\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRNL4Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PRSIT {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PRSITColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PRSIT\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PRSITColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public string PROBS {
+ get {
+ try {
+ return ((string)(this[this.tableDatos.PROBSColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("El valor de la columna \'PROBS\' de la tabla \'Datos\' es DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatos.PROBSColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRCODNull() {
+ return this.IsNull(this.tableDatos.PRCODColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRCODNull() {
+ this[this.tableDatos.PRCODColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRDESNull() {
+ return this.IsNull(this.tableDatos.PRDESColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRDESNull() {
+ this[this.tableDatos.PRDESColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRDESLNull() {
+ return this.IsNull(this.tableDatos.PRDESLColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRDESLNull() {
+ this[this.tableDatos.PRDESLColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRFAMNull() {
+ return this.IsNull(this.tableDatos.PRFAMColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRFAMNull() {
+ this[this.tableDatos.PRFAMColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRTHONull() {
+ return this.IsNull(this.tableDatos.PRTHOColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRTHONull() {
+ this[this.tableDatos.PRTHOColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRCFPNull() {
+ return this.IsNull(this.tableDatos.PRCFPColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRCFPNull() {
+ this[this.tableDatos.PRCFPColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRRFANull() {
+ return this.IsNull(this.tableDatos.PRRFAColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRRFANull() {
+ this[this.tableDatos.PRRFAColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRTPRNull() {
+ return this.IsNull(this.tableDatos.PRTPRColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRTPRNull() {
+ this[this.tableDatos.PRTPRColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRCBRNull() {
+ return this.IsNull(this.tableDatos.PRCBRColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRCBRNull() {
+ this[this.tableDatos.PRCBRColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPREXPNull() {
+ return this.IsNull(this.tableDatos.PREXPColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPREXPNull() {
+ this[this.tableDatos.PREXPColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRDPMNull() {
+ return this.IsNull(this.tableDatos.PRDPMColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRDPMNull() {
+ this[this.tableDatos.PRDPMColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRSERNull() {
+ return this.IsNull(this.tableDatos.PRSERColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRSERNull() {
+ this[this.tableDatos.PRSERColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRPNSNull() {
+ return this.IsNull(this.tableDatos.PRPNSColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRPNSNull() {
+ this[this.tableDatos.PRPNSColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRUXENull() {
+ return this.IsNull(this.tableDatos.PRUXEColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRUXENull() {
+ this[this.tableDatos.PRUXEColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRPESNull() {
+ return this.IsNull(this.tableDatos.PRPESColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRPESNull() {
+ this[this.tableDatos.PRPESColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRCINull() {
+ return this.IsNull(this.tableDatos.PRCIColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRCINull() {
+ this[this.tableDatos.PRCIColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRMARNull() {
+ return this.IsNull(this.tableDatos.PRMARColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRMARNull() {
+ this[this.tableDatos.PRMARColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRMDLNull() {
+ return this.IsNull(this.tableDatos.PRMDLColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRMDLNull() {
+ this[this.tableDatos.PRMDLColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRVGUNull() {
+ return this.IsNull(this.tableDatos.PRVGUColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRVGUNull() {
+ this[this.tableDatos.PRVGUColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRPCMNull() {
+ return this.IsNull(this.tableDatos.PRPCMColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRPCMNull() {
+ this[this.tableDatos.PRPCMColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRUPCNull() {
+ return this.IsNull(this.tableDatos.PRUPCColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRUPCNull() {
+ this[this.tableDatos.PRUPCColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRPVPNull() {
+ return this.IsNull(this.tableDatos.PRPVPColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRPVPNull() {
+ this[this.tableDatos.PRPVPColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRDTONull() {
+ return this.IsNull(this.tableDatos.PRDTOColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRDTONull() {
+ this[this.tableDatos.PRDTOColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRFAMHNull() {
+ return this.IsNull(this.tableDatos.PRFAMHColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRFAMHNull() {
+ this[this.tableDatos.PRFAMHColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPREXI1Null() {
+ return this.IsNull(this.tableDatos.PREXI1Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPREXI1Null() {
+ this[this.tableDatos.PREXI1Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPREXI2Null() {
+ return this.IsNull(this.tableDatos.PREXI2Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPREXI2Null() {
+ this[this.tableDatos.PREXI2Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPREXI3Null() {
+ return this.IsNull(this.tableDatos.PREXI3Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPREXI3Null() {
+ this[this.tableDatos.PREXI3Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPREXI4Null() {
+ return this.IsNull(this.tableDatos.PREXI4Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPREXI4Null() {
+ this[this.tableDatos.PREXI4Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPREXI5Null() {
+ return this.IsNull(this.tableDatos.PREXI5Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPREXI5Null() {
+ this[this.tableDatos.PREXI5Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPREXI6Null() {
+ return this.IsNull(this.tableDatos.PREXI6Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPREXI6Null() {
+ this[this.tableDatos.PREXI6Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRFUR1Null() {
+ return this.IsNull(this.tableDatos.PRFUR1Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRFUR1Null() {
+ this[this.tableDatos.PRFUR1Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRFUR2Null() {
+ return this.IsNull(this.tableDatos.PRFUR2Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRFUR2Null() {
+ this[this.tableDatos.PRFUR2Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRFUR3Null() {
+ return this.IsNull(this.tableDatos.PRFUR3Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRFUR3Null() {
+ this[this.tableDatos.PRFUR3Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRFUR4Null() {
+ return this.IsNull(this.tableDatos.PRFUR4Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRFUR4Null() {
+ this[this.tableDatos.PRFUR4Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRFUR5Null() {
+ return this.IsNull(this.tableDatos.PRFUR5Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRFUR5Null() {
+ this[this.tableDatos.PRFUR5Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRFUR6Null() {
+ return this.IsNull(this.tableDatos.PRFUR6Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRFUR6Null() {
+ this[this.tableDatos.PRFUR6Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRNMA1Null() {
+ return this.IsNull(this.tableDatos.PRNMA1Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRNMA1Null() {
+ this[this.tableDatos.PRNMA1Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRNMA2Null() {
+ return this.IsNull(this.tableDatos.PRNMA2Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRNMA2Null() {
+ this[this.tableDatos.PRNMA2Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRNMA3Null() {
+ return this.IsNull(this.tableDatos.PRNMA3Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRNMA3Null() {
+ this[this.tableDatos.PRNMA3Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRNMA4Null() {
+ return this.IsNull(this.tableDatos.PRNMA4Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRNMA4Null() {
+ this[this.tableDatos.PRNMA4Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRNMA5Null() {
+ return this.IsNull(this.tableDatos.PRNMA5Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRNMA5Null() {
+ this[this.tableDatos.PRNMA5Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRNMA6Null() {
+ return this.IsNull(this.tableDatos.PRNMA6Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRNMA6Null() {
+ this[this.tableDatos.PRNMA6Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPREXTNull() {
+ return this.IsNull(this.tableDatos.PREXTColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPREXTNull() {
+ this[this.tableDatos.PREXTColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRSMINull() {
+ return this.IsNull(this.tableDatos.PRSMIColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRSMINull() {
+ this[this.tableDatos.PRSMIColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPREXMNull() {
+ return this.IsNull(this.tableDatos.PREXMColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPREXMNull() {
+ this[this.tableDatos.PREXMColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRMGPANull() {
+ return this.IsNull(this.tableDatos.PRMGPAColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRMGPANull() {
+ this[this.tableDatos.PRMGPAColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRMOPANull() {
+ return this.IsNull(this.tableDatos.PRMOPAColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRMOPANull() {
+ this[this.tableDatos.PRMOPAColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRCOPANull() {
+ return this.IsNull(this.tableDatos.PRCOPAColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRCOPANull() {
+ this[this.tableDatos.PRCOPAColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRUBINull() {
+ return this.IsNull(this.tableDatos.PRUBIColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRUBINull() {
+ this[this.tableDatos.PRUBIColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRCEANull() {
+ return this.IsNull(this.tableDatos.PRCEAColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRCEANull() {
+ this[this.tableDatos.PRCEAColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRAL1Null() {
+ return this.IsNull(this.tableDatos.PRAL1Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRAL1Null() {
+ this[this.tableDatos.PRAL1Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRAL2Null() {
+ return this.IsNull(this.tableDatos.PRAL2Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRAL2Null() {
+ this[this.tableDatos.PRAL2Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRAL3Null() {
+ return this.IsNull(this.tableDatos.PRAL3Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRAL3Null() {
+ this[this.tableDatos.PRAL3Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRAL4Null() {
+ return this.IsNull(this.tableDatos.PRAL4Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRAL4Null() {
+ this[this.tableDatos.PRAL4Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRNL1Null() {
+ return this.IsNull(this.tableDatos.PRNL1Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRNL1Null() {
+ this[this.tableDatos.PRNL1Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRNL2Null() {
+ return this.IsNull(this.tableDatos.PRNL2Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRNL2Null() {
+ this[this.tableDatos.PRNL2Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRNL3Null() {
+ return this.IsNull(this.tableDatos.PRNL3Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRNL3Null() {
+ this[this.tableDatos.PRNL3Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRNL4Null() {
+ return this.IsNull(this.tableDatos.PRNL4Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRNL4Null() {
+ this[this.tableDatos.PRNL4Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPRSITNull() {
+ return this.IsNull(this.tableDatos.PRSITColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPRSITNull() {
+ this[this.tableDatos.PRSITColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public bool IsPROBSNull() {
+ return this.IsNull(this.tableDatos.PROBSColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public void SetPROBSNull() {
+ this[this.tableDatos.PROBSColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public class DatosRowChangeEvent : global::System.EventArgs {
+
+ private DatosRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public DatosRowChangeEvent(DatosRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public DatosRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+ }
+}
+
+#pragma warning restore 1591
\ No newline at end of file
diff --git a/bdGrupoSanchoToro/XSD/DAT-PRODUCTOS.xsc b/bdGrupoSanchoToro/XSD/DAT-PRODUCTOS.xsc
new file mode 100644
index 0000000..5f28270
--- /dev/null
+++ b/bdGrupoSanchoToro/XSD/DAT-PRODUCTOS.xsc
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/bdGrupoSanchoToro/XSD/DAT-PRODUCTOS.xsd b/bdGrupoSanchoToro/XSD/DAT-PRODUCTOS.xsd
new file mode 100644
index 0000000..229e759
--- /dev/null
+++ b/bdGrupoSanchoToro/XSD/DAT-PRODUCTOS.xsd
@@ -0,0 +1,75 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/bdGrupoSanchoToro/XSD/DAT-PRODUCTOS.xss b/bdGrupoSanchoToro/XSD/DAT-PRODUCTOS.xss
new file mode 100644
index 0000000..5f28270
--- /dev/null
+++ b/bdGrupoSanchoToro/XSD/DAT-PRODUCTOS.xss
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/bdGrupoSanchoToro/bdGrupoSanchoToro.csproj b/bdGrupoSanchoToro/bdGrupoSanchoToro.csproj
index 95d91f0..c26a84f 100644
--- a/bdGrupoSanchoToro/bdGrupoSanchoToro.csproj
+++ b/bdGrupoSanchoToro/bdGrupoSanchoToro.csproj
@@ -36,18 +36,45 @@
+
+ True
+ True
+ DAT-CTESGESL.xsd
+
+
+ True
+ True
+ DAT-FAMILIAS.xsd
+
True
True
DAT-GRUASGC.xsd
+
+ True
+ True
+ DAT-PRODUCTOS.xsd
+
+
+ MSDataSetGenerator
+ DAT-CTESGESL.Designer.cs
+
+
+ MSDataSetGenerator
+ DAT-FAMILIAS.Designer.cs
+
MSDataSetGenerator
DAT-GRUASGC.Designer.cs
+
+ MSDataSetGenerator
+ DAT-PRODUCTOS.Designer.cs
+
diff --git a/bdGrupoSanchoToro/db/productos.cs b/bdGrupoSanchoToro/db/productos.cs
index 8f1e4b3..c8171ce 100644
--- a/bdGrupoSanchoToro/db/productos.cs
+++ b/bdGrupoSanchoToro/db/productos.cs
@@ -11,7 +11,7 @@ public partial class productos
public string Codigo { get; set; } = null!;
- public string? DescripcionAbreviada { get; set; }
+ public string DescripcionAbreviada { get; set; } = null!;
public string Descripcion { get; set; } = null!;
@@ -27,28 +27,16 @@ public partial class productos
public string? CodigoBarras { get; set; }
- public string? NumeroSerie { get; set; }
-
public string? PrefijoNumeroSerie { get; set; }
public double? UnidadesPorEmbalaje { get; set; }
- public double Peso { get; set; }
-
- public int? idCodigoImpresion { get; set; }
+ public int? TipoImpresion { get; set; }
public int? idMarca { get; set; }
public string? Modelo { get; set; }
- public bool? VentaGruaUsada { get; set; }
-
- public double? PrecioCosteMedio { get; set; }
-
- public double? UltimoPrecioCoste { get; set; }
-
- public double PrecioVenta { get; set; }
-
public DateOnly FechaAlta { get; set; }
public DateTime? FechaBaja { get; set; }
@@ -57,32 +45,38 @@ public partial class productos
public int? idFamiliaHomologacion { get; set; }
- public double? ExistenciasTotal { get; set; }
-
- public string? StockMinimo { get; set; }
-
- public double? ExistenciasMedias { get; set; }
-
- public string? ModeloGruaPatas { get; set; }
-
- public string? ModelosPatas { get; set; }
-
- public string? CorrespondenciaPatas { get; set; }
-
- public string? Ubicacion { get; set; }
-
- public string? ControlarEnAlbaran { get; set; }
-
public int? idUsuarioCreador { get; set; }
public int? idUsuarioModificador { get; set; }
public string? Observaciones { get; set; }
- public int idEmpresa { get; set; }
+ public int? idEmpresa { get; set; }
+
+ public double? UltimoPrecioCoste { get; set; }
public double? UltimoPrecioCompra { get; set; }
+ public double TotalUnidades { get; set; }
+
+ public double UnidadesInicialesOFabricadas { get; set; }
+
+ public double UnidadesCompradas { get; set; }
+
+ public double UnidadesVendidas { get; set; }
+
+ public double UnidadesAlquiladas { get; set; }
+
+ public double UnidadesAveriadas { get; set; }
+
+ public double UnidadesDesechadas { get; set; }
+
+ public double UnidadesSubAlquiladas { get; set; }
+
+ public double? PrecioAlquilerMensual { get; set; }
+
+ public double? PrecioVenta { get; set; }
+
public virtual ICollection articulos { get; set; } = new List();
public virtual ICollection detallepresupuesto { get; set; } = new List();
@@ -93,7 +87,7 @@ public partial class productos
public virtual ICollection detallesfacturasrecibidas { get; set; } = new List();
- public virtual empresas idEmpresaNavigation { get; set; } = null!;
+ public virtual empresas? idEmpresaNavigation { get; set; }
public virtual familias? idFamiliaNavigation { get; set; }
diff --git a/bdGrupoSanchoToro/dbcontext/GrupoSanchoToroContext.cs b/bdGrupoSanchoToro/dbcontext/GrupoSanchoToroContext.cs
index 75db033..864e406 100644
--- a/bdGrupoSanchoToro/dbcontext/GrupoSanchoToroContext.cs
+++ b/bdGrupoSanchoToro/dbcontext/GrupoSanchoToroContext.cs
@@ -2056,6 +2056,8 @@ public partial class GrupoSanchoToroContext : DbContext
entity.HasIndex(e => e.Codigo, "Codigo_UNIQUE").IsUnique();
+ entity.HasIndex(e => e.DescripcionAbreviada, "DescripcionAbreviada_UNIQUE").IsUnique();
+
entity.HasIndex(e => e.Descripcion, "Descripcion_UNIQUE").IsUnique();
entity.HasIndex(e => e.idUsuarioCreador, "productos_01_usuarios_idx");
@@ -2070,8 +2072,6 @@ public partial class GrupoSanchoToroContext : DbContext
entity.Property(e => e.Codigo).HasMaxLength(40);
entity.Property(e => e.CodigoBarras).HasMaxLength(16);
- entity.Property(e => e.ControlarEnAlbaran).HasMaxLength(2);
- entity.Property(e => e.CorrespondenciaPatas).HasMaxLength(45);
entity.Property(e => e.Descripcion)
.HasMaxLength(100)
.UseCollation("latin1_swedish_ci")
@@ -2079,20 +2079,17 @@ public partial class GrupoSanchoToroContext : DbContext
entity.Property(e => e.DescripcionAbreviada).HasMaxLength(45);
entity.Property(e => e.FechaBaja).HasColumnType("datetime");
entity.Property(e => e.Modelo).HasMaxLength(50);
- entity.Property(e => e.ModeloGruaPatas).HasMaxLength(45);
- entity.Property(e => e.ModelosPatas).HasMaxLength(45);
- entity.Property(e => e.NumeroSerie).HasMaxLength(2);
entity.Property(e => e.Observaciones)
.HasMaxLength(300)
.UseCollation("latin1_swedish_ci")
.HasCharSet("latin1");
+ entity.Property(e => e.PrecioVenta).HasDefaultValueSql("'0'");
entity.Property(e => e.PrefijoNumeroSerie).HasMaxLength(8);
entity.Property(e => e.ReferenciaFabrica).HasMaxLength(45);
- entity.Property(e => e.StockMinimo).HasMaxLength(45);
- entity.Property(e => e.Ubicacion).HasMaxLength(45);
entity.HasOne(d => d.idEmpresaNavigation).WithMany(p => p.productos)
.HasForeignKey(d => d.idEmpresa)
+ .OnDelete(DeleteBehavior.Cascade)
.HasConstraintName("productos_empresas");
entity.HasOne(d => d.idFamiliaNavigation).WithMany(p => p.productos)
diff --git a/bdGrupoSanchoToro/efpt.config.json b/bdGrupoSanchoToro/efpt.config.json
index fa99e30..3f48bd6 100644
--- a/bdGrupoSanchoToro/efpt.config.json
+++ b/bdGrupoSanchoToro/efpt.config.json
@@ -4,15 +4,18 @@
"ContextNamespace": null,
"FilterSchemas": false,
"IncludeConnectionString": false,
- "MinimumProductVersion": "2.6.1186",
+ "IrregularWords": null,
+ "MinimumProductVersion": "2.6.1301",
"ModelNamespace": null,
"OutputContextPath": "dbcontext",
"OutputPath": "db",
+ "PluralRules": null,
"PreserveCasingWithRegex": true,
"ProjectRootNamespace": "bdGrupoSanchoToro",
"Schemas": null,
"SelectedHandlebarsLanguage": 2,
"SelectedToBeGenerated": 0,
+ "SingularRules": null,
"T4TemplatePath": null,
"Tables": [
{
diff --git a/bdGrupoSanchoToro/extensiones/albaranes.cs b/bdGrupoSanchoToro/extensiones/albaranes.cs
new file mode 100644
index 0000000..9f798fb
--- /dev/null
+++ b/bdGrupoSanchoToro/extensiones/albaranes.cs
@@ -0,0 +1,185 @@
+using System;
+using System.Data;
+using System.Linq;
+using static bdGrupoSanchoToro.db.almacenes;
+using Microsoft.VisualBasic.CompilerServices;
+using static tsUtilidades.Extensiones.StringExtensions;
+using System.Drawing.Imaging;
+using System.ComponentModel;
+using System.Runtime.CompilerServices;
+
+namespace bdGrupoSanchoToro.db
+{
+
+ public partial class albaranes :INotifyPropertyChanged
+ {
+ public municipios? municipios
+ {
+ get
+ {
+ return this.CodigoMunicipioCargaNavigation;
+ }
+ }
+ public municipios? municipios1
+ {
+ get
+ {
+ return this.CodigoMunicipioDescargaNavigation;
+ }
+ }
+ public presupuestos? presupuestos
+ {
+ get
+ {
+ return this.idPresupuestoNavigation;
+ }
+ }
+ public entidades? entidades
+ {
+ get
+ {
+ return this.idEntidadNavigation;
+ }
+ }
+ public usuarios usuarios
+ {
+ get
+ {
+ return this.idUsuarioNavigation;
+ }
+ }
+
+ public string Entidad
+ {
+ get
+ {
+ if (this.idEntidad.HasValue)
+ {
+ return this.entidades.RazonSocial;
+ }
+ else
+ {
+ return "";
+ }
+ }
+ }
+ public string DescripcionTipoAlbaran
+ {
+ get
+ {
+ return ((TipoAlbaranEnum)this.Tipo).ToString().Replace("_", " ");
+ }
+ }
+ public string NumeroAlbaran
+ {
+ get
+ {
+ return albaranes.ObtieneNumeroAlbaran(this.idAlbaran, (PrefijoAlbaranEnum)this.Tipo);
+ }
+ }
+
+ public event PropertyChangedEventHandler? PropertyChanged;
+
+ public static string ObtieneNumeroAlbaran(int idAlbaran, PrefijoAlbaranEnum Tipo)
+ {
+ return Tipo.ToString() + "-" + idAlbaran.ToString().PadLeft(6, '0');
+ }
+ public string Usuario
+ {
+ get
+ {
+ if (this.usuarios is null)
+ {
+ return "";
+ }
+ else
+ {
+ return this.usuarios.Nombre;
+ }
+ }
+ }
+ public string PoblacionCarga
+ {
+ get
+ {
+ return Conversions.ToString(municipios.ObtienePoblacion(this.CodigoMunicipioCarga));
+ }
+ }
+ public string PoblacionDescarga
+ {
+ get
+ {
+ return Conversions.ToString(municipios.ObtienePoblacion(this.CodigoMunicipioDescarga));
+ }
+ }
+
+ public string ProvinciaCarga
+ {
+ get
+ {
+ if (this.municipios!=null && !string.IsNullOrEmpty(this.CodigoMunicipioCarga.NothingAVacio()))
+ {
+ return this.municipios.provincias.Nombre;
+ }
+ else
+ {
+ return "";
+ }
+ }
+ }
+ public string ProvinciaDescarga
+ {
+ get
+ {
+ if (this.municipios1 != null && !string.IsNullOrEmpty(this.CodigoMunicipioDescarga.NothingAVacio()))
+ {
+ return this.municipios1.provincias.Nombre;
+ }
+ else
+ {
+ return "";
+ }
+ }
+ }
+ public void RefrescaCamposSoloLectura()
+ {
+ this.OnPropertyChanged("PoblacionCarga");
+ this.OnPropertyChanged("PoblacionDescarga");
+ this.OnPropertyChanged("ProvinciaCarga");
+ this.OnPropertyChanged("ProvinciaDescarga");
+ this.OnPropertyChanged("CodigoPostalCarga");
+ this.OnPropertyChanged("CodigoPostalDescarga");
+ }
+ protected void OnPropertyChanged([CallerMemberName] string name = null)
+ {
+ PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name));
+ }
+ public enum TipoAlbaranEnum : int
+ {
+ ENTREGA = 0,
+ RECOGIDA = 1,
+ CAMBIO_ALMACEN = 2,
+ SUBALQUILER = 3,
+ DEVOLUCION_SUBALQUILER = 4,
+ STOCK_INICIAL_O_FABRICACION = 100,
+ COMPRA = 101
+ }
+ public enum PrefijoAlbaranEnum : int
+ {
+ AENT = 0,
+ AREC = 1,
+ ACMA = 2,
+ ASBA = 3,
+ ADSA = 4,
+ ASIOF = 100,
+ ACMP = 101
+ }
+
+ public enum TipoImpresionAlbaranEntregaEnum : int
+ {
+ IMPRIMIR_CONTRATO = 0,
+ IMPRIMIR_ALBARAN_NO_VALORADO = 1,
+ IMPRIMIR_ALBARAN_VALORADO = 2,
+ }
+ }
+}
\ No newline at end of file
diff --git a/bdGrupoSanchoToro/extensiones/detallesalbaranes.cs b/bdGrupoSanchoToro/extensiones/detallesalbaranes.cs
new file mode 100644
index 0000000..21bc7c3
--- /dev/null
+++ b/bdGrupoSanchoToro/extensiones/detallesalbaranes.cs
@@ -0,0 +1,188 @@
+using System;
+using System.Linq;
+using static bdGrupoSanchoToro.db.productos;
+
+namespace bdGrupoSanchoToro.db
+{
+
+ public partial class detallesalbaranes
+ {
+ //public albaranes albaranes
+ //{
+ // get
+ // {
+ // return this.idAlbaranNavigation;
+ // }
+ //}
+ public string NumeroAlbaran
+ {
+ get
+ {
+ return this.idAlbaranNavigation.NumeroAlbaran;
+ }
+ }
+ public DateOnly FechaAlbaran
+ {
+ get
+ {
+ return this.idAlbaranNavigation.Fecha;
+ }
+ }
+ public string AlmacenOrigen
+ {
+ get
+ {
+ if (this.idAlbaranNavigation.idAlmacenOrigen.HasValue)
+ {
+ return this.idAlbaranNavigation.idAlmacenOrigenNavigation.Descripcion;
+ }
+ else
+ {
+ return "";
+ }
+ }
+ }
+ public string AlmacenDestino
+ {
+ get
+ {
+ if (idAlbaranNavigation.idAlmacenDestino.HasValue)
+ {
+ return idAlbaranNavigation.idAlmacenDestinoNavigation.Descripcion;
+ }
+ else
+ {
+ return "";
+ }
+ }
+ }
+ public string Entidad
+ {
+ get
+ {
+ return this.idAlbaranNavigation.Entidad;
+ }
+ }
+ public void ActualizaProducto(bdGrupoSanchoToro.dbcontext.GrupoSanchoToroContext bd, int Factor)
+ {
+ try
+ {
+ var pr = bd.productos.First(x => x.idProducto == this.idProducto);
+ if (pr.Tipo != (int)TipoProductoEnum.SERVICIO )
+ {
+ var almo = this.idAlbaranNavigation.idAlmacenOrigen.HasValue ? bd.almacenes.First(x => x.idAlmacen== idAlbaranNavigation.idAlmacenOrigen) : (almacenes)null;
+ var almd = this.idAlbaranNavigation.idAlmacenDestino.HasValue ? bd.almacenes.First(x => x.idAlmacen == this.idAlbaranNavigation.idAlmacenDestino) : (almacenes)null;
+ switch ((albaranes.TipoAlbaranEnum)this.idAlbaranNavigation.Tipo)
+ {
+ case albaranes.TipoAlbaranEnum.COMPRA:
+ case albaranes.TipoAlbaranEnum.STOCK_INICIAL_O_FABRICACION:
+ {
+ this.ActStockPorAlmacen(bd, Factor, almd.idAlmacen, pr.idProducto);
+ pr.UnidadesInicialesOFabricadas += this.Cantidad * (double)Factor;
+ this.ActStockGlobal(pr, (almacenes.TipoAlmacenEnum)almd.Tipo, true, Factor);
+ break;
+ }
+ case albaranes.TipoAlbaranEnum.CAMBIO_ALMACEN:
+ {
+ this.ActStockPorAlmacen(bd, Factor * -1, almo.idAlmacen, pr.idProducto);
+ this.ActStockGlobal(pr, (almacenes.TipoAlmacenEnum)almo.Tipo, false, Factor * -1);
+
+ this.ActStockPorAlmacen(bd, Factor, almd.idAlmacen, pr.idProducto);
+ this.ActStockGlobal(pr, (almacenes.TipoAlmacenEnum)almd.Tipo, false, Factor);
+ break;
+ }
+ case albaranes.TipoAlbaranEnum.ENTREGA:
+ {
+ this.ActStockPorAlmacen(bd, Factor * -1, almo.idAlmacen, pr.idProducto);
+ this.ActStockGlobal(pr, (almacenes.TipoAlmacenEnum)almo.Tipo, this.EsVenta, Factor * -1);
+ if (this.EsVenta == false)
+ {
+ pr.UnidadesAlquiladas += this.Cantidad * (double)Factor;
+ }
+ else
+ {
+ pr.UnidadesVendidas += this.Cantidad * (double)Factor;
+ }
+
+ break;
+ }
+ case albaranes.TipoAlbaranEnum.RECOGIDA:
+ {
+ this.ActStockPorAlmacen(bd, Factor, almd.idAlmacen, pr.idProducto);
+ this.ActStockGlobal(pr, (almacenes.TipoAlmacenEnum)almd.Tipo, false, Factor);
+ pr.UnidadesAlquiladas += this.Cantidad * (double)Factor * (double)-1;
+ break;
+ }
+ case albaranes.TipoAlbaranEnum.SUBALQUILER:
+ {
+ this.ActStockPorAlmacen(bd, Factor, almd.idAlmacen, pr.idProducto);
+ this.ActStockGlobal(pr, (almacenes.TipoAlmacenEnum)almd.Tipo, true, Factor);
+ pr.UnidadesSubAlquiladas += this.Cantidad * (double)Factor;
+ break;
+ }
+ case albaranes.TipoAlbaranEnum.DEVOLUCION_SUBALQUILER:
+ {
+ this.ActStockPorAlmacen(bd, Factor * -1, almo.idAlmacen, pr.idProducto);
+ this.ActStockGlobal(pr, (almacenes.TipoAlmacenEnum)almo.Tipo, true, Factor * -1);
+ pr.UnidadesSubAlquiladas += this.Cantidad * (double)Factor * (double)-1;
+ break;
+ }
+ }
+
+ // bd.SaveChanges()
+ }
+ }
+ catch (Exception ex)
+ {
+ throw new Exception(ex.Message, ex);
+ }
+ }
+ private void ActStockPorAlmacen(bdGrupoSanchoToro.dbcontext.GrupoSanchoToroContext bd, int Factor, int idAlmacen, int idProducto)
+ {
+ try
+ {
+ var st = bd.stocks.FirstOrDefault(x => x.idProducto == idProducto && x.idAlmacen == idAlmacen);
+ if (st is null)
+ {
+ st = new stocks();
+ st.idProducto = idProducto;
+ st.idAlmacen = idAlmacen;
+ st.Unidades = 0d;
+ bd.stocks.Add(st);
+ }
+ st.Unidades += this.Cantidad * (double)Factor;
+ }
+ catch (Exception ex)
+ {
+ throw new Exception(ex.Message, ex);
+ }
+ }
+ private void ActStockGlobal(productos pr, almacenes.TipoAlmacenEnum TipoAlmacen, bool ActTotalUnidades, int Factor)
+ {
+ try
+ {
+ switch (TipoAlmacen)
+ {
+ // Case almacenes.TipoAlmacenEnum.ALMACEN
+ case almacenes.TipoAlmacenEnum.TALLER_REPARACIONES:
+ {
+ pr.UnidadesAveriadas += this.Cantidad * (double)Factor;
+ break;
+ }
+ case almacenes.TipoAlmacenEnum.UNIDADES_DESCARTADAS:
+ {
+ pr.UnidadesDesechadas += this.Cantidad * (double)Factor;
+ break;
+ }
+ }
+ if (ActTotalUnidades)
+ pr.TotalUnidades += this.Cantidad * (double)Factor;
+ }
+ catch (Exception ex)
+ {
+ throw new Exception(ex.Message, ex);
+ }
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/bdGrupoSanchoToro/extensiones/productos.cs b/bdGrupoSanchoToro/extensiones/productos.cs
index 68e5443..0d9d705 100644
--- a/bdGrupoSanchoToro/extensiones/productos.cs
+++ b/bdGrupoSanchoToro/extensiones/productos.cs
@@ -46,8 +46,9 @@ namespace bdGrupoSanchoToro.db
GRUA = 0,
ELEMENTO_GRUA = 1,
REPUESTO =10,
- OTRO_MATERIAL = 11,
- MATERIAL_OFICINA = 12,
+ OTROS_PRODUCTOS = 11,
+ CONSUMIBLES =12,
+ MATERIAL_OFICINA = 13,
SERVICIO = 99,
}
}