From ec0e6a41c950b8228d9400d7428d124d32ed2eba Mon Sep 17 00:00:00 2001 From: Andres Ramos Date: Fri, 7 Apr 2023 19:13:32 -0500 Subject: [PATCH 01/14] feat: agrega metodo para cancelar documento por llave en IDocumentoService --- .../Interfaces/IDocumentoService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/Interfaces/IDocumentoService.cs b/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/Interfaces/IDocumentoService.cs index 30a5120e..c0ceb675 100644 --- a/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/Interfaces/IDocumentoService.cs +++ b/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/Interfaces/IDocumentoService.cs @@ -13,6 +13,7 @@ public interface IDocumentoService tLlaveDoc BuscarSiguienteSerieYFolio(string codigoConcepto); void Cancelar(int idDocumento, string contrasenaCertificado); void Cancelar(int idDocumento, string contrasenaCertificado, string motivoCancelacion, string uuidRemplazo); + void Cancelar(tLlaveDoc tLlaveDocumento, string contrasenaCertificado, string motivoCancelacion, string uuidRemplazo); void CancelarAdministrativamente(int idDocumento); void CancelarAdministrativamente(string codigoConcepto, string serie, string folio); void CancelarAdministrativamente(tLlaveDoc tLlaveDocumento); From 7448cbb09c40bccb6ebb0e810384fd7e1f5d012a Mon Sep 17 00:00:00 2001 From: Andres Ramos Date: Fri, 7 Apr 2023 19:15:01 -0500 Subject: [PATCH 02/14] feat: implementa metodo para cancelar documento por llave en DocumentoService --- .../Services/DocumentoService.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/Services/DocumentoService.cs b/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/Services/DocumentoService.cs index e9c8c5b3..9bf6df40 100644 --- a/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/Services/DocumentoService.cs +++ b/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/Services/DocumentoService.cs @@ -68,6 +68,13 @@ public void Cancelar(int idDocumento, string contrasenaCertificado, string motiv _sdk.fCancelaDocumentoConMotivo(motivoCancelacion, uuidRemplazo); } + public void Cancelar(tLlaveDoc tLlaveDocumento, string contrasenaCertificado, string motivoCancelacion, string uuidRemplazo) + { + _sdk.fBuscaDocumento(ref tLlaveDocumento).ToResultadoSdk(_sdk).ThrowIfError(); + _sdk.fCancelaDoctoInfo(contrasenaCertificado).ToResultadoSdk(_sdk).ThrowIfError(); + _sdk.fCancelaDocumentoConMotivo(motivoCancelacion, uuidRemplazo); + } + public void CancelarAdministrativamente(int idDocumento) { _sdk.fBuscarIdDocumento(idDocumento).ToResultadoSdk(_sdk).ThrowIfError(); From 2ef23ba1e7c4dab05185f4f1de512a6a91ff8d39 Mon Sep 17 00:00:00 2001 From: Andres Ramos Date: Fri, 7 Apr 2023 19:26:07 -0500 Subject: [PATCH 03/14] feat: agrega ejemplo de como cancelar documento por llave --- samples/Sdk.Extras.ConsoleApp/Catalogos/DocumentoSdk.cs | 7 +++++++ samples/Sdk.Extras.ConsoleApp/Program.cs | 5 ++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/samples/Sdk.Extras.ConsoleApp/Catalogos/DocumentoSdk.cs b/samples/Sdk.Extras.ConsoleApp/Catalogos/DocumentoSdk.cs index a59118dc..87fad425 100644 --- a/samples/Sdk.Extras.ConsoleApp/Catalogos/DocumentoSdk.cs +++ b/samples/Sdk.Extras.ConsoleApp/Catalogos/DocumentoSdk.cs @@ -179,6 +179,13 @@ public void CancelarDocumento() _documentoService.Cancelar(documento.CIDDOCUMENTO, "12345678a", "02", ""); } + public void CancelarDocumentoPorLlave() + { + _logger.LogInformation("CancelarDocumentoPorLlave()"); + var llave = new tLlaveDoc { aCodConcepto = "400", aSerie = "FAP", aFolio = 58 }; + _documentoService.Cancelar(llave, "12345678A", "02", ""); + } + public void LogDocumento(Documento documento) { _logger.LogInformation("Concepto:{Concepto}, Serie:{Serie}, Folio{Folio}, Cliente:{Cliente}, Total:{Total}", diff --git a/samples/Sdk.Extras.ConsoleApp/Program.cs b/samples/Sdk.Extras.ConsoleApp/Program.cs index 8d1ff771..db1d95de 100644 --- a/samples/Sdk.Extras.ConsoleApp/Program.cs +++ b/samples/Sdk.Extras.ConsoleApp/Program.cs @@ -1,5 +1,4 @@ -using ARSoftware.Contpaqi.Comercial.Sdk; -using ARSoftware.Contpaqi.Comercial.Sdk.Extras; +using ARSoftware.Contpaqi.Comercial.Sdk.Extras; using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Interfaces; using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Models; using Microsoft.Extensions.DependencyInjection; @@ -11,7 +10,7 @@ IHost host = Host.CreateDefaultBuilder() .ConfigureServices(collection => { - collection.AddContpaqiComercialSdkServices(TipoContpaqiSdk.FacturaElectronica); + collection.AddContpaqiComercialSdkServices(); collection.AddSingleton() .AddSingleton() .AddSingleton() From eac03557d5fed082b3a0ebe16a3fd4a05ef3a072 Mon Sep 17 00:00:00 2001 From: Andres Ramos Date: Sun, 9 Apr 2023 00:22:24 -0500 Subject: [PATCH 04/14] refactor: actualiza ejemplos en Sdk.Extras.ConsoleApp --- .../Catalogos/ClienteSdk.cs | 108 ----- .../Catalogos/ConceptoSdk.cs | 57 --- .../Catalogos/DocumentoSdk.cs | 218 --------- .../Catalogos/EmpresaSdk.cs | 28 -- .../Catalogos/ProductoSdk.cs | 90 ---- samples/Sdk.Extras.ConsoleApp/ConexionSdk.cs | 59 --- .../Sdk.Extras.ConsoleApp/Dtos/ClienteDto.cs | 14 + .../Sdk.Extras.ConsoleApp/Dtos/ConceptoDto.cs | 11 + .../Dtos/DocumentoDto.cs | 13 + .../Sdk.Extras.ConsoleApp/Dtos/ProductoDto.cs | 12 + .../Ejemplos/EjemplosCliente.cs | 213 +++++++++ .../Ejemplos/EjemplosConcepto.cs | 122 +++++ .../Ejemplos/EjemplosConexion.cs | 97 ++++ .../Ejemplos/EjemplosDocumento.cs | 428 ++++++++++++++++++ .../Ejemplos/EjemplosEmpresa.cs | 61 +++ .../Ejemplos/EjemplosProducto.cs | 175 +++++++ samples/Sdk.Extras.ConsoleApp/Program.cs | 52 +-- 17 files changed, 1170 insertions(+), 588 deletions(-) delete mode 100644 samples/Sdk.Extras.ConsoleApp/Catalogos/ClienteSdk.cs delete mode 100644 samples/Sdk.Extras.ConsoleApp/Catalogos/ConceptoSdk.cs delete mode 100644 samples/Sdk.Extras.ConsoleApp/Catalogos/DocumentoSdk.cs delete mode 100644 samples/Sdk.Extras.ConsoleApp/Catalogos/EmpresaSdk.cs delete mode 100644 samples/Sdk.Extras.ConsoleApp/Catalogos/ProductoSdk.cs delete mode 100644 samples/Sdk.Extras.ConsoleApp/ConexionSdk.cs create mode 100644 samples/Sdk.Extras.ConsoleApp/Dtos/ClienteDto.cs create mode 100644 samples/Sdk.Extras.ConsoleApp/Dtos/ConceptoDto.cs create mode 100644 samples/Sdk.Extras.ConsoleApp/Dtos/DocumentoDto.cs create mode 100644 samples/Sdk.Extras.ConsoleApp/Dtos/ProductoDto.cs create mode 100644 samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosCliente.cs create mode 100644 samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosConcepto.cs create mode 100644 samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosConexion.cs create mode 100644 samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosDocumento.cs create mode 100644 samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosEmpresa.cs create mode 100644 samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosProducto.cs diff --git a/samples/Sdk.Extras.ConsoleApp/Catalogos/ClienteSdk.cs b/samples/Sdk.Extras.ConsoleApp/Catalogos/ClienteSdk.cs deleted file mode 100644 index c659bbb1..00000000 --- a/samples/Sdk.Extras.ConsoleApp/Catalogos/ClienteSdk.cs +++ /dev/null @@ -1,108 +0,0 @@ -using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Interfaces; -using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Models; -using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Models.Enums; -using ARSoftware.Contpaqi.Comercial.Sql.Models.Empresa; -using Microsoft.Extensions.Logging; - -namespace Sdk.Extras.ConsoleApp.Catalogos; - -public sealed class ClienteSdk -{ - private readonly IClienteProveedorRepository _clienteProveedorRepository; - private readonly IClienteProveedorService _clienteProveedorService; - private readonly ILogger _logger; - - public ClienteSdk(IClienteProveedorRepository clienteProveedorRepository, - ILogger logger, - IClienteProveedorService clienteProveedorService) - { - _clienteProveedorRepository = clienteProveedorRepository; - _logger = logger; - _clienteProveedorService = clienteProveedorService; - } - - public IEnumerable BuscarTodo() - { - _logger.LogInformation("BuscarTodo()"); - return _clienteProveedorRepository.TraerTodo().ToList(); - } - - public IEnumerable BuscarClientes() - { - _logger.LogInformation("BuscarClientes()"); - return _clienteProveedorRepository.TraerClientes().ToList(); - } - - public IEnumerable BuscarProveedores() - { - _logger.LogInformation("BuscarProveedores()"); - return _clienteProveedorRepository.TraerProveedores().ToList(); - } - - public IEnumerable BuscarPorTipo(TipoCliente tipoCliente) - { - _logger.LogInformation("BuscarPorTipo({Tipo})", tipoCliente); - return _clienteProveedorRepository.TraerPorTipo(tipoCliente).ToList(); - } - - public ClienteProveedor BuscarPorId(int clienteId) - { - _logger.LogInformation("BuscarPorId({clienteId})", clienteId); - return _clienteProveedorRepository.BuscarPorId(clienteId); - } - - public ClienteProveedor BuscarPorCodigo(string clienteCodigo) - { - _logger.LogInformation("BuscarPorCodigo({clienteCodigo})", clienteCodigo); - return _clienteProveedorRepository.BuscarPorCodigo(clienteCodigo); - } - - public int CrearClientePrueba() - { - _logger.LogInformation("CrearClientePrueba()"); - var clientePrueba = new ClienteProveedor(); - clientePrueba.CCODIGOCLIENTE = "CTEPRUEBAS"; - clientePrueba.CRAZONSOCIAL = "CLIENTE PRUEBAS"; - clientePrueba.CRFC = "AAA010101AAA"; - - int idClienteNuevo = _clienteProveedorService.Crear(clientePrueba.ToTCteProv()); - return idClienteNuevo; - } - - public void ModificarClientePrueba() - { - _logger.LogInformation("ModificarClientePrueba()"); - var datosCliente = new Dictionary - { - { nameof(admClientes.CRAZONSOCIAL), "CLIENTE DE PRUEBAS COMERCIAL" }, - { nameof(admClientes.CUSOCFDI), "G01" }, - { nameof(admClientes.CREGIMFISC), "616" } - }; - - _clienteProveedorService.Actualizar("CTEPRUEBAS", datosCliente); - } - - public void EliminiarClientePrueba() - { - _logger.LogInformation("EliminiarClientePrueba()"); - _clienteProveedorService.Eliminar("CTEPRUEBAS"); - } - - public void LogClientes(IEnumerable clientes) - { - _logger.LogInformation("CLIENTES"); - foreach (ClienteProveedor clienteProveedor in clientes) - LogCliente(clienteProveedor); - } - - public void LogCliente(ClienteProveedor clienteProveedor) - { - _logger.LogInformation(" {Codigo} - {RazonSocial} - {RFC} - {Tipo} - {UsoCfdi} - {RegimenFiscal}", - clienteProveedor.CCODIGOCLIENTE, - clienteProveedor.CRAZONSOCIAL, - clienteProveedor.CRFC, - clienteProveedor.Tipo, - clienteProveedor.CUSOCFDI, - clienteProveedor.CREGIMFISC); - } -} diff --git a/samples/Sdk.Extras.ConsoleApp/Catalogos/ConceptoSdk.cs b/samples/Sdk.Extras.ConsoleApp/Catalogos/ConceptoSdk.cs deleted file mode 100644 index 9f604900..00000000 --- a/samples/Sdk.Extras.ConsoleApp/Catalogos/ConceptoSdk.cs +++ /dev/null @@ -1,57 +0,0 @@ -using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Interfaces; -using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Models; -using Microsoft.Extensions.Logging; - -namespace Sdk.Extras.ConsoleApp.Catalogos; - -public sealed class ConceptoSdk -{ - private readonly IConceptoDocumentoRepository _conceptoDocumentoRepository; - private readonly ILogger _logger; - - public ConceptoSdk(IConceptoDocumentoRepository conceptoDocumentoRepository, ILogger logger) - { - _conceptoDocumentoRepository = conceptoDocumentoRepository; - _logger = logger; - } - - public IEnumerable BuscarTodo() - { - _logger.LogInformation("BuscarTodo()"); - return _conceptoDocumentoRepository.TraerTodo().ToList(); - } - - public IEnumerable BuscarPorTipo(int id) - { - _logger.LogInformation("BuscarPorTipo({id})", id); - return _conceptoDocumentoRepository.TraerPorDocumentoModeloId(id); - } - - public ConceptoDocumento BuscarPorId(int id) - { - _logger.LogInformation("BuscarPorId({id})", id); - return _conceptoDocumentoRepository.BuscarPorId(id); - } - - public ConceptoDocumento BuscarPorCodigo(string codigo) - { - _logger.LogInformation("BuscarPorCodiog({codigo})", codigo); - return _conceptoDocumentoRepository.BuscarPorCodigo(codigo); - } - - public void LogConceptos(IEnumerable conceptos) - { - _logger.LogInformation("CONCEPTOS #: {NUMERO}", conceptos.Count()); - foreach (ConceptoDocumento conceptoDocumento in conceptos) - LogConcepto(conceptoDocumento); - } - - public void LogConcepto(ConceptoDocumento conceptoDocumento) - { - _logger.LogInformation("{Id} - {Codigo} - {Nombre} - {DocumentoModelo}", - conceptoDocumento.CIDCONCEPTODOCUMENTO, - conceptoDocumento.CCODIGOCONCEPTO, - conceptoDocumento.CNOMBRECONCEPTO, - DocumentoModelo.FromId(conceptoDocumento.CIDDOCUMENTODE).Descripcion); - } -} diff --git a/samples/Sdk.Extras.ConsoleApp/Catalogos/DocumentoSdk.cs b/samples/Sdk.Extras.ConsoleApp/Catalogos/DocumentoSdk.cs deleted file mode 100644 index 87fad425..00000000 --- a/samples/Sdk.Extras.ConsoleApp/Catalogos/DocumentoSdk.cs +++ /dev/null @@ -1,218 +0,0 @@ -using ARSoftware.Contpaqi.Comercial.Sdk.DatosAbstractos; -using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Extensions; -using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Helpers; -using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Interfaces; -using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Models; -using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Models.Enums; -using ARSoftware.Contpaqi.Comercial.Sql.Models.Empresa; -using Microsoft.Extensions.Logging; - -namespace Sdk.Extras.ConsoleApp.Catalogos; - -public sealed class DocumentoSdk -{ - private readonly IAlmacenRepository _almacenRepository; - private readonly IClienteProveedorRepository _clienteProveedorRepository; - private readonly IConceptoDocumentoRepository _conceptoDocumentoRepository; - private readonly IDocumentoRepository _documentoRepository; - private readonly IDocumentoService _documentoService; - private readonly ILogger _logger; - private readonly IMovimientoRepository _movimientoRepository; - private readonly IMovimientoService _movimientoService; - private readonly IProductoRepository _productoRepository; - - public DocumentoSdk(IDocumentoRepository documentoRepository, - IDocumentoService documentoService, - ILogger logger, - IConceptoDocumentoRepository conceptoDocumentoRepository, - IClienteProveedorRepository clienteProveedorRepository, - IMovimientoService movimientoService, - IProductoRepository productoRepository, - IAlmacenRepository almacenRepository, - IMovimientoRepository movimientoRepository) - { - _documentoRepository = documentoRepository; - _documentoService = documentoService; - _logger = logger; - _conceptoDocumentoRepository = conceptoDocumentoRepository; - _clienteProveedorRepository = clienteProveedorRepository; - _movimientoService = movimientoService; - _productoRepository = productoRepository; - _almacenRepository = almacenRepository; - _movimientoRepository = movimientoRepository; - } - - public void CrearDocumentoPrueba() - { - _logger.LogInformation("CrearDocumentoPrueba()"); - var documento = new Documento(); - documento.ConceptoDocumento = _conceptoDocumentoRepository.BuscarPorCodigo("400"); - - tLlaveDoc siguienteFolio = _documentoService.BuscarSiguienteSerieYFolio(documento.ConceptoDocumento.CCODIGOCONCEPTO); - documento.CSERIEDOCUMENTO = siguienteFolio.aSerie; - documento.CFOLIO = siguienteFolio.aFolio; - _logger.LogInformation("Siguiente Folio: {Folio}", siguienteFolio.aFolio); - - documento.ClienteProveedor = _clienteProveedorRepository.BuscarPorCodigo("CTE001"); - documento.CREFERENCIA = "Referencia doc"; - - _logger.LogInformation("_documentoService.Crear();"); - int documentoId = _documentoService.Crear(documento.ToTDocumento()); - _logger.LogInformation("Documento Id: {ID}", documentoId); - - documento.FormaPago = FormaPago._03; - documento.MetodoPago = MetodoPago.PPD; - documento.COBSERVACIONES = "Observaciones documento"; - - var datosDocumento = new Dictionary - { - { nameof(admDocumentos.COBSERVACIONES), documento.COBSERVACIONES }, - { nameof(admDocumentos.CMETODOPAG), documento.CMETODOPAG }, - { nameof(admDocumentos.CCANTPARCI), documento.CCANTPARCI.ToString() } - }; - - _logger.LogInformation("_documentoService.Actualizar();"); - _documentoService.Actualizar(documentoId, datosDocumento); - - var movimiento = new Movimiento(); - movimiento.Producto = _productoRepository.BuscarPorCodigo("SERV001"); - movimiento.CUNIDADES = 1; - movimiento.CPRECIO = 100; - movimiento.CREFERENCIA = "Referencia mov"; - movimiento.Almacen = _almacenRepository.BuscarPorCodigo("1"); - - _logger.LogInformation("_movimientoService.Crear();"); - int movimientoId = _movimientoService.Crear(documentoId, movimiento.ToTMovimiento()); - - movimiento.CTEXTOEXTRA1 = "Texto Extra 1"; - movimiento.CTEXTOEXTRA2 = "Texto Extra 2"; - movimiento.COBSERVAMOV = "Observaciones Movimiento"; - - var datosMovimiento = new Dictionary - { - { nameof(admMovimientos.CTEXTOEXTRA1), movimiento.CTEXTOEXTRA1 }, - { nameof(admMovimientos.CTEXTOEXTRA2), movimiento.CTEXTOEXTRA2 }, - { nameof(admMovimientos.COBSERVAMOV), movimiento.COBSERVAMOV } - }; - - _logger.LogInformation("_movimientoService.Actualizar();"); - _movimientoService.Actualizar(movimientoId, datosMovimiento); - } - - public Documento BuscarDocumentoPorLlave(string concepto, string serie, string folio) - { - Documento? documento = _documentoRepository.BuscarPorLlave(concepto, serie, folio); - - BuscarYAsignarRelaciones(documento); - - return documento; - } - - public List BuscarPorFiltro(DateTime fechaInicio, DateTime fechaFin, string codigoConcepto, string codigoCliente) - { - _logger.LogInformation("BuscarPorFiltro()"); - List documentos = _documentoRepository - .TraerPorRangoFechaYCodigoConceptoYCodigoClienteProveedor(fechaInicio, fechaFin, codigoConcepto, codigoCliente) - .ToList(); - - foreach (Documento documento in documentos) - BuscarYAsignarRelaciones(documento); - - return documentos; - } - - public void BorrarDocumento(string codigoConcepto, string serie, string folio) - { - _logger.LogInformation("BorrarDocumento()"); - _documentoService.Eliminar(codigoConcepto, serie, folio); - } - - public void SaldarDocumento() - { - _logger.LogInformation("SaldarDocumento()"); - tLlaveDoc siguienteFolio = _documentoService.BuscarSiguienteSerieYFolio("13"); - var tDocumento = new tDocumento - { - aCodConcepto = "13", - aCodigoCteProv = "CTE001", - aFecha = DateTime.Today.ToSdkFecha(), - aNumMoneda = 1, - aTipoCambio = 1, - aSerie = siguienteFolio.aSerie, - aFolio = siguienteFolio.aFolio, - aImporte = 116 - }; - - int documentoPagoId = _documentoService.CrearCargoAbono(tDocumento); - - Documento? documentoPago = _documentoRepository.BuscarPorId(documentoPagoId); - BuscarYAsignarRelaciones(documentoPago); - Documento? documentoPagar = _documentoRepository.BuscarPorLlave("400", "FAP", "28"); - BuscarYAsignarRelaciones(documentoPagar); - - _logger.LogInformation("SaldarDocumento()"); - _documentoService.SaldarDocumento(documentoPagar.ToTLlaveDoc(), - documentoPago.ToTLlaveDoc(), - DateTime.Today, - documentoPago.CTOTAL, - Moneda.PesoMexicano.Id); - } - - public void TimbrarDocumento() - { - _logger.LogInformation("TimbrarDocumento()"); - _documentoService.Timbrar("400", "FAP", 28, "12345678a"); - } - - public void CrearDocumentoDigital(TipoArchivoDigital tipo, string rutaPlantilla, string rutaEmpresa) - { - _logger.LogInformation("CrearDocumentoDigital()"); - _documentoService.GenerarDocumentoDigital("400", "FAP", 28, tipo, rutaPlantilla); - string? rutaArchivo = ArchivoDigitalHelper.GenerarRutaArchivoDigital(tipo, rutaEmpresa, "FAP", "28"); - _logger.LogInformation("Ruta: {Ruta}", rutaArchivo); - } - - public void CancelarDocumento() - { - _logger.LogInformation("CancelarDocumento()"); - Documento? documento = _documentoRepository.BuscarPorLlave("400", "FAP", "28"); - _documentoService.Cancelar(documento.CIDDOCUMENTO, "12345678a", "02", ""); - } - - public void CancelarDocumentoPorLlave() - { - _logger.LogInformation("CancelarDocumentoPorLlave()"); - var llave = new tLlaveDoc { aCodConcepto = "400", aSerie = "FAP", aFolio = 58 }; - _documentoService.Cancelar(llave, "12345678A", "02", ""); - } - - public void LogDocumento(Documento documento) - { - _logger.LogInformation("Concepto:{Concepto}, Serie:{Serie}, Folio{Folio}, Cliente:{Cliente}, Total:{Total}", - documento.ConceptoDocumento.CNOMBRECONCEPTO, - documento.CSERIEDOCUMENTO, - documento.CFOLIO, - documento.ClienteProveedor.CRAZONSOCIAL, - documento.CTOTAL); - - foreach (Movimiento movimiento in documento.Movimientos) - { - _logger.LogInformation(" Producto:{Producto}, Unidades:{Unidades}, Precio:{Precio}, Total:{Total}", - movimiento.Producto.CNOMBREPRODUCTO, - movimiento.CUNIDADES, - movimiento.CPRECIO, - movimiento.CTOTAL); - } - } - - private void BuscarYAsignarRelaciones(Documento documento) - { - documento.ConceptoDocumento = _conceptoDocumentoRepository.BuscarPorId(documento.CIDCONCEPTODOCUMENTO); - documento.ClienteProveedor = _clienteProveedorRepository.BuscarPorId(documento.CIDCLIENTEPROVEEDOR); - - documento.Movimientos = _movimientoRepository.TraerPorDocumentoId(documento.CIDDOCUMENTO).ToList(); - - foreach (Movimiento movimiento in documento.Movimientos) - movimiento.Producto = _productoRepository.BuscarPorId(movimiento.CIDPRODUCTO); - } -} diff --git a/samples/Sdk.Extras.ConsoleApp/Catalogos/EmpresaSdk.cs b/samples/Sdk.Extras.ConsoleApp/Catalogos/EmpresaSdk.cs deleted file mode 100644 index c6dc9363..00000000 --- a/samples/Sdk.Extras.ConsoleApp/Catalogos/EmpresaSdk.cs +++ /dev/null @@ -1,28 +0,0 @@ -using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Interfaces; -using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Models; -using Microsoft.Extensions.Logging; - -namespace Sdk.Extras.ConsoleApp.Catalogos; - -public sealed class EmpresaSdk -{ - private readonly IEmpresaRepository _empresaRepository; - private readonly ILogger _logger; - - public EmpresaSdk(IEmpresaRepository empresaRepository, ILogger logger) - { - _empresaRepository = empresaRepository; - _logger = logger; - } - - public List BuscarEmpresas() - { - return _empresaRepository.TraerTodo().ToList(); - } - - public void LogEmpresas(IEnumerable empresas) - { - foreach (Empresa empresa in empresas) - _logger.LogInformation("{@Empresa}", empresa); - } -} diff --git a/samples/Sdk.Extras.ConsoleApp/Catalogos/ProductoSdk.cs b/samples/Sdk.Extras.ConsoleApp/Catalogos/ProductoSdk.cs deleted file mode 100644 index d8e52973..00000000 --- a/samples/Sdk.Extras.ConsoleApp/Catalogos/ProductoSdk.cs +++ /dev/null @@ -1,90 +0,0 @@ -using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Interfaces; -using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Models; -using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Models.Enums; -using ARSoftware.Contpaqi.Comercial.Sql.Models.Empresa; -using Microsoft.Extensions.Logging; - -namespace Sdk.Extras.ConsoleApp.Catalogos; - -public sealed class ProductoSdk -{ - private readonly ILogger _logger; - private readonly IProductoRepository _productoRepository; - private readonly IProductoService _productoService; - - public ProductoSdk(IProductoRepository productoRepository, IProductoService productoService, ILogger logger) - { - _productoRepository = productoRepository; - _productoService = productoService; - _logger = logger; - } - - public IEnumerable BuscarTodo() - { - _logger.LogInformation("BuscarTodo()"); - return _productoRepository.TraerTodo().ToList(); - } - - public IEnumerable BuscarPorTipo(TipoProducto tipo) - { - _logger.LogInformation("BuscarPorTipo({tipo})", tipo); - return _productoRepository.TraerPorTipo(tipo); - } - - public Producto BuscarPorId(int id) - { - _logger.LogInformation("BuscarPorId({id})", id); - return _productoRepository.BuscarPorId(id); - } - - public Producto BuscarPorCodigo(string codigo) - { - _logger.LogInformation("BuscarPorCodigo({codigo})", codigo); - return _productoRepository.BuscarPorCodigo(codigo); - } - - public int CrearProductoPrueba() - { - _logger.LogInformation("CrearProductoPrueba()"); - var productoPrueba = new Producto(); - productoPrueba.Tipo = TipoProducto.Servicio; - productoPrueba.CCODIGOPRODUCTO = "PRODPRUEBA"; - productoPrueba.CNOMBREPRODUCTO = "PRODUCTO PRUEBAS"; - - int idNuevoProducto = _productoService.Crear(productoPrueba.ToTProducto()); - return idNuevoProducto; - } - - public void ModificarProductoPrueba() - { - _logger.LogInformation("ModificarProductoPrueba()"); - var datosProducto = new Dictionary - { - { nameof(admProductos.CCLAVESAT), "81111504" }, { nameof(admProductos.CNOMBREPRODUCTO), "PRODUCTO DE PRUEBAS COMERCIAL" } - }; - _productoService.Actualizar("PRODPRUEBA", datosProducto); - } - - public void EliminarProductoPrueba() - { - _logger.LogInformation("EliminarProductoPrueba()"); - _productoService.Eliminar("PRODPRUEBA"); - } - - public void LogProductos(IEnumerable productos) - { - _logger.LogInformation("PRODUCTOS: #{NumeroProductos}", productos.Count()); - foreach (Producto producto in productos) - LogProducto(producto); - } - - public void LogProducto(Producto producto) - { - _logger.LogInformation("{Id} - {Codigo} - {Nombre} - {Tipo} - {ClaveSat}", - producto.CIDPRODUCTO, - producto.CCODIGOPRODUCTO, - producto.CNOMBREPRODUCTO, - producto.Tipo, - producto.CCLAVESAT); - } -} diff --git a/samples/Sdk.Extras.ConsoleApp/ConexionSdk.cs b/samples/Sdk.Extras.ConsoleApp/ConexionSdk.cs deleted file mode 100644 index e22dbf70..00000000 --- a/samples/Sdk.Extras.ConsoleApp/ConexionSdk.cs +++ /dev/null @@ -1,59 +0,0 @@ -using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Interfaces; -using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Models; -using Microsoft.Extensions.Logging; - -namespace Sdk.Extras.ConsoleApp; - -public sealed class ConexionSdk -{ - private readonly ILogger _logger; - private readonly IComercialSdkSesionService _sdkSesionService; - - public ConexionSdk(IComercialSdkSesionService sdkSesionService, ILogger logger) - { - _sdkSesionService = sdkSesionService; - _logger = logger; - } - - public void IniciarConexion() - { - _logger.LogInformation("Is SDK Inicializado: {IsSdkInicializado}", _sdkSesionService.IsSdkInicializado); - _logger.LogInformation("IniciarSesionSdk()"); - _sdkSesionService.IniciarSesionSdk(); - _logger.LogInformation("Is SDK Inicializado: {IsSdkInicializado}", _sdkSesionService.IsSdkInicializado); - } - - public void IniciarConexionConParametros(string usuario, string contrasena) - { - _logger.LogInformation("Is SDK Inicializado: {IsSdkInicializado}", _sdkSesionService.IsSdkInicializado); - _logger.LogInformation("IniciarSesionSdk(usuario, contrasena)"); - _sdkSesionService.IniciarSesionSdk(usuario, contrasena); - _logger.LogInformation("Is SDK Inicializado: {IsSdkInicializado}", _sdkSesionService.IsSdkInicializado); - } - - public void TerminarConexion() - { - _logger.LogInformation("Is SDK Inicializado: {IsSdkInicializado}", _sdkSesionService.IsSdkInicializado); - _logger.LogInformation("TerminarSesionSdk()"); - if (_sdkSesionService.IsSdkInicializado) - _sdkSesionService.TerminarSesionSdk(); - _logger.LogInformation("Is SDK Inicializado: {IsSdkInicializado}", _sdkSesionService.IsSdkInicializado); - } - - public void AbrirEmpresa(Empresa empresa) - { - _logger.LogInformation("Is Empresa Abierta: {IsEmpresaAbierta}", _sdkSesionService.IsEmpresaAbierta); - _logger.LogInformation("AbrirEmpresa(rutaEmpresa)"); - _sdkSesionService.AbrirEmpresa(empresa.CRUTADATOS); - _logger.LogInformation("Is Empresa Abierta: {IsEmpresaAbierta}", _sdkSesionService.IsEmpresaAbierta); - } - - public void CerrarEmpresa() - { - _logger.LogInformation("Is Empresa Abierta: {IsEmpresaAbierta}", _sdkSesionService.IsEmpresaAbierta); - _logger.LogInformation("CerrarEmpresa()"); - if (_sdkSesionService.IsEmpresaAbierta) - _logger.LogInformation("Is Empresa Abierta: {IsEmpresaAbierta}", _sdkSesionService.IsEmpresaAbierta); - _logger.LogInformation("Is Empresa Abierta: {IsEmpresaAbierta}", _sdkSesionService.IsEmpresaAbierta); - } -} diff --git a/samples/Sdk.Extras.ConsoleApp/Dtos/ClienteDto.cs b/samples/Sdk.Extras.ConsoleApp/Dtos/ClienteDto.cs new file mode 100644 index 00000000..5d587413 --- /dev/null +++ b/samples/Sdk.Extras.ConsoleApp/Dtos/ClienteDto.cs @@ -0,0 +1,14 @@ +// ReSharper disable InconsistentNaming + +namespace Sdk.Extras.ConsoleApp.Dtos; + +public sealed class ClienteDto +{ + public int CIDCLIENTEPROVEEDOR { get; set; } + public string CCODIGOCLIENTE { get; set; } = string.Empty; + public string CRAZONSOCIAL { get; set; } = string.Empty; + public string CRFC { get; set; } = string.Empty; + public int CTIPOCLIENTE { get; set; } + public string CUSOCFDI { get; set; } = string.Empty; + public string CREGIMFISC { get; set; } = string.Empty; +} diff --git a/samples/Sdk.Extras.ConsoleApp/Dtos/ConceptoDto.cs b/samples/Sdk.Extras.ConsoleApp/Dtos/ConceptoDto.cs new file mode 100644 index 00000000..b6347dfa --- /dev/null +++ b/samples/Sdk.Extras.ConsoleApp/Dtos/ConceptoDto.cs @@ -0,0 +1,11 @@ +// ReSharper disable InconsistentNaming + +namespace Sdk.Extras.ConsoleApp.Dtos; + +public class ConceptoDto +{ + public int CIDCONCEPTODOCUMENTO { get; set; } + public string CCODIGOCONCEPTO { get; set; } = string.Empty; + public string CNOMBRECONCEPTO { get; set; } = string.Empty; + public int CIDDOCUMENTODE { get; set; } +} diff --git a/samples/Sdk.Extras.ConsoleApp/Dtos/DocumentoDto.cs b/samples/Sdk.Extras.ConsoleApp/Dtos/DocumentoDto.cs new file mode 100644 index 00000000..34d88143 --- /dev/null +++ b/samples/Sdk.Extras.ConsoleApp/Dtos/DocumentoDto.cs @@ -0,0 +1,13 @@ +// ReSharper disable InconsistentNaming + +namespace Sdk.Extras.ConsoleApp.Dtos; + +public sealed class DocumentoDto +{ + public DateTime CFECHA { get; set; } + public int CIDCONCEPTODOCUMENTO { get; set; } + public string CSERIEDOCUMENTO { get; set; } = string.Empty; + public double CFOLIO { get; set; } + public string CRAZONSOCIAL { get; set; } = string.Empty; + public double CTOTAL { get; set; } +} diff --git a/samples/Sdk.Extras.ConsoleApp/Dtos/ProductoDto.cs b/samples/Sdk.Extras.ConsoleApp/Dtos/ProductoDto.cs new file mode 100644 index 00000000..70dc987c --- /dev/null +++ b/samples/Sdk.Extras.ConsoleApp/Dtos/ProductoDto.cs @@ -0,0 +1,12 @@ +// ReSharper disable InconsistentNaming + +namespace Sdk.Extras.ConsoleApp.Dtos; + +public class ProductoDto +{ + public int CIDPRODUCTO { get; set; } + public string CCODIGOPRODUCTO { get; set; } = string.Empty; + public string CNOMBREPRODUCTO { get; set; } = string.Empty; + public int CTIPOPRODUCTO { get; set; } + public string CCLAVESAT { get; set; } +} diff --git a/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosCliente.cs b/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosCliente.cs new file mode 100644 index 00000000..f7735796 --- /dev/null +++ b/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosCliente.cs @@ -0,0 +1,213 @@ +using System.Diagnostics; +using ARSoftware.Contpaqi.Comercial.Sdk.DatosAbstractos; +using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Interfaces; +using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Models; +using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Models.Enums; +using ARSoftware.Contpaqi.Comercial.Sql.Models.Empresa; +using Microsoft.Extensions.Logging; +using Sdk.Extras.ConsoleApp.Dtos; + +namespace Sdk.Extras.ConsoleApp.Ejemplos; + +public sealed class EjemplosCliente +{ + private const string CodigoPruebas = "CTEPRUEBAS"; + private const string RazonSocialPruebas = "CLIENTE DE PRUEBAS"; + private const string RfcPruebas = "XAXX010101000"; + private const string UsoCfdiPruebas = "G01"; + private const string RegimenFiscalPruebas = "616"; + private readonly IClienteProveedorRepository _clienteProveedorDtoRepository; + private readonly IClienteProveedorRepository _clienteProveedorRepository; + private readonly IClienteProveedorService _clienteProveedorService; + private readonly ILogger _logger; + + public EjemplosCliente(IClienteProveedorRepository clienteProveedorRepository, + ILogger logger, + IClienteProveedorService clienteProveedorService, + IClienteProveedorRepository clienteProveedorDtoRepository) + { + _clienteProveedorRepository = clienteProveedorRepository; + _logger = logger; + _clienteProveedorService = clienteProveedorService; + _clienteProveedorDtoRepository = clienteProveedorDtoRepository; + } + + public void CorrerEjemplos() + { + // Comenta los ejemplos que no quieras ejecutar + + _logger.LogInformation("Corriendo pruebas de clientes."); + + int clienteId = CrearClientePrueba(); + + BuscarClientePorId(clienteId); + + ModificarClientePrueba(); + + BuscarClientePorCodigo(CodigoPruebas); + + BuscarTodosLosClientes(); + + BuscarTodosLosClientesUtilizandoDto(); + + BuscarClientesPorTipo(TipoCliente.Cliente); + + BuscarSoloClientes(); + + BuscarSoloProveedores(); + + EliminiarClientePrueba(); + } + + private void BuscarClientePorId(int clienteId) + { + _logger.LogInformation("Buscando cliente por id: {ClienteId}", clienteId); + long startTime = Stopwatch.GetTimestamp(); + ClienteProveedor? cliente = _clienteProveedorRepository.BuscarPorId(clienteId); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + if (cliente is not null) + LogCliente(cliente); + else + _logger.LogWarning("No se encontro el cliente con id {ClienteId}", clienteId); + } + + private void BuscarClientePorCodigo(string clienteCodigo) + { + _logger.LogInformation("Buscando cliente por codigo: {ClienteCodigo}", clienteCodigo); + long startTime = Stopwatch.GetTimestamp(); + ClienteProveedor? cliente = _clienteProveedorRepository.BuscarPorCodigo(clienteCodigo); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + if (cliente is not null) + LogCliente(cliente); + else + _logger.LogWarning("No se encontro el cliente con codigo {ClienteCodigo}", clienteCodigo); + } + + private void BuscarClientesPorTipo(TipoCliente tipoCliente) + { + _logger.LogInformation("Buscando por tipo {TipoCliente}", tipoCliente); + long startTime = Stopwatch.GetTimestamp(); + List clientes = _clienteProveedorRepository.TraerPorTipo(tipoCliente).ToList(); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + _logger.LogInformation("Se encontraron {NumeroClientes} clientes.", clientes.Count); + foreach (ClienteProveedor cliente in clientes) + LogCliente(cliente); + } + + private void BuscarTodosLosClientes() + { + _logger.LogInformation("Buscando todos los clientes."); + long startTime = Stopwatch.GetTimestamp(); + List clientes = _clienteProveedorRepository.TraerTodo().ToList(); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + _logger.LogInformation("Se encontraron {NumeroClientes} clientes.", clientes.Count); + foreach (ClienteProveedor cliente in clientes) + LogCliente(cliente); + } + + private void BuscarTodosLosClientesUtilizandoDto() + { + _logger.LogInformation("Buscando todos los clientes utilizando un DTO."); + long startTime = Stopwatch.GetTimestamp(); + List clientes = _clienteProveedorDtoRepository.TraerTodo().ToList(); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + _logger.LogInformation("Se encontraron {NumeroClientes} clientes.", clientes.Count); + foreach (ClienteDto cliente in clientes) + LogCliente(cliente); + } + + private void BuscarSoloClientes() + { + _logger.LogInformation("Buscando solo clientes."); + long startTime = Stopwatch.GetTimestamp(); + List clientes = _clienteProveedorRepository.TraerClientes().ToList(); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + _logger.LogInformation("Se encontraron {NumeroClientes} clientes.", clientes.Count); + foreach (ClienteProveedor cliente in clientes) + LogCliente(cliente); + } + + private void BuscarSoloProveedores() + { + _logger.LogInformation("Buscando solo proveedores."); + long startTime = Stopwatch.GetTimestamp(); + List proveedores = _clienteProveedorRepository.TraerProveedores().ToList(); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + _logger.LogInformation("Se encontraron {NumeroClientes} proveedores.", proveedores.Count); + foreach (ClienteProveedor cliente in proveedores) + LogCliente(cliente); + } + + private int CrearClientePrueba() + { + _logger.LogInformation("Creando cliente."); + var cliente = new ClienteProveedor(); + cliente.CCODIGOCLIENTE = CodigoPruebas; + cliente.CRAZONSOCIAL = RazonSocialPruebas; + cliente.CRFC = RfcPruebas; + tCteProv clienteSdk = cliente.ToTCteProv(); + long startTime = Stopwatch.GetTimestamp(); + int clienteId = _clienteProveedorService.Crear(clienteSdk); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + return clienteId; + } + + private void ModificarClientePrueba() + { + _logger.LogInformation("Modificando cliente."); + var datosCliente = new Dictionary + { + { nameof(admClientes.CRAZONSOCIAL), RazonSocialPruebas }, + { nameof(admClientes.CUSOCFDI), UsoCfdiPruebas }, + { nameof(admClientes.CREGIMFISC), RegimenFiscalPruebas } + }; + + long startTime = Stopwatch.GetTimestamp(); + _clienteProveedorService.Actualizar(CodigoPruebas, datosCliente); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + } + + private void EliminiarClientePrueba() + { + _logger.LogInformation("Eliminando cliente."); + long startTime = Stopwatch.GetTimestamp(); + _clienteProveedorService.Eliminar(CodigoPruebas); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + } + + private void LogCliente(ClienteProveedor clienteProveedor) + { + _logger.LogInformation( + "Id: {Id}, Codigo: {Codigo}, Razon Social: {RazonSocial}, RFC: {Rfc}, Tipo: {Tipo}, Uso CFDI: {UsoCfdi}, Regimen Fiscal: {RegimenFiscal}", + clienteProveedor.CIDCLIENTEPROVEEDOR, + clienteProveedor.CCODIGOCLIENTE, + clienteProveedor.CRAZONSOCIAL, + clienteProveedor.CRFC, + clienteProveedor.Tipo, + clienteProveedor.CUSOCFDI, + clienteProveedor.CREGIMFISC); + } + + private void LogCliente(ClienteDto clienteProveedor) + { + _logger.LogInformation( + "Id: {Id}, Codigo: {Codigo}, Razon Social: {RazonSocial}, RFC: {Rfc}, Tipo: {Tipo}, Uso CFDI: {UsoCfdi}, Regimen Fiscal: {RegimenFiscal}", + clienteProveedor.CIDCLIENTEPROVEEDOR, + clienteProveedor.CCODIGOCLIENTE, + clienteProveedor.CRAZONSOCIAL, + clienteProveedor.CRFC, + clienteProveedor.CTIPOCLIENTE, + clienteProveedor.CUSOCFDI, + clienteProveedor.CREGIMFISC); + } +} diff --git a/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosConcepto.cs b/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosConcepto.cs new file mode 100644 index 00000000..5c909100 --- /dev/null +++ b/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosConcepto.cs @@ -0,0 +1,122 @@ +using System.Diagnostics; +using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Interfaces; +using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Models; +using Microsoft.Extensions.Logging; +using Sdk.Extras.ConsoleApp.Dtos; + +namespace Sdk.Extras.ConsoleApp.Ejemplos; + +public sealed class EjemplosConcepto +{ + private const int IdPrueba = 1; // Id del concepto Cotizacion + private const string CodigoPrueba = "4"; // Codigo del concepto de Factura Crédito + private readonly IConceptoDocumentoRepository _conceptoDocumentoDtoRepository; + private readonly IConceptoDocumentoRepository _conceptoDocumentoRepository; + private readonly ILogger _logger; + + public EjemplosConcepto(IConceptoDocumentoRepository conceptoDocumentoRepository, + ILogger logger, + IConceptoDocumentoRepository conceptoDocumentoDtoRepository) + { + _conceptoDocumentoRepository = conceptoDocumentoRepository; + _logger = logger; + _conceptoDocumentoDtoRepository = conceptoDocumentoDtoRepository; + } + + public void CorrerEjemplos() + { + // Comenta los ejemplos que no quieras ejecutar + + _logger.LogInformation("Corriendo pruebas de conceptos."); + + BuscarTodosLosConceptos(); + + BuscarTodosLosConceptosUtilizandoDto(); + + BuscarConceptosPorDocumentoModelo(DocumentoModelo.Factura); + + BuscarConceptoPorId(IdPrueba); + + BuscarPorCodigo(CodigoPrueba); + } + + private void BuscarTodosLosConceptos() + { + _logger.LogInformation("Buscando todos los conceptos."); + long startTime = Stopwatch.GetTimestamp(); + List conceptos = _conceptoDocumentoRepository.TraerTodo().ToList(); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + _logger.LogInformation("Se encontraron {NumeroConceptos} conceptos.", conceptos.Count); + foreach (ConceptoDocumento concepto in conceptos) + LogConcepto(concepto); + } + + private void BuscarTodosLosConceptosUtilizandoDto() + { + _logger.LogInformation("Buscando todos los conceptos utilizando un DTO."); + long startTime = Stopwatch.GetTimestamp(); + List conceptos = _conceptoDocumentoDtoRepository.TraerTodo().ToList(); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + _logger.LogInformation("Se encontraron {NumeroConceptos} conceptos.", conceptos.Count); + foreach (ConceptoDto concepto in conceptos) + LogConcepto(concepto); + } + + private void BuscarConceptosPorDocumentoModelo(DocumentoModelo documentoModelo) + { + _logger.LogInformation("Buscando conceptos por documento modelo: {Id}.", documentoModelo.Descripcion); + long startTime = Stopwatch.GetTimestamp(); + List conceptos = _conceptoDocumentoRepository.TraerPorDocumentoModeloId(documentoModelo.Id).ToList(); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + _logger.LogInformation("Se encontraron {NumeroConceptos} conceptos.", conceptos.Count); + foreach (ConceptoDocumento? concepto in conceptos) + LogConcepto(concepto); + } + + private void BuscarConceptoPorId(int conceptoId) + { + _logger.LogInformation("Buscando concepto por id: {Id}.", conceptoId); + long startTime = Stopwatch.GetTimestamp(); + ConceptoDocumento? concepto = _conceptoDocumentoRepository.BuscarPorId(conceptoId); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + if (concepto is not null) + LogConcepto(concepto); + else + _logger.LogInformation("No se encontro el concepto con id {ConceptoId}", conceptoId); + } + + private void BuscarPorCodigo(string conceptoCodigo) + { + _logger.LogInformation("Buscando concepto por codigo: {Id}.", conceptoCodigo); + long startTime = Stopwatch.GetTimestamp(); + ConceptoDocumento? concepto = _conceptoDocumentoRepository.BuscarPorCodigo(conceptoCodigo); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + if (concepto is not null) + LogConcepto(concepto); + else + _logger.LogInformation("No se encontro el concepto con id {ConceptoCodigo}", conceptoCodigo); + } + + private void LogConcepto(ConceptoDocumento conceptoDocumento) + { + _logger.LogInformation("Id: {Id}, Codigo: {Codigo}, Nombre: {Nombre}, DocumentoModelo: {DocumentoModelo}", + conceptoDocumento.CIDCONCEPTODOCUMENTO, + conceptoDocumento.CCODIGOCONCEPTO, + conceptoDocumento.CNOMBRECONCEPTO, + DocumentoModelo.FromId(conceptoDocumento.CIDDOCUMENTODE).Descripcion); + } + + private void LogConcepto(ConceptoDto conceptoDocumento) + { + _logger.LogInformation("Id: {Id}, Codigo: {Codigo}, Nombre: {Nombre}, DocumentoModelo: {DocumentoModelo}", + conceptoDocumento.CIDCONCEPTODOCUMENTO, + conceptoDocumento.CCODIGOCONCEPTO, + conceptoDocumento.CNOMBRECONCEPTO, + DocumentoModelo.FromId(conceptoDocumento.CIDDOCUMENTODE).Descripcion); + } +} diff --git a/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosConexion.cs b/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosConexion.cs new file mode 100644 index 00000000..05accb37 --- /dev/null +++ b/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosConexion.cs @@ -0,0 +1,97 @@ +using System.Diagnostics; +using ARSoftware.Contpaqi.Comercial.Sdk.Extras; +using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Interfaces; +using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Models; +using Microsoft.Extensions.Logging; + +namespace Sdk.Extras.ConsoleApp.Ejemplos; + +public sealed class EjemplosConexion +{ + public const string UsuarioPruebas = "SUPERVISOR"; + public const string ContrasenaPruebas = ""; + private readonly IEmpresaRepository _empresaRepository; + private readonly ILogger _logger; + private readonly IContpaqiSdk _sdk; + private readonly IComercialSdkSesionService _sdkSesionService; + + public EjemplosConexion(IComercialSdkSesionService sdkSesionService, + ILogger logger, + IEmpresaRepository empresaRepository, + IContpaqiSdk sdk) + { + _sdkSesionService = sdkSesionService; + _logger = logger; + _empresaRepository = empresaRepository; + _sdk = sdk; + } + + public void IniciarConexion() + { + if (_sdk is FacturaElectronicaSdkExtended || _sdk is AdminpaqSdkExtended) + IniciarConexionSinParametros(); + else if (_sdk is ComercialSdkExtended) + IniciarConexionConParametros(UsuarioPruebas, ContrasenaPruebas); + } + + private void IniciarConexionSinParametros() + { + _logger.LogInformation("Iniciando conexion sin parametros."); + long startTime = Stopwatch.GetTimestamp(); + _sdkSesionService.IniciarSesionSdk(); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + } + + private void IniciarConexionConParametros(string usuario, string contrasena) + { + _logger.LogInformation("Iniciando conexion con parametros."); + long startTime = Stopwatch.GetTimestamp(); + _sdkSesionService.IniciarSesionSdk(usuario, contrasena); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + } + + public void TerminarConexion() + { + if (!_sdkSesionService.IsSdkInicializado) + return; + + _logger.LogInformation("Terminando conexion."); + long startTime = Stopwatch.GetTimestamp(); + _sdkSesionService.TerminarSesionSdk(); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + } + + public void AbrirEmpresa() + { + if (_sdkSesionService.IsEmpresaAbierta) + return; + + _logger.LogInformation("Abriendo empresa."); + Empresa empresa = BuscarEmpresaPruebas(); + long startTime = Stopwatch.GetTimestamp(); + _sdkSesionService.AbrirEmpresa(empresa.CRUTADATOS); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + } + + public void CerrarEmpresa() + { + if (!_sdkSesionService.IsEmpresaAbierta) + return; + + _logger.LogInformation("Cerrando empresa."); + long startTime = Stopwatch.GetTimestamp(); + _sdkSesionService.CerrarEmpresa(); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + } + + private Empresa BuscarEmpresaPruebas() + { + return _empresaRepository.TraerTodo().FirstOrDefault(x => x.CNOMBREEMPRESA == EjemplosEmpresa.NombreEmpresaPruebas) ?? + throw new InvalidOperationException($"No se encontro la empresa con nombre: {EjemplosEmpresa.NombreEmpresaPruebas}"); + } +} diff --git a/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosDocumento.cs b/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosDocumento.cs new file mode 100644 index 00000000..a5dd5ff1 --- /dev/null +++ b/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosDocumento.cs @@ -0,0 +1,428 @@ +using System.Diagnostics; +using ARSoftware.Contpaqi.Comercial.Sdk.DatosAbstractos; +using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Extensions; +using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Interfaces; +using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Models; +using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Models.Enums; +using ARSoftware.Contpaqi.Comercial.Sql.Models.Empresa; +using Microsoft.Extensions.Logging; +using Sdk.Extras.ConsoleApp.Dtos; + +namespace Sdk.Extras.ConsoleApp.Ejemplos; + +public sealed class EjemplosDocumento +{ + private const string + CodigoConceptoFacturaPruebas = "400"; // Este concepto lo di de alta manualmente en Comercial para pruebas de facturas + + private const string CodigoConceptoAbonoPruebas = "13"; // Abono del Cliente + private const string CodigoClientePruebas = "CTE001"; // Este cliente lo di de alta manualmente en Comercial para pruebas de facturas + private const string CodigoProductoPruebas = "SERV001"; // Este producto lo di de alta manualmente en Comercial para pruebas de facturas + private const string ContrasenaCertificadoPruebas = "12345678a"; + private const string CodigoAlmacenPruebas = "1"; + + private const string RutaPlantillaPdfPruebas = + @"\\AR-SERVER\Compac\Empresas\Reportes\Formatos Digitales\reportes_Servidor\COMERCIAL\Facturav40.rdl"; // La ruta a la plantilla en mi servidor ya que las pruebas las hago en una temrinal. + + private const string MotivoCancelacionPruebas = "02"; + private const string UuidReemplazoPruebas = ""; + private const double ImporteAbonoPruebas = 116; + private readonly IAlmacenRepository _almacenRepository; + private readonly IClienteProveedorRepository _clienteProveedorRepository; + private readonly IConceptoDocumentoRepository _conceptoDocumentoRepository; + private readonly IDocumentoRepository _documentoDtoRepository; + private readonly IDocumentoRepository _documentoRepository; + private readonly IDocumentoService _documentoService; + private readonly ILogger _logger; + private readonly IMovimientoRepository _movimientoRepository; + private readonly IMovimientoService _movimientoService; + private readonly IProductoRepository _productoRepository; + + public EjemplosDocumento(IDocumentoRepository documentoRepository, + IDocumentoService documentoService, + ILogger logger, + IConceptoDocumentoRepository conceptoDocumentoRepository, + IClienteProveedorRepository clienteProveedorRepository, + IMovimientoService movimientoService, + IProductoRepository productoRepository, + IAlmacenRepository almacenRepository, + IMovimientoRepository movimientoRepository, + IDocumentoRepository documentoDtoRepository) + { + _documentoRepository = documentoRepository; + _documentoService = documentoService; + _logger = logger; + _conceptoDocumentoRepository = conceptoDocumentoRepository; + _clienteProveedorRepository = clienteProveedorRepository; + _movimientoService = movimientoService; + _productoRepository = productoRepository; + _almacenRepository = almacenRepository; + _movimientoRepository = movimientoRepository; + _documentoDtoRepository = documentoDtoRepository; + } + + public void CorrerEjemplos() + { + // Comenta los ejemplos que no quieras ejecutar + + _logger.LogInformation("Corriendo pruebas de documentos"); + + CrearFactura(); + + CrearFactura_Borrar(); + + CrearFactura_Timbrar(); + + CrearFactura_CrearAbono_Saldar_Timbrar(); + + CrearFactura_Timbrar_GenerarDocumentos(); + + CrearFactura_Timbrar_Cancelar(); + + CrearFactura_Timbrar_CancelarAdministrativamente(); + + BuscarPorFiltro(DateTime.Today, DateTime.Today, CodigoConceptoFacturaPruebas, CodigoClientePruebas); + + BuscarPorFiltroUtilizandoDto(DateTime.Today, DateTime.Today, CodigoConceptoFacturaPruebas, CodigoClientePruebas); + } + + private void CrearFactura() + { + tLlaveDoc llaveDocumento = CrearFacturaPrueba($"Prueba {nameof(CrearFactura)}"); + + BuscarDocumentoPorLlave(llaveDocumento); + } + + private void CrearFactura_Borrar() + { + tLlaveDoc llaveDocumento = CrearFacturaPrueba($"Prueba {nameof(CrearFactura_Borrar)}"); + + BuscarDocumentoPorLlave(llaveDocumento); + + BorrarDocumento(llaveDocumento); + } + + private void CrearFactura_Timbrar() + { + tLlaveDoc llaveDocumento = CrearFacturaPrueba($"Prueba {nameof(CrearFactura_Timbrar)}"); + + BuscarDocumentoPorLlave(llaveDocumento); + + TimbrarDocumento(llaveDocumento, ContrasenaCertificadoPruebas); + } + + private void CrearFactura_Timbrar_GenerarDocumentos() + { + tLlaveDoc llaveDocumento = CrearFacturaPrueba($"Prueba {nameof(CrearFactura_Timbrar_GenerarDocumentos)}"); + + BuscarDocumentoPorLlave(llaveDocumento); + + TimbrarDocumento(llaveDocumento, ContrasenaCertificadoPruebas); + + CrearDocumentoDigital(llaveDocumento, TipoArchivoDigital.Xml, ""); + + CrearDocumentoDigital(llaveDocumento, TipoArchivoDigital.Pdf, RutaPlantillaPdfPruebas); + } + + private void CrearFactura_CrearAbono_Saldar_Timbrar() + { + tLlaveDoc llaveDocumento = CrearFacturaPrueba($"Prueba {nameof(CrearFactura_CrearAbono_Saldar_Timbrar)}"); + + BuscarDocumentoPorLlave(llaveDocumento); + + tLlaveDoc llaveAbono = CrearAbonoPrueba(); + + BuscarDocumentoPorLlave(llaveAbono); + + SaldarDocumento(llaveDocumento, llaveAbono); + + TimbrarDocumento(llaveDocumento, ContrasenaCertificadoPruebas); + } + + private void CrearFactura_Timbrar_Cancelar() + { + tLlaveDoc llaveDocumento = CrearFacturaPrueba($"Prueba {nameof(CrearFactura_Timbrar_Cancelar)}"); + + BuscarDocumentoPorLlave(llaveDocumento); + + TimbrarDocumento(llaveDocumento, ContrasenaCertificadoPruebas); + + CancelarDocumento(llaveDocumento); + } + + private void CrearFactura_Timbrar_CancelarAdministrativamente() + { + tLlaveDoc llaveDocumento = CrearFacturaPrueba($"Prueba {nameof(CrearFactura_Timbrar_CancelarAdministrativamente)}"); + + BuscarDocumentoPorLlave(llaveDocumento); + + TimbrarDocumento(llaveDocumento, ContrasenaCertificadoPruebas); + + CancelarDocumentoAdministrativamente(llaveDocumento); + } + + private tLlaveDoc CrearFacturaPrueba(string observacionesDocumento) + { + _logger.LogInformation("Creando factura."); + var documento = new Documento(); + documento.ConceptoDocumento = _conceptoDocumentoRepository.BuscarPorCodigo(CodigoConceptoFacturaPruebas); + tLlaveDoc siguienteFolio = _documentoService.BuscarSiguienteSerieYFolio(documento.ConceptoDocumento.CCODIGOCONCEPTO); + documento.CSERIEDOCUMENTO = siguienteFolio.aSerie; + documento.CFOLIO = siguienteFolio.aFolio; + documento.CFECHA = DateTime.Today; + documento.ClienteProveedor = _clienteProveedorRepository.BuscarPorCodigo(CodigoClientePruebas); + documento.CREFERENCIA = "Referencia doc"; + documento.FormaPago = FormaPago._03; + documento.MetodoPago = MetodoPago.PPD; + documento.COBSERVACIONES = observacionesDocumento; + tDocumento documentoSdk = documento.ToTDocumento(); + _logger.LogInformation("Creando documento."); + long startTime = Stopwatch.GetTimestamp(); + int documentoId = _documentoService.Crear(documentoSdk); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + + // Actualizar datos que no son parte de la estructura tDocumento + var datosDocumento = new Dictionary + { + { nameof(admDocumentos.COBSERVACIONES), documento.COBSERVACIONES }, + { nameof(admDocumentos.CMETODOPAG), documento.CMETODOPAG }, + { nameof(admDocumentos.CCANTPARCI), documento.CCANTPARCI.ToString() } + }; + + _logger.LogInformation("Actualizando documento."); + startTime = Stopwatch.GetTimestamp(); + _documentoService.Actualizar(documentoId, datosDocumento); + elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + + var movimiento = new Movimiento(); + movimiento.Producto = _productoRepository.BuscarPorCodigo(CodigoProductoPruebas); + movimiento.CUNIDADES = 1; + movimiento.CPRECIO = 100; + movimiento.CREFERENCIA = "Referencia mov"; + movimiento.Almacen = _almacenRepository.BuscarPorCodigo(CodigoAlmacenPruebas); + movimiento.CTEXTOEXTRA1 = "Texto Extra 1"; + movimiento.CTEXTOEXTRA2 = "Texto Extra 2"; + movimiento.COBSERVAMOV = "Observaciones Movimiento"; + tMovimiento movimientoSdk = movimiento.ToTMovimiento(); + _logger.LogInformation("Creando movimiento."); + startTime = Stopwatch.GetTimestamp(); + int movimientoId = _movimientoService.Crear(documentoId, movimientoSdk); + elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + + // Actualizar datos que no son parte de la estructura tMovimiento + var datosMovimiento = new Dictionary + { + { nameof(admMovimientos.CTEXTOEXTRA1), movimiento.CTEXTOEXTRA1 }, + { nameof(admMovimientos.CTEXTOEXTRA2), movimiento.CTEXTOEXTRA2 }, + { nameof(admMovimientos.COBSERVAMOV), movimiento.COBSERVAMOV } + }; + + _logger.LogInformation("Actualizando movimiento."); + startTime = Stopwatch.GetTimestamp(); + _movimientoService.Actualizar(movimientoId, datosMovimiento); + elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + + return documento.ToTLlaveDoc(); + } + + private Documento? BuscarDocumentoPorLlave(tLlaveDoc llaveDocumento) + { + _logger.LogInformation("Buscando documento por llave: {LlaveDocumento}", llaveDocumento); + long startTime = Stopwatch.GetTimestamp(); + Documento? documento = _documentoRepository.BuscarPorLlave(llaveDocumento); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + + if (documento is not null) + { + CargarDatosRelacionados(documento); + LogDocumento(documento); + } + else + { + _logger.LogWarning("No se encontro el documento con llave {LlaveDocumento}", llaveDocumento); + } + + return documento; + } + + private List BuscarPorFiltro(DateTime fechaInicio, DateTime fechaFin, string codigoConcepto, string codigoCliente) + { + _logger.LogInformation( + "Buscando documentos por filtro: FechaInicio: {FechaInicio}, FechaFin: {FechaFin}, CodigoConcepto: {CodigoConcepto}, CodigoCliente: {CodigoCliente}", + fechaInicio, + fechaFin, + codigoConcepto, + codigoCliente); + + long startTime = Stopwatch.GetTimestamp(); + List documentos = _documentoRepository + .TraerPorRangoFechaYCodigoConceptoYCodigoClienteProveedor(fechaInicio, fechaFin, codigoConcepto, codigoCliente) + .ToList(); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + + foreach (Documento documento in documentos) + CargarDatosRelacionados(documento); + + foreach (Documento documento in documentos) + LogDocumento(documento); + + return documentos; + } + + private List BuscarPorFiltroUtilizandoDto(DateTime fechaInicio, + DateTime fechaFin, + string codigoConcepto, + string codigoCliente) + { + _logger.LogInformation( + "Buscando documentos por filtro utilizando DTOs: FechaInicio: {FechaInicio}, FechaFin: {FechaFin}, CodigoConcepto: {CodigoConcepto}, CodigoCliente: {CodigoCliente}", + fechaInicio, + fechaFin, + codigoConcepto, + codigoCliente); + + long startTime = Stopwatch.GetTimestamp(); + List documentos = _documentoDtoRepository + .TraerPorRangoFechaYCodigoConceptoYCodigoClienteProveedor(fechaInicio, fechaFin, codigoConcepto, codigoCliente) + .ToList(); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + + foreach (DocumentoDto? documento in documentos) + LogDocumento(documento); + + return documentos; + } + + private void BorrarDocumento(tLlaveDoc llaveDoc) + { + _logger.LogInformation("Borrando documento."); + + long startTime = Stopwatch.GetTimestamp(); + _documentoService.Eliminar(llaveDoc); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + } + + private tLlaveDoc CrearAbonoPrueba() + { + _logger.LogInformation("Creando abono."); + tLlaveDoc siguienteFolio = _documentoService.BuscarSiguienteSerieYFolio(CodigoConceptoAbonoPruebas); + var tDocumento = new tDocumento + { + aCodConcepto = siguienteFolio.aCodConcepto, + aSerie = siguienteFolio.aSerie, + aFolio = siguienteFolio.aFolio, + aCodigoCteProv = CodigoClientePruebas, + aFecha = DateTime.Today.ToSdkFecha(), + aNumMoneda = 1, + aTipoCambio = 1, + aImporte = ImporteAbonoPruebas + }; + + long startTime = Stopwatch.GetTimestamp(); + int documentoPagoId = _documentoService.CrearCargoAbono(tDocumento); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + Documento documentoPago = _documentoRepository.BuscarPorId(documentoPagoId); + return documentoPago.ToTLlaveDoc(); + } + + private void SaldarDocumento(tLlaveDoc documentoPagar, tLlaveDoc documentoPago) + { + _logger.LogInformation("Saldando documento."); + long startTime = Stopwatch.GetTimestamp(); + _documentoService.SaldarDocumento(documentoPagar, documentoPago, DateTime.Today, ImporteAbonoPruebas, Moneda.PesoMexicano.Id); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + } + + private void TimbrarDocumento(tLlaveDoc llaveDocumento, string contrasenaCertificado) + { + _logger.LogInformation("Timbrando documento."); + long startTime = Stopwatch.GetTimestamp(); + _documentoService.Timbrar(llaveDocumento, contrasenaCertificado); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + } + + private void CrearDocumentoDigital(tLlaveDoc llaveDocumento, TipoArchivoDigital tipo, string rutaPlantilla) + { + _logger.LogInformation("Creando documento digital."); + long startTime = Stopwatch.GetTimestamp(); + _documentoService.GenerarDocumentoDigital(llaveDocumento.aCodConcepto, + llaveDocumento.aSerie, + llaveDocumento.aFolio, + tipo, + rutaPlantilla); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + //string? rutaArchivo = ArchivoDigitalHelper.GenerarRutaArchivoDigital(tipo, rutaEmpresa, "FAP", "28"); + //_logger.LogInformation("Ruta: {Ruta}", rutaArchivo); + } + + private void CancelarDocumento(tLlaveDoc llaveDoc) + { + _logger.LogInformation("Cancelando documento."); + long startTime = Stopwatch.GetTimestamp(); + _documentoService.Cancelar(llaveDoc, ContrasenaCertificadoPruebas, MotivoCancelacionPruebas, UuidReemplazoPruebas); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + } + + private void CancelarDocumentoAdministrativamente(tLlaveDoc llaveDoc) + { + _logger.LogInformation("Cancelando documento administrativamente."); + long startTime = Stopwatch.GetTimestamp(); + _documentoService.CancelarAdministrativamente(llaveDoc); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + } + + private void LogDocumento(Documento documento) + { + _logger.LogInformation("Fecha: {Fecha:d}, Concepto: {Concepto}, Serie: {Serie}, Folio: {Folio}, Cliente: {Cliente}, Total: {Total}", + documento.CFECHA, + documento.ConceptoDocumento.CNOMBRECONCEPTO, + documento.CSERIEDOCUMENTO, + documento.CFOLIO, + documento.ClienteProveedor.CRAZONSOCIAL, + documento.CTOTAL); + + foreach (Movimiento movimiento in documento.Movimientos) + { + _logger.LogInformation("- Producto: {Producto}, Unidades: {Unidades}, Precio: {Precio}, Total:{Total}", + movimiento.Producto.CNOMBREPRODUCTO, + movimiento.CUNIDADES, + movimiento.CPRECIO, + movimiento.CTOTAL); + } + } + + private void LogDocumento(DocumentoDto documento) + { + _logger.LogInformation("Fecha: {Fecha:d}, Concepto: {Concepto}, Serie: {Serie}, Folio: {Folio}, Cliente: {Cliente}, Total: {Total}", + documento.CFECHA, + documento.CIDCONCEPTODOCUMENTO, + documento.CSERIEDOCUMENTO, + documento.CFOLIO, + documento.CRAZONSOCIAL, + documento.CTOTAL); + } + + private void CargarDatosRelacionados(Documento documento) + { + documento.ConceptoDocumento = _conceptoDocumentoRepository.BuscarPorId(documento.CIDCONCEPTODOCUMENTO); + documento.ClienteProveedor = _clienteProveedorRepository.BuscarPorId(documento.CIDCLIENTEPROVEEDOR); + documento.Movimientos = _movimientoRepository.TraerPorDocumentoId(documento.CIDDOCUMENTO).ToList(); + + foreach (Movimiento movimiento in documento.Movimientos) + movimiento.Producto = _productoRepository.BuscarPorId(movimiento.CIDPRODUCTO); + } +} diff --git a/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosEmpresa.cs b/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosEmpresa.cs new file mode 100644 index 00000000..0d9bb2b7 --- /dev/null +++ b/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosEmpresa.cs @@ -0,0 +1,61 @@ +using System.Diagnostics; +using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Interfaces; +using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Models; +using Microsoft.Extensions.Logging; + +namespace Sdk.Extras.ConsoleApp.Ejemplos; + +public sealed class EjemplosEmpresa +{ + public const string NombreEmpresaPruebas = "UNIVERSIDAD ROBOTICA ESPAÑOLA SA DE CV"; + private readonly IEmpresaRepository _empresaRepository; + private readonly ILogger _logger; + + public EjemplosEmpresa(IEmpresaRepository empresaRepository, ILogger logger) + { + _empresaRepository = empresaRepository; + _logger = logger; + } + + public void CorrerEjemplos() + { + // Comenta los ejemplos que no quieras ejecutar + + _logger.LogInformation("Corriendo pruebas de empresas."); + + BuscarTodasLasEmpresas(); + + BuscarEmpresaPorNombre(NombreEmpresaPruebas); + } + + private void BuscarTodasLasEmpresas() + { + _logger.LogInformation("Buscando todas las empresas."); + long startTime = Stopwatch.GetTimestamp(); + List empresas = _empresaRepository.TraerTodo().ToList(); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + _logger.LogInformation("Se encontraron {NumeroEmpresas} empresas.", empresas.Count); + foreach (Empresa empresa in empresas) + LogEmpresa(empresa); + } + + private Empresa BuscarEmpresaPorNombre(string nombreEmpresa) + { + _logger.LogInformation("Buscando empresa por nombre: {NombreEmpresa}", nombreEmpresa); + Empresa empresa = _empresaRepository.TraerTodo().FirstOrDefault(x => x.CNOMBREEMPRESA == nombreEmpresa) ?? + throw new InvalidOperationException($"No se encontro la empresa con nombre: {NombreEmpresaPruebas}"); + LogEmpresa(empresa); + return empresa; + } + + public Empresa BuscarEmpresaPrueba() + { + return BuscarEmpresaPorNombre(NombreEmpresaPruebas); + } + + private void LogEmpresa(Empresa empresa) + { + _logger.LogInformation("Id: {Id}, Nombre: {Nombre}, Ruta: {Ruta}", empresa.CIDEMPRESA, empresa.CNOMBREEMPRESA, empresa.CRUTADATOS); + } +} diff --git a/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosProducto.cs b/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosProducto.cs new file mode 100644 index 00000000..0fa7b81d --- /dev/null +++ b/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosProducto.cs @@ -0,0 +1,175 @@ +using System.Diagnostics; +using ARSoftware.Contpaqi.Comercial.Sdk.DatosAbstractos; +using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Interfaces; +using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Models; +using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Models.Enums; +using ARSoftware.Contpaqi.Comercial.Sql.Models.Empresa; +using Microsoft.Extensions.Logging; +using Sdk.Extras.ConsoleApp.Dtos; + +namespace Sdk.Extras.ConsoleApp.Ejemplos; + +public sealed class EjemplosProducto +{ + private const string CodigoPruebas = "PRODPRUEBA"; + private const string NombrePruebas = "PRODUCTO PRUEBAS"; + private const string ClaveSatPruebas = "81111504"; + private const TipoProducto Tipo = TipoProducto.Producto; + private readonly ILogger _logger; + private readonly IProductoRepository _productoDtoRepository; + private readonly IProductoRepository _productoRepository; + private readonly IProductoService _productoService; + + public EjemplosProducto(IProductoRepository productoRepository, + IProductoService productoService, + ILogger logger, + IProductoRepository productoDtoRepository) + { + _productoRepository = productoRepository; + _productoService = productoService; + _logger = logger; + _productoDtoRepository = productoDtoRepository; + } + + public void CorrerEjemplos() + { + // Comenta los ejemplos que no quieras ejecutar + + _logger.LogInformation("Corriendo pruebas de productos."); + + int productoId = CrearProductoPrueba(); + + BuscarProductoPorId(productoId); + + ModificarProductoPrueba(); + + BuscarProductoPorCodigo(CodigoPruebas); + + BuscarTodosLosProductos(); + + BuscarTodosLosProductosUtilizandoDto(); + + BuscarProductosPorTipo(TipoProducto.Servicio); + + EliminarProductoPrueba(); + } + + private void BuscarProductoPorId(int productoId) + { + _logger.LogInformation("Buscando producto por id: {ProductoId}", productoId); + long startTime = Stopwatch.GetTimestamp(); + Producto? producto = _productoRepository.BuscarPorId(productoId); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + if (producto is not null) + LogProducto(producto); + else + _logger.LogInformation("No se encontro el producto con id {ProductoId}", productoId); + } + + private void BuscarProductoPorCodigo(string productoCodigo) + { + _logger.LogInformation("Buscando producto por id: {ProductoCodigo}", productoCodigo); + long startTime = Stopwatch.GetTimestamp(); + Producto? producto = _productoRepository.BuscarPorCodigo(productoCodigo); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + if (producto is not null) + LogProducto(producto); + else + _logger.LogInformation("No se encontro el producto con id {ProductoCodigo}", productoCodigo); + } + + private void BuscarProductosPorTipo(TipoProducto tipo) + { + _logger.LogInformation("Buscando productos por tipo {Tipo}", tipo); + long startTime = Stopwatch.GetTimestamp(); + List productos = _productoRepository.TraerPorTipo(tipo).ToList(); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + _logger.LogInformation("Se encontraron {NumeroProductos} productos.", productos.Count); + foreach (Producto? producto in productos) + LogProducto(producto); + } + + private void BuscarTodosLosProductos() + { + _logger.LogInformation("Buscando todos los productos."); + long startTime = Stopwatch.GetTimestamp(); + List productos = _productoRepository.TraerTodo().ToList(); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + _logger.LogInformation("Se encontraron {NumeroProductos} productos.", productos.Count); + foreach (Producto? producto in productos) + LogProducto(producto); + } + + private void BuscarTodosLosProductosUtilizandoDto() + { + _logger.LogInformation("Buscando todos los productos utilizando un DTO."); + long startTime = Stopwatch.GetTimestamp(); + List productos = _productoDtoRepository.TraerTodo().ToList(); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + _logger.LogInformation("Se encontraron {NumeroProductos} productos.", productos.Count); + foreach (ProductoDto? producto in productos) + LogProducto(producto); + } + + private int CrearProductoPrueba() + { + _logger.LogInformation("Creando producto."); + var producto = new Producto(); + producto.Tipo = Tipo; + producto.CCODIGOPRODUCTO = CodigoPruebas; + producto.CNOMBREPRODUCTO = NombrePruebas; + tProducto productoSdk = producto.ToTProducto(); + long startTime = Stopwatch.GetTimestamp(); + int productoId = _productoService.Crear(productoSdk); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + return productoId; + } + + private void ModificarProductoPrueba() + { + _logger.LogInformation("Modificando producto."); + var datosProducto = new Dictionary + { + { nameof(admProductos.CCLAVESAT), ClaveSatPruebas }, { nameof(admProductos.CNOMBREPRODUCTO), NombrePruebas } + }; + long startTime = Stopwatch.GetTimestamp(); + _productoService.Actualizar(CodigoPruebas, datosProducto); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + } + + private void EliminarProductoPrueba() + { + _logger.LogInformation("Eliminando producto."); + long startTime = Stopwatch.GetTimestamp(); + _productoService.Eliminar(CodigoPruebas); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + } + + private void LogProducto(Producto producto) + { + _logger.LogInformation("Id: {Id}, Codigo: {Codigo}, Nombre: {Nombre}, Tipo: {Tipo}, ClaveSAT: {ClaveSat}", + producto.CIDPRODUCTO, + producto.CCODIGOPRODUCTO, + producto.CNOMBREPRODUCTO, + producto.Tipo, + producto.CCLAVESAT); + } + + private void LogProducto(ProductoDto producto) + { + _logger.LogInformation("Id: {Id}, Codigo: {Codigo}, Nombre: {Nombre}, Tipo: {Tipo}, ClaveSAT: {ClaveSat}", + producto.CIDPRODUCTO, + producto.CCODIGOPRODUCTO, + producto.CNOMBREPRODUCTO, + producto.CTIPOPRODUCTO, + producto.CCLAVESAT); + } +} diff --git a/samples/Sdk.Extras.ConsoleApp/Program.cs b/samples/Sdk.Extras.ConsoleApp/Program.cs index db1d95de..b30f0c82 100644 --- a/samples/Sdk.Extras.ConsoleApp/Program.cs +++ b/samples/Sdk.Extras.ConsoleApp/Program.cs @@ -1,51 +1,49 @@ using ARSoftware.Contpaqi.Comercial.Sdk.Extras; -using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Interfaces; -using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Models; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; -using Sdk.Extras.ConsoleApp; -using Sdk.Extras.ConsoleApp.Catalogos; +using Sdk.Extras.ConsoleApp.Ejemplos; IHost host = Host.CreateDefaultBuilder() .ConfigureServices(collection => { collection.AddContpaqiComercialSdkServices(); - collection.AddSingleton() - .AddSingleton() - .AddSingleton() - .AddSingleton() - .AddSingleton() - .AddSingleton(); + collection.AddSingleton() + .AddSingleton() + .AddSingleton() + .AddSingleton() + .AddSingleton() + .AddSingleton(); }) .ConfigureLogging(builder => { builder.AddSimpleConsole(options => { options.SingleLine = true; }); }) .Build(); await host.StartAsync(); -var conexionSdk = host.Services.GetRequiredService(); +var logger = host.Services.GetRequiredService>(); +logger.LogInformation("Iniciando Programa"); + +var conexionSdk = host.Services.GetRequiredService(); try { - var logger = host.Services.GetRequiredService>(); - logger.LogInformation("Iniciando Programa"); + conexionSdk.IniciarConexion(); + + conexionSdk.AbrirEmpresa(); + + // Ejemplos del uso del SDK + // Se pueden ejecutar de forma independiente + // Comenta los ejemplos que no quieras ejecutar + + host.Services.GetRequiredService().CorrerEjemplos(); - // Iniciar conexion - var sdk = host.Services.GetRequiredService(); + host.Services.GetRequiredService().CorrerEjemplos(); - if (sdk is FacturaElectronicaSdkExtended || sdk is AdminpaqSdkExtended) - conexionSdk.IniciarConexion(); - else if (sdk is ComercialSdkExtended) - conexionSdk.IniciarConexionConParametros("SUPERVISOR", ""); + host.Services.GetRequiredService().CorrerEjemplos(); - // Abrir empresa - var empresaSdk = host.Services.GetRequiredService(); - List empresas = empresaSdk.BuscarEmpresas(); - //empresaSdk.LogEmpresas(empresas); - Empresa empresaSeleccionada = empresas.First(e => e.CNOMBREEMPRESA == "UNIVERSIDAD ROBOTICA ESPAÑOLA SA DE CV"); - conexionSdk.AbrirEmpresa(empresaSeleccionada); + host.Services.GetRequiredService().CorrerEjemplos(); - // Pruebas con SDK + host.Services.GetRequiredService().CorrerEjemplos(); } catch (Exception e) { @@ -53,10 +51,8 @@ } finally { - // Cerrar empresa conexionSdk.CerrarEmpresa(); - // Terminar conexion conexionSdk.TerminarConexion(); } From 936c75f164577ff9bfdd128b27923656db5bfc3e Mon Sep 17 00:00:00 2001 From: Andres Ramos Date: Sun, 9 Apr 2023 00:28:47 -0500 Subject: [PATCH 05/14] feat: agrega CotizacionDelProveedor a DocumentoModelo --- .../Models/DocumentoModelo.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/Models/DocumentoModelo.cs b/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/Models/DocumentoModelo.cs index 28cae712..e53d120e 100644 --- a/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/Models/DocumentoModelo.cs +++ b/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/Models/DocumentoModelo.cs @@ -47,6 +47,7 @@ public class DocumentoModelo public static readonly DocumentoModelo NotaDeVenta = new DocumentoModelo(35, "Nota De Venta"); public static readonly DocumentoModelo DevolucionSobreNotaDeVenta = new DocumentoModelo(36, "Devolucion Sobre Nota De Venta"); public static readonly DocumentoModelo AjusteAlCosto = new DocumentoModelo(37, "Ajuste Al Costo"); + public static readonly DocumentoModelo CotizacionDelProveedor = new DocumentoModelo(38, "Cotización del Proveedor"); public DocumentoModelo() { @@ -110,6 +111,7 @@ public static IEnumerable ToList() yield return NotaDeVenta; yield return DevolucionSobreNotaDeVenta; yield return AjusteAlCosto; + yield return CotizacionDelProveedor; } } } From 7b5c258b876dab1ae6f27817508ec94966a49f92 Mon Sep 17 00:00:00 2001 From: Andres Ramos Date: Sun, 9 Apr 2023 02:10:38 -0500 Subject: [PATCH 06/14] refactor: add Sql.ConsoleApp sample project --- ARSoftware.Contpaqi.Comercial.sln | 7 +++++++ samples/Sql.ConsoleApp/ConfigurarServicios.cs | 5 +++++ samples/Sql.ConsoleApp/Program.cs | 14 ++++++++++++++ samples/Sql.ConsoleApp/Sql.ConsoleApp.csproj | 18 ++++++++++++++++++ 4 files changed, 44 insertions(+) create mode 100644 samples/Sql.ConsoleApp/ConfigurarServicios.cs create mode 100644 samples/Sql.ConsoleApp/Program.cs create mode 100644 samples/Sql.ConsoleApp/Sql.ConsoleApp.csproj diff --git a/ARSoftware.Contpaqi.Comercial.sln b/ARSoftware.Contpaqi.Comercial.sln index ae4b73ae..bff57f42 100644 --- a/ARSoftware.Contpaqi.Comercial.sln +++ b/ARSoftware.Contpaqi.Comercial.sln @@ -27,6 +27,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sdk.ConsoleApp", "samples\S EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sdk.Extras.WpfApp", "samples\Sdk.Extras.WpfApp\Sdk.Extras.WpfApp.csproj", "{44D515D2-3CB4-4A0D-B711-EDCED2204307}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sql.ConsoleApp", "samples\Sql.ConsoleApp\Sql.ConsoleApp.csproj", "{BFBBDE0B-876D-43C8-98DA-E2F798D373BF}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -69,6 +71,10 @@ Global {44D515D2-3CB4-4A0D-B711-EDCED2204307}.Debug|Any CPU.Build.0 = Debug|Any CPU {44D515D2-3CB4-4A0D-B711-EDCED2204307}.Release|Any CPU.ActiveCfg = Release|Any CPU {44D515D2-3CB4-4A0D-B711-EDCED2204307}.Release|Any CPU.Build.0 = Release|Any CPU + {BFBBDE0B-876D-43C8-98DA-E2F798D373BF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BFBBDE0B-876D-43C8-98DA-E2F798D373BF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BFBBDE0B-876D-43C8-98DA-E2F798D373BF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BFBBDE0B-876D-43C8-98DA-E2F798D373BF}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -83,6 +89,7 @@ Global {3202C9C7-70D6-474D-8953-970BD250746E} = {CFD90884-02FA-46CD-91B7-859A76C43404} {4BAE5C2C-047A-4E49-A233-A5B72471B3BB} = {789B7A52-4364-40CD-9DFF-60491464C56B} {44D515D2-3CB4-4A0D-B711-EDCED2204307} = {789B7A52-4364-40CD-9DFF-60491464C56B} + {BFBBDE0B-876D-43C8-98DA-E2F798D373BF} = {789B7A52-4364-40CD-9DFF-60491464C56B} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {3588233E-0044-4A6F-ACB1-262819D2D760} diff --git a/samples/Sql.ConsoleApp/ConfigurarServicios.cs b/samples/Sql.ConsoleApp/ConfigurarServicios.cs new file mode 100644 index 00000000..d440ad3d --- /dev/null +++ b/samples/Sql.ConsoleApp/ConfigurarServicios.cs @@ -0,0 +1,5 @@ +namespace Sql.ConsoleApp; + +public static class ConfigurarServicios +{ +} diff --git a/samples/Sql.ConsoleApp/Program.cs b/samples/Sql.ConsoleApp/Program.cs new file mode 100644 index 00000000..7a9ecd4e --- /dev/null +++ b/samples/Sql.ConsoleApp/Program.cs @@ -0,0 +1,14 @@ +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Hosting; +using Microsoft.Extensions.Logging; + +IHost host = Host.CreateDefaultBuilder() + .ConfigureServices(collection => { }) + .ConfigureLogging(builder => { builder.AddSimpleConsole(options => { options.SingleLine = true; }); }) + .Build(); +await host.StartAsync(); + +var logger = host.Services.GetRequiredService>(); +logger.LogInformation("Iniciando Programa"); + +await host.StopAsync(); diff --git a/samples/Sql.ConsoleApp/Sql.ConsoleApp.csproj b/samples/Sql.ConsoleApp/Sql.ConsoleApp.csproj new file mode 100644 index 00000000..43744e82 --- /dev/null +++ b/samples/Sql.ConsoleApp/Sql.ConsoleApp.csproj @@ -0,0 +1,18 @@ + + + + Exe + net7.0 + enable + enable + + + + + + + + + + + \ No newline at end of file From f339beac5015ccab4b01450d1507a567c06f9018 Mon Sep 17 00:00:00 2001 From: Andres Ramos Date: Sun, 9 Apr 2023 14:34:28 -0500 Subject: [PATCH 07/14] refactor: agrega ejemplos de SQL --- ARSoftware.Contpaqi.Comercial.sln | 9 +- .../Models}/Dtos/ClienteDto.cs | 2 +- .../Models}/Dtos/ConceptoDto.cs | 2 +- .../Models}/Dtos/DocumentoDto.cs | 2 +- .../Models}/Dtos/ProductoDto.cs | 4 +- samples/Samples.Common/Samples.Common.csproj | 9 ++ .../Ejemplos/EjemplosCliente.cs | 2 +- .../Ejemplos/EjemplosConcepto.cs | 2 +- .../Ejemplos/EjemplosDocumento.cs | 2 +- .../Ejemplos/EjemplosProducto.cs | 2 +- samples/Sdk.Extras.ConsoleApp/Program.cs | 2 +- .../Sdk.Extras.ConsoleApp.csproj | 5 + samples/Sql.ConsoleApp/ConfigurarServicios.cs | 5 - .../Ejemplos/EjemplosCliente.cs | 91 +++++++++++++++++++ .../Ejemplos/EjemplosEmpresa.cs | 46 ++++++++++ .../Ejemplos/EjemplosProducto.cs | 83 +++++++++++++++++ samples/Sql.ConsoleApp/Program.cs | 43 ++++++++- samples/Sql.ConsoleApp/Sql.ConsoleApp.csproj | 1 + 18 files changed, 294 insertions(+), 18 deletions(-) rename samples/{Sdk.Extras.ConsoleApp => Samples.Common/Models}/Dtos/ClienteDto.cs (92%) rename samples/{Sdk.Extras.ConsoleApp => Samples.Common/Models}/Dtos/ConceptoDto.cs (88%) rename samples/{Sdk.Extras.ConsoleApp => Samples.Common/Models}/Dtos/DocumentoDto.cs (90%) rename samples/{Sdk.Extras.ConsoleApp => Samples.Common/Models}/Dtos/ProductoDto.cs (74%) create mode 100644 samples/Samples.Common/Samples.Common.csproj delete mode 100644 samples/Sql.ConsoleApp/ConfigurarServicios.cs create mode 100644 samples/Sql.ConsoleApp/Ejemplos/EjemplosCliente.cs create mode 100644 samples/Sql.ConsoleApp/Ejemplos/EjemplosEmpresa.cs create mode 100644 samples/Sql.ConsoleApp/Ejemplos/EjemplosProducto.cs diff --git a/ARSoftware.Contpaqi.Comercial.sln b/ARSoftware.Contpaqi.Comercial.sln index bff57f42..05469161 100644 --- a/ARSoftware.Contpaqi.Comercial.sln +++ b/ARSoftware.Contpaqi.Comercial.sln @@ -27,7 +27,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sdk.ConsoleApp", "samples\S EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sdk.Extras.WpfApp", "samples\Sdk.Extras.WpfApp\Sdk.Extras.WpfApp.csproj", "{44D515D2-3CB4-4A0D-B711-EDCED2204307}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sql.ConsoleApp", "samples\Sql.ConsoleApp\Sql.ConsoleApp.csproj", "{BFBBDE0B-876D-43C8-98DA-E2F798D373BF}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sql.ConsoleApp", "samples\Sql.ConsoleApp\Sql.ConsoleApp.csproj", "{BFBBDE0B-876D-43C8-98DA-E2F798D373BF}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Samples.Common", "samples\Samples.Common\Samples.Common.csproj", "{5D6A92F2-8671-401E-8B5B-B1BCEC3EEF5E}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -75,6 +77,10 @@ Global {BFBBDE0B-876D-43C8-98DA-E2F798D373BF}.Debug|Any CPU.Build.0 = Debug|Any CPU {BFBBDE0B-876D-43C8-98DA-E2F798D373BF}.Release|Any CPU.ActiveCfg = Release|Any CPU {BFBBDE0B-876D-43C8-98DA-E2F798D373BF}.Release|Any CPU.Build.0 = Release|Any CPU + {5D6A92F2-8671-401E-8B5B-B1BCEC3EEF5E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5D6A92F2-8671-401E-8B5B-B1BCEC3EEF5E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5D6A92F2-8671-401E-8B5B-B1BCEC3EEF5E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5D6A92F2-8671-401E-8B5B-B1BCEC3EEF5E}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -90,6 +96,7 @@ Global {4BAE5C2C-047A-4E49-A233-A5B72471B3BB} = {789B7A52-4364-40CD-9DFF-60491464C56B} {44D515D2-3CB4-4A0D-B711-EDCED2204307} = {789B7A52-4364-40CD-9DFF-60491464C56B} {BFBBDE0B-876D-43C8-98DA-E2F798D373BF} = {789B7A52-4364-40CD-9DFF-60491464C56B} + {5D6A92F2-8671-401E-8B5B-B1BCEC3EEF5E} = {789B7A52-4364-40CD-9DFF-60491464C56B} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {3588233E-0044-4A6F-ACB1-262819D2D760} diff --git a/samples/Sdk.Extras.ConsoleApp/Dtos/ClienteDto.cs b/samples/Samples.Common/Models/Dtos/ClienteDto.cs similarity index 92% rename from samples/Sdk.Extras.ConsoleApp/Dtos/ClienteDto.cs rename to samples/Samples.Common/Models/Dtos/ClienteDto.cs index 5d587413..dbe3d61d 100644 --- a/samples/Sdk.Extras.ConsoleApp/Dtos/ClienteDto.cs +++ b/samples/Samples.Common/Models/Dtos/ClienteDto.cs @@ -1,6 +1,6 @@ // ReSharper disable InconsistentNaming -namespace Sdk.Extras.ConsoleApp.Dtos; +namespace Samples.Common.Models.Dtos; public sealed class ClienteDto { diff --git a/samples/Sdk.Extras.ConsoleApp/Dtos/ConceptoDto.cs b/samples/Samples.Common/Models/Dtos/ConceptoDto.cs similarity index 88% rename from samples/Sdk.Extras.ConsoleApp/Dtos/ConceptoDto.cs rename to samples/Samples.Common/Models/Dtos/ConceptoDto.cs index b6347dfa..ee7c4255 100644 --- a/samples/Sdk.Extras.ConsoleApp/Dtos/ConceptoDto.cs +++ b/samples/Samples.Common/Models/Dtos/ConceptoDto.cs @@ -1,6 +1,6 @@ // ReSharper disable InconsistentNaming -namespace Sdk.Extras.ConsoleApp.Dtos; +namespace Samples.Common.Models.Dtos; public class ConceptoDto { diff --git a/samples/Sdk.Extras.ConsoleApp/Dtos/DocumentoDto.cs b/samples/Samples.Common/Models/Dtos/DocumentoDto.cs similarity index 90% rename from samples/Sdk.Extras.ConsoleApp/Dtos/DocumentoDto.cs rename to samples/Samples.Common/Models/Dtos/DocumentoDto.cs index 34d88143..af97d9b3 100644 --- a/samples/Sdk.Extras.ConsoleApp/Dtos/DocumentoDto.cs +++ b/samples/Samples.Common/Models/Dtos/DocumentoDto.cs @@ -1,6 +1,6 @@ // ReSharper disable InconsistentNaming -namespace Sdk.Extras.ConsoleApp.Dtos; +namespace Samples.Common.Models.Dtos; public sealed class DocumentoDto { diff --git a/samples/Sdk.Extras.ConsoleApp/Dtos/ProductoDto.cs b/samples/Samples.Common/Models/Dtos/ProductoDto.cs similarity index 74% rename from samples/Sdk.Extras.ConsoleApp/Dtos/ProductoDto.cs rename to samples/Samples.Common/Models/Dtos/ProductoDto.cs index 70dc987c..a5ad71ca 100644 --- a/samples/Sdk.Extras.ConsoleApp/Dtos/ProductoDto.cs +++ b/samples/Samples.Common/Models/Dtos/ProductoDto.cs @@ -1,6 +1,6 @@ // ReSharper disable InconsistentNaming -namespace Sdk.Extras.ConsoleApp.Dtos; +namespace Samples.Common.Models.Dtos; public class ProductoDto { @@ -8,5 +8,5 @@ public class ProductoDto public string CCODIGOPRODUCTO { get; set; } = string.Empty; public string CNOMBREPRODUCTO { get; set; } = string.Empty; public int CTIPOPRODUCTO { get; set; } - public string CCLAVESAT { get; set; } + public string CCLAVESAT { get; set; } = string.Empty; } diff --git a/samples/Samples.Common/Samples.Common.csproj b/samples/Samples.Common/Samples.Common.csproj new file mode 100644 index 00000000..cfadb03d --- /dev/null +++ b/samples/Samples.Common/Samples.Common.csproj @@ -0,0 +1,9 @@ + + + + net7.0 + enable + enable + + + diff --git a/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosCliente.cs b/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosCliente.cs index f7735796..330ef42c 100644 --- a/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosCliente.cs +++ b/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosCliente.cs @@ -5,7 +5,7 @@ using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Models.Enums; using ARSoftware.Contpaqi.Comercial.Sql.Models.Empresa; using Microsoft.Extensions.Logging; -using Sdk.Extras.ConsoleApp.Dtos; +using Samples.Common.Models.Dtos; namespace Sdk.Extras.ConsoleApp.Ejemplos; diff --git a/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosConcepto.cs b/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosConcepto.cs index 5c909100..384217df 100644 --- a/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosConcepto.cs +++ b/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosConcepto.cs @@ -2,7 +2,7 @@ using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Interfaces; using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Models; using Microsoft.Extensions.Logging; -using Sdk.Extras.ConsoleApp.Dtos; +using Samples.Common.Models.Dtos; namespace Sdk.Extras.ConsoleApp.Ejemplos; diff --git a/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosDocumento.cs b/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosDocumento.cs index a5dd5ff1..12a7c8e0 100644 --- a/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosDocumento.cs +++ b/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosDocumento.cs @@ -6,7 +6,7 @@ using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Models.Enums; using ARSoftware.Contpaqi.Comercial.Sql.Models.Empresa; using Microsoft.Extensions.Logging; -using Sdk.Extras.ConsoleApp.Dtos; +using Samples.Common.Models.Dtos; namespace Sdk.Extras.ConsoleApp.Ejemplos; diff --git a/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosProducto.cs b/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosProducto.cs index 0fa7b81d..6342af9b 100644 --- a/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosProducto.cs +++ b/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosProducto.cs @@ -5,7 +5,7 @@ using ARSoftware.Contpaqi.Comercial.Sdk.Extras.Models.Enums; using ARSoftware.Contpaqi.Comercial.Sql.Models.Empresa; using Microsoft.Extensions.Logging; -using Sdk.Extras.ConsoleApp.Dtos; +using Samples.Common.Models.Dtos; namespace Sdk.Extras.ConsoleApp.Ejemplos; diff --git a/samples/Sdk.Extras.ConsoleApp/Program.cs b/samples/Sdk.Extras.ConsoleApp/Program.cs index b30f0c82..814928e2 100644 --- a/samples/Sdk.Extras.ConsoleApp/Program.cs +++ b/samples/Sdk.Extras.ConsoleApp/Program.cs @@ -47,7 +47,7 @@ } catch (Exception e) { - Console.WriteLine(e.ToString()); + logger.LogCritical(e, "Ocurrio un error"); } finally { diff --git a/samples/Sdk.Extras.ConsoleApp/Sdk.Extras.ConsoleApp.csproj b/samples/Sdk.Extras.ConsoleApp/Sdk.Extras.ConsoleApp.csproj index 32e0d4c2..478c0c11 100644 --- a/samples/Sdk.Extras.ConsoleApp/Sdk.Extras.ConsoleApp.csproj +++ b/samples/Sdk.Extras.ConsoleApp/Sdk.Extras.ConsoleApp.csproj @@ -14,6 +14,11 @@ + + + + + diff --git a/samples/Sql.ConsoleApp/ConfigurarServicios.cs b/samples/Sql.ConsoleApp/ConfigurarServicios.cs deleted file mode 100644 index d440ad3d..00000000 --- a/samples/Sql.ConsoleApp/ConfigurarServicios.cs +++ /dev/null @@ -1,5 +0,0 @@ -namespace Sql.ConsoleApp; - -public static class ConfigurarServicios -{ -} diff --git a/samples/Sql.ConsoleApp/Ejemplos/EjemplosCliente.cs b/samples/Sql.ConsoleApp/Ejemplos/EjemplosCliente.cs new file mode 100644 index 00000000..4012210d --- /dev/null +++ b/samples/Sql.ConsoleApp/Ejemplos/EjemplosCliente.cs @@ -0,0 +1,91 @@ +using System.Diagnostics; +using ARSoftware.Contpaqi.Comercial.Sql.Contexts; +using ARSoftware.Contpaqi.Comercial.Sql.Models.Empresa; +using Microsoft.Extensions.Logging; +using Samples.Common.Models.Dtos; + +namespace Sql.ConsoleApp.Ejemplos; + +internal class EjemplosCliente +{ + private readonly ContpaqiComercialEmpresaDbContext _empresaDbContext; + private readonly ILogger _logger; + + public EjemplosCliente(ContpaqiComercialEmpresaDbContext empresaDbContext, ILogger logger) + { + _empresaDbContext = empresaDbContext; + _logger = logger; + } + + public void CorrerEjemplos() + { + // Comenta los ejemplos que no quieras ejecutar + + _logger.LogInformation("Corriendo pruebas de clientes."); + + BuscarTodosLosClientes(); + + BuscarTodosLosClientesUtilizandoDto(); + } + + private void BuscarTodosLosClientes() + { + _logger.LogInformation("Buscando todos los clientes."); + long startTime = Stopwatch.GetTimestamp(); + List clientes = _empresaDbContext.admClientes.OrderBy(c => c.CRAZONSOCIAL).ToList(); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + _logger.LogInformation("Se encontraron {NumeroClientes} clientes.", clientes.Count); + foreach (admClientes cliente in clientes) + LogCliente(cliente); + } + + private void BuscarTodosLosClientesUtilizandoDto() + { + _logger.LogInformation("Buscando todos los clientes utilizando un DTO."); + long startTime = Stopwatch.GetTimestamp(); + List clientes = _empresaDbContext.admClientes.OrderBy(c => c.CRAZONSOCIAL) + .Select(c => new ClienteDto + { + CIDCLIENTEPROVEEDOR = c.CIDCLIENTEPROVEEDOR, + CCODIGOCLIENTE = c.CCODIGOCLIENTE, + CRAZONSOCIAL = c.CRAZONSOCIAL, + CRFC = c.CRFC, + CTIPOCLIENTE = c.CTIPOCLIENTE, + CUSOCFDI = c.CUSOCFDI, + CREGIMFISC = c.CREGIMFISC + }) + .ToList(); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + _logger.LogInformation("Se encontraron {NumeroClientes} clientes.", clientes.Count); + foreach (ClienteDto cliente in clientes) + LogCliente(cliente); + } + + private void LogCliente(admClientes clienteProveedor) + { + _logger.LogInformation( + "Id: {Id}, Codigo: {Codigo}, Razon Social: {RazonSocial}, RFC: {Rfc}, Tipo: {Tipo}, Uso CFDI: {UsoCfdi}, Regimen Fiscal: {RegimenFiscal}", + clienteProveedor.CIDCLIENTEPROVEEDOR, + clienteProveedor.CCODIGOCLIENTE, + clienteProveedor.CRAZONSOCIAL, + clienteProveedor.CRFC, + clienteProveedor.CTIPOCLIENTE, + clienteProveedor.CUSOCFDI, + clienteProveedor.CREGIMFISC); + } + + private void LogCliente(ClienteDto clienteProveedor) + { + _logger.LogInformation( + "Id: {Id}, Codigo: {Codigo}, Razon Social: {RazonSocial}, RFC: {Rfc}, Tipo: {Tipo}, Uso CFDI: {UsoCfdi}, Regimen Fiscal: {RegimenFiscal}", + clienteProveedor.CIDCLIENTEPROVEEDOR, + clienteProveedor.CCODIGOCLIENTE, + clienteProveedor.CRAZONSOCIAL, + clienteProveedor.CRFC, + clienteProveedor.CTIPOCLIENTE, + clienteProveedor.CUSOCFDI, + clienteProveedor.CREGIMFISC); + } +} diff --git a/samples/Sql.ConsoleApp/Ejemplos/EjemplosEmpresa.cs b/samples/Sql.ConsoleApp/Ejemplos/EjemplosEmpresa.cs new file mode 100644 index 00000000..064b93f8 --- /dev/null +++ b/samples/Sql.ConsoleApp/Ejemplos/EjemplosEmpresa.cs @@ -0,0 +1,46 @@ +using System.Diagnostics; +using ARSoftware.Contpaqi.Comercial.Sql.Contexts; +using ARSoftware.Contpaqi.Comercial.Sql.Models.Generales; +using Microsoft.Extensions.Logging; + +namespace Sql.ConsoleApp.Ejemplos; + +public sealed class EjemplosEmpresa +{ + private readonly ContpaqiComercialGeneralesDbContext _generalesDbContext; + private readonly ILogger _logger; + + public EjemplosEmpresa(ContpaqiComercialGeneralesDbContext generalesDbContext, ILogger logger) + { + _generalesDbContext = generalesDbContext; + _logger = logger; + } + + public void CorrerEjemplos() + { + // Comenta los ejemplos que no quieras ejecutar + + _logger.LogInformation("Corriendo pruebas de empresas."); + + BuscarTodasLasEmpresas(); + } + + private IEnumerable BuscarTodasLasEmpresas() + { + _logger.LogInformation("Buscando todas las empresas."); + long startTime = Stopwatch.GetTimestamp(); + List empresas = _generalesDbContext.Empresas.OrderBy(e => e.CNOMBREEMPRESA).ToList(); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + _logger.LogInformation("Se encontraron {NumeroEmpresas} empresas.", empresas.Count); + foreach (Empresas empresa in empresas) + LogEmpresa(empresa); + + return empresas; + } + + private void LogEmpresa(Empresas empresa) + { + _logger.LogInformation("Id: {Id}, Nombre: {Nombre}, Ruta: {Ruta}", empresa.CIDEMPRESA, empresa.CNOMBREEMPRESA, empresa.CRUTADATOS); + } +} diff --git a/samples/Sql.ConsoleApp/Ejemplos/EjemplosProducto.cs b/samples/Sql.ConsoleApp/Ejemplos/EjemplosProducto.cs new file mode 100644 index 00000000..52c4e5a4 --- /dev/null +++ b/samples/Sql.ConsoleApp/Ejemplos/EjemplosProducto.cs @@ -0,0 +1,83 @@ +using System.Diagnostics; +using ARSoftware.Contpaqi.Comercial.Sql.Contexts; +using ARSoftware.Contpaqi.Comercial.Sql.Models.Empresa; +using Microsoft.Extensions.Logging; +using Samples.Common.Models.Dtos; + +namespace Sql.ConsoleApp.Ejemplos; + +public sealed class EjemplosProducto +{ + private readonly ContpaqiComercialEmpresaDbContext _empresaDbContext; + private readonly ILogger _logger; + + public EjemplosProducto(ContpaqiComercialEmpresaDbContext empresaDbContext, ILogger logger) + { + _empresaDbContext = empresaDbContext; + _logger = logger; + } + + public void CorrerEjemplos() + { + // Comenta los ejemplos que no quieras ejecutar + + _logger.LogInformation("Corriendo pruebas de productos."); + + BuscarTodosLosProductos(); + + BuscarTodosLosProductosUtilizandoDto(); + } + + private void BuscarTodosLosProductos() + { + _logger.LogInformation("Buscando todos los productos."); + long startTime = Stopwatch.GetTimestamp(); + List productos = _empresaDbContext.admProductos.OrderBy(p => p.CNOMBREPRODUCTO).ToList(); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + _logger.LogInformation("Se encontraron {NumeroProductos} productos.", productos.Count); + foreach (admProductos producto in productos) + LogProducto(producto); + } + + private void BuscarTodosLosProductosUtilizandoDto() + { + _logger.LogInformation("Buscando todos los productos utilizando un DTO."); + long startTime = Stopwatch.GetTimestamp(); + List productos = _empresaDbContext.admProductos.OrderBy(p => p.CNOMBREPRODUCTO) + .Select(p => new ProductoDto + { + CIDPRODUCTO = p.CIDPRODUCTO, + CCODIGOPRODUCTO = p.CCODIGOPRODUCTO, + CNOMBREPRODUCTO = p.CNOMBREPRODUCTO, + CTIPOPRODUCTO = p.CTIPOPRODUCTO, + CCLAVESAT = p.CCLAVESAT + }) + .ToList(); + TimeSpan elapsedTime = Stopwatch.GetElapsedTime(startTime); + _logger.LogInformation("La operacion tardo {Tiempo}", elapsedTime); + _logger.LogInformation("Se encontraron {NumeroProductos} productos.", productos.Count); + foreach (ProductoDto producto in productos) + LogProducto(producto); + } + + private void LogProducto(admProductos producto) + { + _logger.LogInformation("Id: {Id}, Codigo: {Codigo}, Nombre: {Nombre}, Tipo: {Tipo}, ClaveSAT: {ClaveSat}", + producto.CIDPRODUCTO, + producto.CCODIGOPRODUCTO, + producto.CNOMBREPRODUCTO, + producto.CTIPOPRODUCTO, + producto.CCLAVESAT); + } + + private void LogProducto(ProductoDto producto) + { + _logger.LogInformation("Id: {Id}, Codigo: {Codigo}, Nombre: {Nombre}, Tipo: {Tipo}, ClaveSAT: {ClaveSat}", + producto.CIDPRODUCTO, + producto.CCODIGOPRODUCTO, + producto.CNOMBREPRODUCTO, + producto.CTIPOPRODUCTO, + producto.CCLAVESAT); + } +} diff --git a/samples/Sql.ConsoleApp/Program.cs b/samples/Sql.ConsoleApp/Program.cs index 7a9ecd4e..fcd37539 100644 --- a/samples/Sql.ConsoleApp/Program.cs +++ b/samples/Sql.ConsoleApp/Program.cs @@ -1,14 +1,53 @@ -using Microsoft.Extensions.DependencyInjection; +using ARSoftware.Contpaqi.Comercial.Sql.Contexts; +using ARSoftware.Contpaqi.Comercial.Sql.Factories; +using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; +using Sql.ConsoleApp.Ejemplos; IHost host = Host.CreateDefaultBuilder() - .ConfigureServices(collection => { }) + .ConfigureServices(collection => + { + var connectionString = @"Data Source=AR-SERVER\COMPAC;User ID=sa;Password=Sdmramos1;Connect Timeout=30;"; + var nombreBaseDatosEmpresa = "adUNIVERSIDAD_ROBOTICA"; + + // Registrar generales context + collection.AddDbContext(builder => + builder.UseSqlServer( + ContpaqiComercialSqlConnectionStringFactory.CreateContpaqiComercialGeneralesConnectionString(connectionString))); + + // Registrar empresa context + collection.AddDbContext(builder => + builder.UseSqlServer( + ContpaqiComercialSqlConnectionStringFactory.CreateContpaqiComercialEmpresaConnectionString(connectionString, + nombreBaseDatosEmpresa))); + + collection.AddSingleton(); + collection.AddSingleton(); + collection.AddSingleton(); + }) .ConfigureLogging(builder => { builder.AddSimpleConsole(options => { options.SingleLine = true; }); }) .Build(); await host.StartAsync(); var logger = host.Services.GetRequiredService>(); logger.LogInformation("Iniciando Programa"); +try +{ + // Ejemplos del uso del SDK + // Se pueden ejecutar de forma independiente + // Comenta los ejemplos que no quieras ejecutar + + host.Services.GetRequiredService().CorrerEjemplos(); + + host.Services.GetRequiredService().CorrerEjemplos(); + + host.Services.GetRequiredService().CorrerEjemplos(); +} +catch (Exception e) +{ + logger.LogCritical(e, "Ocurrio un error"); +} await host.StopAsync(); diff --git a/samples/Sql.ConsoleApp/Sql.ConsoleApp.csproj b/samples/Sql.ConsoleApp/Sql.ConsoleApp.csproj index 43744e82..6e4655f8 100644 --- a/samples/Sql.ConsoleApp/Sql.ConsoleApp.csproj +++ b/samples/Sql.ConsoleApp/Sql.ConsoleApp.csproj @@ -13,6 +13,7 @@ + \ No newline at end of file From a7e3a57128d48be2d219a41d0b07a5192f19170b Mon Sep 17 00:00:00 2001 From: Andres Ramos Date: Sun, 9 Apr 2023 14:52:09 -0500 Subject: [PATCH 08/14] feat: agrega e implementa catalogo de motivo de cancelacion --- .../Catalogos/DocumentoSdk.cs | 4 +- .../Interfaces/IDocumentoService.cs | 4 +- .../Models/Enums/MotivoCancelacion.cs | 64 +++++++++++++++++++ .../Services/DocumentoService.cs | 11 ++-- 4 files changed, 75 insertions(+), 8 deletions(-) create mode 100644 src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/Models/Enums/MotivoCancelacion.cs diff --git a/samples/Sdk.Extras.ConsoleApp/Catalogos/DocumentoSdk.cs b/samples/Sdk.Extras.ConsoleApp/Catalogos/DocumentoSdk.cs index 87fad425..f7e88d16 100644 --- a/samples/Sdk.Extras.ConsoleApp/Catalogos/DocumentoSdk.cs +++ b/samples/Sdk.Extras.ConsoleApp/Catalogos/DocumentoSdk.cs @@ -176,14 +176,14 @@ public void CancelarDocumento() { _logger.LogInformation("CancelarDocumento()"); Documento? documento = _documentoRepository.BuscarPorLlave("400", "FAP", "28"); - _documentoService.Cancelar(documento.CIDDOCUMENTO, "12345678a", "02", ""); + _documentoService.Cancelar(documento.CIDDOCUMENTO, "12345678a", MotivoCancelacion._02, ""); } public void CancelarDocumentoPorLlave() { _logger.LogInformation("CancelarDocumentoPorLlave()"); var llave = new tLlaveDoc { aCodConcepto = "400", aSerie = "FAP", aFolio = 58 }; - _documentoService.Cancelar(llave, "12345678A", "02", ""); + _documentoService.Cancelar(llave, "12345678A", MotivoCancelacion._02, ""); } public void LogDocumento(Documento documento) diff --git a/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/Interfaces/IDocumentoService.cs b/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/Interfaces/IDocumentoService.cs index c0ceb675..754f7bd5 100644 --- a/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/Interfaces/IDocumentoService.cs +++ b/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/Interfaces/IDocumentoService.cs @@ -12,8 +12,8 @@ public interface IDocumentoService void Actualizar(tLlaveDoc tLlaveDocumento, Dictionary datosDocumento); tLlaveDoc BuscarSiguienteSerieYFolio(string codigoConcepto); void Cancelar(int idDocumento, string contrasenaCertificado); - void Cancelar(int idDocumento, string contrasenaCertificado, string motivoCancelacion, string uuidRemplazo); - void Cancelar(tLlaveDoc tLlaveDocumento, string contrasenaCertificado, string motivoCancelacion, string uuidRemplazo); + void Cancelar(int idDocumento, string contrasenaCertificado, MotivoCancelacion motivoCancelacion, string uuidRemplazo); + void Cancelar(tLlaveDoc tLlaveDocumento, string contrasenaCertificado, MotivoCancelacion motivoCancelacion, string uuidRemplazo); void CancelarAdministrativamente(int idDocumento); void CancelarAdministrativamente(string codigoConcepto, string serie, string folio); void CancelarAdministrativamente(tLlaveDoc tLlaveDocumento); diff --git a/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/Models/Enums/MotivoCancelacion.cs b/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/Models/Enums/MotivoCancelacion.cs new file mode 100644 index 00000000..145bcc70 --- /dev/null +++ b/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/Models/Enums/MotivoCancelacion.cs @@ -0,0 +1,64 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; + +namespace ARSoftware.Contpaqi.Comercial.Sdk.Extras.Models.Enums +{ + public sealed class MotivoCancelacion + { + /// + /// 01 - Comprobantes emitidos con errores con relación. + /// + public static readonly MotivoCancelacion _01 = new MotivoCancelacion("01", "Comprobantes emitidos con errores con relación."); + + /// + /// 02 - Comprobantes emitidos con errores sin relación. + /// + public static readonly MotivoCancelacion _02 = new MotivoCancelacion("02", "Comprobantes emitidos con errores sin relación."); + + /// + /// 03 - No se llevó a cabo la operación. + /// + public static readonly MotivoCancelacion _03 = new MotivoCancelacion("03", "No se llevó a cabo la operación."); + + /// + /// 04 - Operación nominativa relacionada en una factura global. + /// + public static readonly MotivoCancelacion _04 = + new MotivoCancelacion("04", "Operación nominativa relacionada en una factura global."); + + public MotivoCancelacion(string clave, string descripcion) + { + Clave = clave; + Descripcion = descripcion; + } + + public string Clave { get; } + public string Descripcion { get; } + + public static MotivoCancelacion FromClave(string clave) + { + return ToList().SingleOrDefault(r => r.Clave == clave); + } + + public static MotivoCancelacion FromDescripcion(string descripcion) + { + return ToList().SingleOrDefault(r => string.Equals(r.Descripcion, descripcion, StringComparison.OrdinalIgnoreCase)); + } + + public static List ToList() + { + return typeof(MotivoCancelacion).GetFields(BindingFlags.Public | BindingFlags.Static) + .Where(p => p.FieldType == typeof(MotivoCancelacion)) + .Select(pi => (MotivoCancelacion)pi.GetValue(null)) + .OrderBy(p => p.Clave) + .ToList(); + } + + public override string ToString() + { + return $"{Clave} - {Descripcion}"; + } + } +} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/Services/DocumentoService.cs b/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/Services/DocumentoService.cs index 9bf6df40..113e6c7b 100644 --- a/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/Services/DocumentoService.cs +++ b/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/Services/DocumentoService.cs @@ -61,18 +61,21 @@ public void Cancelar(int idDocumento, string contrasenaCertificado) _sdk.fCancelaDocumento().ToResultadoSdk(_sdk).ThrowIfError(); } - public void Cancelar(int idDocumento, string contrasenaCertificado, string motivoCancelacion, string uuidRemplazo) + public void Cancelar(int idDocumento, string contrasenaCertificado, MotivoCancelacion motivoCancelacion, string uuidRemplazo) { _sdk.fBuscarIdDocumento(idDocumento).ToResultadoSdk(_sdk).ThrowIfError(); _sdk.fCancelaDoctoInfo(contrasenaCertificado).ToResultadoSdk(_sdk).ThrowIfError(); - _sdk.fCancelaDocumentoConMotivo(motivoCancelacion, uuidRemplazo); + _sdk.fCancelaDocumentoConMotivo(motivoCancelacion.Clave, uuidRemplazo); } - public void Cancelar(tLlaveDoc tLlaveDocumento, string contrasenaCertificado, string motivoCancelacion, string uuidRemplazo) + public void Cancelar(tLlaveDoc tLlaveDocumento, + string contrasenaCertificado, + MotivoCancelacion motivoCancelacion, + string uuidRemplazo) { _sdk.fBuscaDocumento(ref tLlaveDocumento).ToResultadoSdk(_sdk).ThrowIfError(); _sdk.fCancelaDoctoInfo(contrasenaCertificado).ToResultadoSdk(_sdk).ThrowIfError(); - _sdk.fCancelaDocumentoConMotivo(motivoCancelacion, uuidRemplazo); + _sdk.fCancelaDocumentoConMotivo(motivoCancelacion.Clave, uuidRemplazo); } public void CancelarAdministrativamente(int idDocumento) From 65b4db06f26358960ef1095e3415fb3d808bb323 Mon Sep 17 00:00:00 2001 From: Andres Ramos Date: Sun, 9 Apr 2023 15:00:43 -0500 Subject: [PATCH 09/14] fix: implementa motivo cancelacion en ejemplo --- samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosDocumento.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosDocumento.cs b/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosDocumento.cs index 12a7c8e0..0981c099 100644 --- a/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosDocumento.cs +++ b/samples/Sdk.Extras.ConsoleApp/Ejemplos/EjemplosDocumento.cs @@ -24,9 +24,9 @@ private const string private const string RutaPlantillaPdfPruebas = @"\\AR-SERVER\Compac\Empresas\Reportes\Formatos Digitales\reportes_Servidor\COMERCIAL\Facturav40.rdl"; // La ruta a la plantilla en mi servidor ya que las pruebas las hago en una temrinal. - private const string MotivoCancelacionPruebas = "02"; private const string UuidReemplazoPruebas = ""; private const double ImporteAbonoPruebas = 116; + private static readonly MotivoCancelacion MotivoCancelacionPruebas = MotivoCancelacion._02; private readonly IAlmacenRepository _almacenRepository; private readonly IClienteProveedorRepository _clienteProveedorRepository; private readonly IConceptoDocumentoRepository _conceptoDocumentoRepository; From 5ced98b4e7c9025df0adf903e4ff12487ef7067d Mon Sep 17 00:00:00 2001 From: Andres Ramos Date: Sun, 9 Apr 2023 15:06:42 -0500 Subject: [PATCH 10/14] refactor: consolida versiones de todos los projects a 4.4.0 --- .../ARSoftware.Contpaqi.Comercial.Sdk.Extras.csproj | 2 +- .../ARSoftware.Contpaqi.Comercial.Sdk.csproj | 2 +- .../ARSoftware.Contpaqi.Comercial.Sql.Models.csproj | 2 +- .../ARSoftware.Contpaqi.Comercial.Sql.csproj | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/ARSoftware.Contpaqi.Comercial.Sdk.Extras.csproj b/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/ARSoftware.Contpaqi.Comercial.Sdk.Extras.csproj index 19220ac1..7c4e60c7 100644 --- a/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/ARSoftware.Contpaqi.Comercial.Sdk.Extras.csproj +++ b/src/ARSoftware.Contpaqi.Comercial.Sdk.Extras/ARSoftware.Contpaqi.Comercial.Sdk.Extras.csproj @@ -2,7 +2,7 @@ netstandard2.0 - 4.3.0 + 4.4.0 AR Software Este proyecto extiende el proyecto ARSoftware.Contpaqi.Comercial.Sdk y dispone de varios repositorios y servicios que implementan las diferentes funcionalidades del SDK. Copyright © AR Software 2022 diff --git a/src/ARSoftware.Contpaqi.Comercial.Sdk/ARSoftware.Contpaqi.Comercial.Sdk.csproj b/src/ARSoftware.Contpaqi.Comercial.Sdk/ARSoftware.Contpaqi.Comercial.Sdk.csproj index 3ef9205b..e3e33639 100644 --- a/src/ARSoftware.Contpaqi.Comercial.Sdk/ARSoftware.Contpaqi.Comercial.Sdk.csproj +++ b/src/ARSoftware.Contpaqi.Comercial.Sdk/ARSoftware.Contpaqi.Comercial.Sdk.csproj @@ -2,7 +2,7 @@ netstandard2.0 - 4.2.0 + 4.4.0 AR Software Este proyecto tiene declaradas todas las funciones y clases utilizadas por el SDK de CONTPAQi Comercial, CONTPAQi Adminpaq, y CONTPAQi Factura Electronica. Copyright © AR Software 2022 diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.Models/ARSoftware.Contpaqi.Comercial.Sql.Models.csproj b/src/ARSoftware.Contpaqi.Comercial.Sql.Models/ARSoftware.Contpaqi.Comercial.Sql.Models.csproj index 5cdab3a0..0dea02cc 100644 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.Models/ARSoftware.Contpaqi.Comercial.Sql.Models.csproj +++ b/src/ARSoftware.Contpaqi.Comercial.Sql.Models/ARSoftware.Contpaqi.Comercial.Sql.Models.csproj @@ -3,7 +3,7 @@ netstandard2.0 True - 3.2.0 + 4.4.0 AR Software Modelo de las bases de datos de CONTPAQi Comercial version 8.1.1 Copyright © AR Software 2022 diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql/ARSoftware.Contpaqi.Comercial.Sql.csproj b/src/ARSoftware.Contpaqi.Comercial.Sql/ARSoftware.Contpaqi.Comercial.Sql.csproj index 2418abb7..0315a267 100644 --- a/src/ARSoftware.Contpaqi.Comercial.Sql/ARSoftware.Contpaqi.Comercial.Sql.csproj +++ b/src/ARSoftware.Contpaqi.Comercial.Sql/ARSoftware.Contpaqi.Comercial.Sql.csproj @@ -4,7 +4,7 @@ net6.0 disable True - 3.3.0 + 4.4.0 AR Software Entity Framework DbContexts para hacer query las bases de datos de CONTPAQi Comercial Copyright © AR Software 2022 From 14bf06f82fcc64e6b3145e00d0213b14bbd10bce Mon Sep 17 00:00:00 2001 From: Andres Ramos Date: Sun, 9 Apr 2023 15:19:49 -0500 Subject: [PATCH 11/14] elimina projecto Sql.EF6 --- ARSoftware.Contpaqi.Comercial.sln | 7 - ...Software.Contpaqi.Comercial.Sql.EF6.csproj | 151 -- .../ContpaqiComercialEmpresaDbContext.cs | 1248 ----------------- .../Empresa/admAcumulados.cs | 57 - .../Empresa/admAcumuladosTipos.cs | 27 - .../Empresa/admAgentes.cs | 85 -- .../Empresa/admAlmacenes.cs | 79 -- .../Empresa/admAsientosContables.cs | 45 - .../Empresa/admAsocAcumConceptos.cs | 23 - .../Empresa/admAsocCargosAbonos.cs | 36 - .../Empresa/admAsocCargosAbonosImp.cs | 46 - .../Empresa/admBanderas.cs | 26 - .../Empresa/admBitacoras.cs | 67 - .../Empresa/admCapasProducto.cs | 60 - .../Empresa/admCaracteristicas.cs | 19 - .../Empresa/admCaracteristicasValores.cs | 25 - .../Empresa/admClasificaciones.cs | 19 - .../Empresa/admClasificacionesValores.cs | 37 - .../Empresa/admClientes.cs | 341 ----- .../Empresa/admComponentesPaquete.cs | 32 - .../Empresa/admConceptos.cs | 445 ------ .../Empresa/admConceptosBack.cs | 438 ------ .../Empresa/admConversionesUnidad.cs | 27 - .../Empresa/admCostosHistoricos.cs | 31 - .../Empresa/admCuentasBancarias.cs | 93 -- .../Empresa/admDatosAddenda.cs | 39 - .../Empresa/admDocumentos.cs | 236 ---- .../Empresa/admDocumentosModelo.cs | 36 - .../Empresa/admDocumentosModelosBack.cs | 36 - .../Empresa/admDomicilios.cs | 93 -- .../Empresa/admEjercicios.cs | 45 - .../Empresa/admExistenciaCosto.cs | 134 -- .../Empresa/admFoliosDigitales.cs | 200 --- .../Empresa/admMaximosMinimos.cs | 50 - .../Empresa/admMonedas.cs | 49 - .../Empresa/admMovimientos.cs | 160 --- .../Empresa/admMovimientosCapas.cs | 32 - .../Empresa/admMovimientosContables.cs | 65 - .../Empresa/admMovimientosPrepoliza.cs | 56 - .../Empresa/admMovimientosSerie.cs | 27 - .../Empresa/admMovtosBancarios.cs | 63 - .../Empresa/admMovtosCEPs.cs | 118 -- .../Empresa/admMovtosInvFisico.cs | 32 - .../Empresa/admMovtosInvFisicoSerieCa.cs | 52 - .../Empresa/admNumerosSerie.cs | 60 - .../Empresa/admParametros.cs | 624 --------- .../Empresa/admParametrosBack.cs | 597 -------- .../Empresa/admPreciosCompra.cs | 39 - .../Empresa/admPrepolizas.cs | 57 - .../Empresa/admProductos.cs | 264 ---- .../Empresa/admProductosDetalles.cs | 29 - .../Empresa/admProductosFotos.cs | 22 - .../Empresa/admPromociones.cs | 87 -- .../Empresa/admProyectos.cs | 87 -- .../Empresa/admSATSegmentos.cs | 31 - .../Empresa/admTiposCambio.cs | 26 - .../Empresa/admUnidadesMedidaPeso.cs | 36 - .../Empresa/admVistasCampos.cs | 59 - .../Empresa/admVistasConsultas.cs | 50 - .../Empresa/admVistasPorModulo.cs | 38 - .../Empresa/admVistasRecursos.cs | 79 -- .../Empresa/admVistasRelaciones.cs | 55 - .../Empresa/admVistasTablas.cs | 44 - .../Empresa/nubeCuentas.cs | 37 - .../Empresa/nubeDiarios.cs | 21 - ...paqiComercialSqlConnectionStringFactory.cs | 20 - .../Generales/Anexos20.cs | 23 - .../Generales/CAC00003.cs | 18 - .../Generales/CAC0000C.cs | 28 - .../Generales/CAC0000I.cs | 28 - .../Generales/CACIdiom.cs | 47 - .../ContpaqiComercialGeneralesDbContext.cs | 517 ------- .../Generales/ControlProcesos.cs | 34 - .../Generales/Empresas.cs | 27 - .../Generales/EmpresasModelo.cs | 24 - .../Generales/Etiquetas.cs | 383 ----- .../Generales/FormatosEtiquetas.cs | 35 - .../Generales/Formulas.cs | 28 - .../Generales/IdxAdminPAQ.cs | 45 - .../Generales/MantenimientoBDDErrores.cs | 22 - .../Generales/MantenimientoBDDIndexTmps.cs | 23 - .../Generales/MantenimientoBDDProcesos.cs | 27 - .../Generales/ModelosFinancieros.cs | 25 - .../Generales/ParametrosInicialesMto.cs | 30 - .../Generales/SATBancos.cs | 31 - .../Generales/SATClaveProdServ.cs | 22 - .../Generales/SATEstaciones.cs | 33 - .../Generales/SATFracciones.cs | 19 - .../Generales/SATMonedas.cs | 21 - .../Generales/SATUnidades.cs | 23 - .../Generales/UsuariosActivos.cs | 23 - .../Generales/UsuariosActivosBloqueos.cs | 23 - .../Generales/admVistasCampos.cs | 59 - .../Generales/admVistasConsultas.cs | 32 - .../Generales/admVistasPorModulo.cs | 34 - .../Generales/admVistasRelaciones.cs | 35 - .../Generales/admVistasTablas.cs | 38 - .../Generales/nubeEmpresas.cs | 31 - .../Properties/AssemblyInfo.cs | 35 - 99 files changed, 9172 deletions(-) delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/ARSoftware.Contpaqi.Comercial.Sql.EF6.csproj delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/ContpaqiComercialEmpresaDbContext.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAcumulados.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAcumuladosTipos.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAgentes.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAlmacenes.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAsientosContables.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAsocAcumConceptos.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAsocCargosAbonos.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAsocCargosAbonosImp.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admBanderas.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admBitacoras.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admCapasProducto.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admCaracteristicas.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admCaracteristicasValores.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admClasificaciones.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admClasificacionesValores.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admClientes.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admComponentesPaquete.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admConceptos.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admConceptosBack.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admConversionesUnidad.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admCostosHistoricos.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admCuentasBancarias.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admDatosAddenda.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admDocumentos.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admDocumentosModelo.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admDocumentosModelosBack.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admDomicilios.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admEjercicios.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admExistenciaCosto.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admFoliosDigitales.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMaximosMinimos.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMonedas.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovimientos.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovimientosCapas.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovimientosContables.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovimientosPrepoliza.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovimientosSerie.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovtosBancarios.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovtosCEPs.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovtosInvFisico.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovtosInvFisicoSerieCa.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admNumerosSerie.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admParametros.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admParametrosBack.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admPreciosCompra.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admPrepolizas.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admProductos.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admProductosDetalles.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admProductosFotos.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admPromociones.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admProyectos.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admSATSegmentos.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admTiposCambio.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admUnidadesMedidaPeso.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admVistasCampos.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admVistasConsultas.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admVistasPorModulo.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admVistasRecursos.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admVistasRelaciones.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admVistasTablas.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/nubeCuentas.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/nubeDiarios.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Factories/ContpaqiComercialSqlConnectionStringFactory.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/Anexos20.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/CAC00003.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/CAC0000C.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/CAC0000I.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/CACIdiom.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/ContpaqiComercialGeneralesDbContext.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/ControlProcesos.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/Empresas.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/EmpresasModelo.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/Etiquetas.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/FormatosEtiquetas.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/Formulas.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/IdxAdminPAQ.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/MantenimientoBDDErrores.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/MantenimientoBDDIndexTmps.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/MantenimientoBDDProcesos.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/ModelosFinancieros.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/ParametrosInicialesMto.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/SATBancos.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/SATClaveProdServ.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/SATEstaciones.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/SATFracciones.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/SATMonedas.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/SATUnidades.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/UsuariosActivos.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/UsuariosActivosBloqueos.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/admVistasCampos.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/admVistasConsultas.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/admVistasPorModulo.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/admVistasRelaciones.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/admVistasTablas.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/nubeEmpresas.cs delete mode 100644 src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Properties/AssemblyInfo.cs diff --git a/ARSoftware.Contpaqi.Comercial.sln b/ARSoftware.Contpaqi.Comercial.sln index ae4b73ae..21877338 100644 --- a/ARSoftware.Contpaqi.Comercial.sln +++ b/ARSoftware.Contpaqi.Comercial.sln @@ -15,8 +15,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ARSoftware.Contpaqi.Comerci EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ARSoftware.Contpaqi.Comercial.Sql", "src\ARSoftware.Contpaqi.Comercial.Sql\ARSoftware.Contpaqi.Comercial.Sql.csproj", "{576418D4-7E0B-43F0-ACE8-C8EDEFC9B9FC}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ARSoftware.Contpaqi.Comercial.Sql.EF6", "src\ARSoftware.Contpaqi.Comercial.Sql.EF6\ARSoftware.Contpaqi.Comercial.Sql.EF6.csproj", "{064993D8-A9FC-4C64-8B21-0F66FFF85104}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Ejemplos", "Ejemplos", "{789B7A52-4364-40CD-9DFF-60491464C56B}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sdk.Extras.ConsoleApp", "samples\Sdk.Extras.ConsoleApp\Sdk.Extras.ConsoleApp.csproj", "{158B3C79-4897-4923-88B3-3FA402CD3408}" @@ -49,10 +47,6 @@ Global {576418D4-7E0B-43F0-ACE8-C8EDEFC9B9FC}.Debug|Any CPU.Build.0 = Debug|Any CPU {576418D4-7E0B-43F0-ACE8-C8EDEFC9B9FC}.Release|Any CPU.ActiveCfg = Release|Any CPU {576418D4-7E0B-43F0-ACE8-C8EDEFC9B9FC}.Release|Any CPU.Build.0 = Release|Any CPU - {064993D8-A9FC-4C64-8B21-0F66FFF85104}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {064993D8-A9FC-4C64-8B21-0F66FFF85104}.Debug|Any CPU.Build.0 = Debug|Any CPU - {064993D8-A9FC-4C64-8B21-0F66FFF85104}.Release|Any CPU.ActiveCfg = Release|Any CPU - {064993D8-A9FC-4C64-8B21-0F66FFF85104}.Release|Any CPU.Build.0 = Release|Any CPU {158B3C79-4897-4923-88B3-3FA402CD3408}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {158B3C79-4897-4923-88B3-3FA402CD3408}.Debug|Any CPU.Build.0 = Debug|Any CPU {158B3C79-4897-4923-88B3-3FA402CD3408}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -78,7 +72,6 @@ Global {7F70954E-93F9-454C-9831-77516EEBE79C} = {4865AC4F-6C98-474C-AC51-CE3A9FCC5F09} {46033D52-9A61-405F-AFD2-F65FF66FEC1F} = {CFD90884-02FA-46CD-91B7-859A76C43404} {576418D4-7E0B-43F0-ACE8-C8EDEFC9B9FC} = {CFD90884-02FA-46CD-91B7-859A76C43404} - {064993D8-A9FC-4C64-8B21-0F66FFF85104} = {CFD90884-02FA-46CD-91B7-859A76C43404} {158B3C79-4897-4923-88B3-3FA402CD3408} = {789B7A52-4364-40CD-9DFF-60491464C56B} {3202C9C7-70D6-474D-8953-970BD250746E} = {CFD90884-02FA-46CD-91B7-859A76C43404} {4BAE5C2C-047A-4E49-A233-A5B72471B3BB} = {789B7A52-4364-40CD-9DFF-60491464C56B} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/ARSoftware.Contpaqi.Comercial.Sql.EF6.csproj b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/ARSoftware.Contpaqi.Comercial.Sql.EF6.csproj deleted file mode 100644 index 2f5755f5..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/ARSoftware.Contpaqi.Comercial.Sql.EF6.csproj +++ /dev/null @@ -1,151 +0,0 @@ - - - - - Debug - AnyCPU - {064993D8-A9FC-4C64-8B21-0F66FFF85104} - Library - Properties - ARSoftware.Contpaqi.Comercial.Sql.EF6 - ARSoftware.Contpaqi.Comercial.Sql.EF6 - v4.8 - 512 - true - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6.4.4 - - - - \ No newline at end of file diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/ContpaqiComercialEmpresaDbContext.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/ContpaqiComercialEmpresaDbContext.cs deleted file mode 100644 index 76fb5d56..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/ContpaqiComercialEmpresaDbContext.cs +++ /dev/null @@ -1,1248 +0,0 @@ -using System.Data.Common; -using System.Data.Entity; -using System.Data.Entity.Core.Objects; -using System.Data.Entity.Infrastructure; - -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - public partial class ContpaqiComercialEmpresaDbContext : DbContext - { - public ContpaqiComercialEmpresaDbContext() : base("name=ContpaqiComercialEmpresaDbContext") - { - } - - protected ContpaqiComercialEmpresaDbContext(DbCompiledModel model) : base(model) - { - } - - public ContpaqiComercialEmpresaDbContext(string nameOrConnectionString) : base(nameOrConnectionString) - { - } - - public ContpaqiComercialEmpresaDbContext(string nameOrConnectionString, DbCompiledModel model) : base(nameOrConnectionString, model) - { - } - - public ContpaqiComercialEmpresaDbContext(DbConnection existingConnection, bool contextOwnsConnection) : base(existingConnection, contextOwnsConnection) - { - } - - public ContpaqiComercialEmpresaDbContext(DbConnection existingConnection, DbCompiledModel model, bool contextOwnsConnection) : base(existingConnection, model, contextOwnsConnection) - { - } - - public ContpaqiComercialEmpresaDbContext(ObjectContext objectContext, bool dbContextOwnsObjectContext) : base(objectContext, dbContextOwnsObjectContext) - { - } - - public virtual DbSet admAcumulados { get; set; } - public virtual DbSet admAcumuladosTipos { get; set; } - public virtual DbSet admAgentes { get; set; } - public virtual DbSet admAlmacenes { get; set; } - public virtual DbSet admAsientosContables { get; set; } - public virtual DbSet admAsocAcumConceptos { get; set; } - public virtual DbSet admAsocCargosAbonos { get; set; } - public virtual DbSet admAsocCargosAbonosImp { get; set; } - public virtual DbSet admBanderas { get; set; } - public virtual DbSet admBitacoras { get; set; } - public virtual DbSet admCapasProducto { get; set; } - public virtual DbSet admCaracteristicas { get; set; } - public virtual DbSet admCaracteristicasValores { get; set; } - public virtual DbSet admClasificaciones { get; set; } - public virtual DbSet admClasificacionesValores { get; set; } - public virtual DbSet admClientes { get; set; } - public virtual DbSet admComponentesPaquete { get; set; } - public virtual DbSet admConceptos { get; set; } - public virtual DbSet admConceptosBack { get; set; } - public virtual DbSet admConversionesUnidad { get; set; } - public virtual DbSet admCostosHistoricos { get; set; } - public virtual DbSet admCuentasBancarias { get; set; } - public virtual DbSet admDatosAddenda { get; set; } - public virtual DbSet admDocumentos { get; set; } - public virtual DbSet admDocumentosModelo { get; set; } - public virtual DbSet admDocumentosModelosBack { get; set; } - public virtual DbSet admDomicilios { get; set; } - public virtual DbSet admEjercicios { get; set; } - public virtual DbSet admExistenciaCosto { get; set; } - public virtual DbSet admFoliosDigitales { get; set; } - public virtual DbSet admMaximosMinimos { get; set; } - public virtual DbSet admMonedas { get; set; } - public virtual DbSet admMovimientos { get; set; } - public virtual DbSet admMovimientosCapas { get; set; } - public virtual DbSet admMovimientosContables { get; set; } - public virtual DbSet admMovimientosPrepoliza { get; set; } - public virtual DbSet admMovimientosSerie { get; set; } - public virtual DbSet admMovtosBancarios { get; set; } - public virtual DbSet admMovtosCEPs { get; set; } - public virtual DbSet admMovtosInvFisico { get; set; } - public virtual DbSet admMovtosInvFisicoSerieCa { get; set; } - public virtual DbSet admNumerosSerie { get; set; } - public virtual DbSet admParametros { get; set; } - public virtual DbSet admParametrosBack { get; set; } - public virtual DbSet admPreciosCompra { get; set; } - public virtual DbSet admPrepolizas { get; set; } - public virtual DbSet admProductos { get; set; } - public virtual DbSet admProductosDetalles { get; set; } - public virtual DbSet admProductosFotos { get; set; } - public virtual DbSet admPromociones { get; set; } - public virtual DbSet admProyectos { get; set; } - public virtual DbSet admSATSegmentos { get; set; } - public virtual DbSet admTiposCambio { get; set; } - public virtual DbSet admUnidadesMedidaPeso { get; set; } - public virtual DbSet admVistasCampos { get; set; } - public virtual DbSet admVistasConsultas { get; set; } - public virtual DbSet admVistasPorModulo { get; set; } - public virtual DbSet admVistasRecursos { get; set; } - public virtual DbSet admVistasRelaciones { get; set; } - public virtual DbSet admVistasTablas { get; set; } - public virtual DbSet nubeCuentas { get; set; } - public virtual DbSet nubeDiarios { get; set; } - - protected override void OnModelCreating(DbModelBuilder modelBuilder) - { - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCODIGOAGENTE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREAGENTE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTAGENTE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSCAGENTE2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSCAGENTE3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCODIGOALMACEN).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREALMACEN).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTALMACEN).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSCALMAC2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSCALMAC3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNUMEROASIENTOCONTABLE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREASIENTOCONTABLE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCONCEPTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CDIARIO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOTASA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREBANDERA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CBANDERA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCLAVEISO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.HORA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.USUARIO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.NOMBRE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.USUARIO2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.NOMBRE2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.PROCESO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.DATOS).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEX01).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEX02).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEX03).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNUMEROLOTE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CPEDIMENTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CADUANA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCLAVESAT).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRECARACTERISTICA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CVALORCARACTERISTICA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNEMOCARACTERISTICA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRECLASIFICACION).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CVALORCLASIFICACION).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCODIGOVALORCLASIFICACION).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONT1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONT2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONT3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCODIGOCLIENTE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRAZONSOCIAL).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRFC).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCURP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CDENCOMERCIAL).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CREPLEGAL).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMENSAJERIA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCUENTAMENSAJERIA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTCLIENTE1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTCLIENTE2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTCLIENTE3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTCLIENTE4).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTCLIENTE5).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTCLIENTE6).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTCLIENTE7).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTPROVEEDOR1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTPROVEEDOR2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTPROVEEDOR3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTPROVEEDOR4).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTPROVEEDOR5).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTPROVEEDOR6).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTPROVEEDOR7).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CEMAIL1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CEMAIL2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CEMAIL3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA4).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA5).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCODPROVCO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCON1NOM).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCON1TEL).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSITIOFTP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CUSRFTP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMETODOPAG).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNUMCTAPAG).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CUSOCFDI).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CREGIMFISC).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCODIGOCONCEPTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRECONCEPTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CFORMAPREIMPRESA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSERIEPOROMISION).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTCONCEPTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSCCPTO2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSCCPTO3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSCMOVTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CREPIMPCFD).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CPLAMIGCFD).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRUTAENTREGA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CPREFIJOCONCEPTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CREGIMFISC).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMETODOPAG).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CVERESQUE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CIDFIRMADSL).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CORDENCAPTURA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCLAVESAT).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCODIGOCONCEPTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRECONCEPTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CFORMAPREIMPRESA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSERIEPOROMISION).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTCONCEPTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSCCPTO2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSCCPTO3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSCMOVTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CREPIMPCFD).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CPLAMIGCFD).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRUTAENTREGA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CPREFIJOCONCEPTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CREGIMFISC).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMETODOPAG).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CVERESQUE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CIDFIRMADSL).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CORDENCAPTURA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCLAVESAT).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CACCOUNTID).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNUMEROCUENTA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRECUENTA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCLABE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCLAVE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONT01).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONT02).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONT03).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBANEXT).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRFCBANCO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.VALOR).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSERIEDOCUMENTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRAZONSOCIAL).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRFC).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CREFERENCIA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.COBSERVACIONES).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CDESTINATARIO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNUMEROGUIA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMENSAJERIA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCUENTAMENSAJERIA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CLUGAREXPE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMETODOPAG).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCONDIPAGO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNUMCTAPAG).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CGUIDDOCUMENTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CUSUARIO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTRANSACTIONID).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CVERESQUE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CDESCRIPCION).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CDESCRIPCION).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRECALLE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNUMEROEXTERIOR).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNUMEROINTERIOR).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCOLONIA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCODIGOPOSTAL).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTELEFONO1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTELEFONO2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTELEFONO3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTELEFONO4).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CEMAIL).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CDIRECCIONWEB).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CPAIS).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CESTADO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCIUDAD).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMUNICIPIO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSUCURSAL).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSERIE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CHORAEMI).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CEMAIL).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CARCHDIDIS).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CHORACANC).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCADPEDI).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CARCHCBB).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIPO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSERIEREC).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRFC).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRAZON).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIPOLDESC).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CALIASBDCT).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CDESESTADO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CDESPAGBAN).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CREFEREN01).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.COBSERVA01).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCODCONCBA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CDESCONCBA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNUMCTABAN).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CFOLIOBAN).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CUSUAUTBAN).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CUUID).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CUSUBAN01).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CUSUBAN02).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CUSUBAN03).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CDESCAUT01).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CDESCAUT02).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CDESCAUT03).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CACUSECAN).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CIDDOCTODSL).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CZONA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CPASILLO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CANAQUEL).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CREPISA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREMONEDA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSIMBOLOMONEDA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CPLURAL).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSINGULAR).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CDESCRIPCIONPROTEGIDA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCLAVESAT).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CREFERENCIA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.COBSERVAMOV).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSCMOVTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCUENTA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CREFERENCIA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CDIARIO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCONCEPTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGNEG).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CUENTA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.REFERENCIA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.DIARIO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CONCEPTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.SEGNEG).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTRANSACTIONID).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CACCOUNTID).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CDESCRIPCION).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CREFERENCIA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CHORA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCLAVE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSELLO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCERTIFICADO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCADENA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCONCEPTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRBANCO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRNOMBRE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRRFC).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRCUENTA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRTIPOCTA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CEBANCO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CENOMBRE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CERFC).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CECUENTA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CETIPOCTA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CARCHIVO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNUMEROSERIE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNUMEROLOTE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CPEDIMENTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CADUANA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNUMEROSERIE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNUMEROLOTE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CPEDIMENTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CADUANA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCLAVESAT).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREEMPRESA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRFCEMPRESA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCURPEMPRESA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CREGISTROCAMARA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCUENTAESTATAL).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CREPRESENTANTELEGAL).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRECORTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRUTACONTPAQ).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMASCARILLACLIENTES).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMASCARILLAPRODUCTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMASCARILLAALMACEN).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMASCARILLAAGENTE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMASCARILLARFC).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMASCARILLACURP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRELISTA1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRELISTA2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRELISTA3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRELISTA4).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRELISTA5).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRELISTA6).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRELISTA7).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRELISTA8).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRELISTA9).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRELISTA10).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREIMPUESTO1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREIMPUESTO2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREIMPUESTO3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRERETENCION1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRERETENCION2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREGASTO1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREGASTO2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREGASTO3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREDESCUENTOMOV1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREDESCUENTOMOV2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREDESCUENTOMOV3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREDESCUENTOMOV4).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREDESCUENTOMOV5).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREDESCUENTODOC1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREDESCUENTODOC2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTGENERAL1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTGENERAL2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTGENERAL3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTGENERAL4).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTGENERAL5).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTGENERAL6).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTGENERAL7).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTGENERAL8).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTGENERAL9).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTGENERAL10).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTGENERAL11).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRUTAEMPRESAPRED).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CVERSIONACTUAL).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMOVTEXEX1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMOVTEXEX2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMOVTEXEX3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMOVIMPEX1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMOVIMPEX2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMOVIMPEX3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMOVIMPEX4).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMOVFECEX1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CVERPOSI).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCIVA15).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCIVA10).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCIVAOT).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCIVA16).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCIVA11).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGPIVA15).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGPIVA10).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGPIVAOT).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGPIVA16).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGPIVA11).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CHOST).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRUTAPLA01).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRUTAPLA02).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNUMDONAT).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CHOSTPROXY).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CUSRPROXY).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CHOSTSMTP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRUTAENTREGA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CVALIDACFD).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CREGIMFISC).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CAUTRVOE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CLEYENDON1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CLEYENDON2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CASUNTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCUERPO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CFIRMA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CADJUNTO1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CADJUNTO2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCORREOPRU).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CGUIDDSL).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CGUIDEMPRESA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCIVA8).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGPIVA8).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTOKENCN).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CREFRESHTOKENCN).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREEMPRESA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRFCEMPRESA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCURPEMPRESA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CREGISTROCAMARA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCUENTAESTATAL).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CREPRESENTANTELEGAL).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRECORTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRUTACONTPAQ).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMASCARILLACLIENTES).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMASCARILLAPRODUCTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMASCARILLAALMACEN).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMASCARILLAAGENTE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMASCARILLARFC).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMASCARILLACURP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRELISTA1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRELISTA2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRELISTA3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRELISTA4).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRELISTA5).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRELISTA6).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRELISTA7).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRELISTA8).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRELISTA9).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRELISTA10).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREIMPUESTO1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREIMPUESTO2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREIMPUESTO3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRERETENCION1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRERETENCION2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREGASTO1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREGASTO2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREGASTO3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREDESCUENTOMOV1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREDESCUENTOMOV2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREDESCUENTOMOV3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREDESCUENTOMOV4).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREDESCUENTOMOV5).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREDESCUENTODOC1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREDESCUENTODOC2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTGENERAL1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTGENERAL2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTGENERAL3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTGENERAL4).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTGENERAL5).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTGENERAL6).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTGENERAL7).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTGENERAL8).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTGENERAL9).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTGENERAL10).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTGENERAL11).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRUTAEMPRESAPRED).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CVERSIONACTUAL).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMOVTEXEX1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMOVTEXEX2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMOVTEXEX3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMOVIMPEX1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMOVIMPEX2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMOVIMPEX3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMOVIMPEX4).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMOVFECEX1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CVERPOSI).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCIVA15).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCIVA10).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCIVAOT).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCIVA16).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCIVA11).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGPIVA15).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGPIVA10).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGPIVAOT).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGPIVA16).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGPIVA11).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CHOST).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRUTAPLA01).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRUTAPLA02).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNUMDONAT).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CHOSTPROXY).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CUSRPROXY).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CHOSTSMTP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRUTAENTREGA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CVALIDACFD).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CREGIMFISC).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CAUTRVOE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CLEYENDON1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CLEYENDON2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CASUNTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCUERPO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CFIRMA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CADJUNTO1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CADJUNTO2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCORREOPRU).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CGUIDDSL).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CGUIDEMPRESA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTOKENCN).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CREFRESHTOKENCN).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCODIGOPRODUCTOPROVEEDOR).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CONCEPTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.DIARIO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CHORA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CGUIDPOLIZA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CIDTRANSACCION).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCODIGOPRODUCTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREPRODUCTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CDESCRIPCIONPRODUCTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTPRODUCTO1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTPRODUCTO2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTPRODUCTO3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCODALTERN).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMALTERN).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CDESCCORTA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTPRODUCTO4).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTPRODUCTO5).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTPRODUCTO6).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONTPRODUCTO7).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCTAPRED).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCLAVESAT).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREFOTOPRODUCTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CFOTOPRODUCTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCODIGOPROMOCION).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREPROMOCION).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CHORAINI).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CHORAFIN).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCODIGOPROYECTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREPROYECTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONT1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONT2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONT3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTEXTOEXTRA3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCLAVE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CDESCRIPCION).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONT1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONT2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGCONT3).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIMESTAMP).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREUNIDAD).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CABREVIATURA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CDESPLIEGUE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCLAVEINT).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCLAVESAT).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRENATIVOTABLA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRENATIVOCAMPO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREAMIGABLECAMPO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRECONSULTA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSENTENCIASQL).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CINDICE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CFILTROS).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREMODULO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTABLABASE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTABLARELA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCAMPOBASE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCAMPOID).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTITULO0).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCAMPO0).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CINDICE0).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTITULO1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCAMPO1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CINDICE1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CRANGO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRENATIVOTABLA1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRENATIVOTABLA2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRERELACION).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSENTENCIAENLACE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCAMPONA01).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CFILTRO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTABLAREL1).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTABLAREL2).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CFILTROAUX).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRENATIVOTABLA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBREAMIGABLETABLA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CINDICES).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCUENTA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRE).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CTIPO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CMONEDA).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CSEGMENTO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CCODIGO).IsUnicode(false); - - modelBuilder.Entity().Property(e => e.CNOMBRE).IsUnicode(false); - } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAcumulados.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAcumulados.cs deleted file mode 100644 index 07315cbc..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAcumulados.cs +++ /dev/null @@ -1,57 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admAcumulados - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDACUMULADO { get; set; } - - public int CIDTIPOACUMULADO { get; set; } - - public int CIDOWNER1 { get; set; } - - public int CIDOWNER2 { get; set; } - - public int CIMPORTEMODELO { get; set; } - - public int CIDEJERCICIO { get; set; } - - public double CIMPORTEINICIAL { get; set; } - - public int CIDMONEDA { get; set; } - - public double CIMPORTEPERIODO1 { get; set; } - - public double CIMPORTEPERIODO2 { get; set; } - - public double CIMPORTEPERIODO3 { get; set; } - - public double CIMPORTEPERIODO4 { get; set; } - - public double CIMPORTEPERIODO5 { get; set; } - - public double CIMPORTEPERIODO6 { get; set; } - - public double CIMPORTEPERIODO7 { get; set; } - - public double CIMPORTEPERIODO8 { get; set; } - - public double CIMPORTEPERIODO9 { get; set; } - - public double CIMPORTEPERIODO10 { get; set; } - - public double CIMPORTEPERIODO11 { get; set; } - - public double CIMPORTEPERIODO12 { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAcumuladosTipos.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAcumuladosTipos.cs deleted file mode 100644 index 6ec70f8f..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAcumuladosTipos.cs +++ /dev/null @@ -1,27 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admAcumuladosTipos - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDTIPOACUMULADO { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBRE { get; set; } - - public int CTIPOOWNER1 { get; set; } - - public int CTIPOOWNER2 { get; set; } - - public int CTIPOACTUALIZACION { get; set; } - - public int CTIPOMONEDA { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAgentes.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAgentes.cs deleted file mode 100644 index 13cb2f5e..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAgentes.cs +++ /dev/null @@ -1,85 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admAgentes - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDAGENTE { get; set; } - - [Required] - [StringLength(30)] - public string CCODIGOAGENTE { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBREAGENTE { get; set; } - - public DateTime CFECHAALTAAGENTE { get; set; } - - public int CTIPOAGENTE { get; set; } - - public double CCOMISIONVENTAAGENTE { get; set; } - - public double CCOMISIONCOBROAGENTE { get; set; } - - public int CIDCLIENTE { get; set; } - - public int CIDPROVEEDOR { get; set; } - - public int CIDVALORCLASIFICACION1 { get; set; } - - public int CIDVALORCLASIFICACION2 { get; set; } - - public int CIDVALORCLASIFICACION3 { get; set; } - - public int CIDVALORCLASIFICACION4 { get; set; } - - public int CIDVALORCLASIFICACION5 { get; set; } - - public int CIDVALORCLASIFICACION6 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTAGENTE { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA1 { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA2 { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA3 { get; set; } - - public DateTime CFECHAEXTRA { get; set; } - - public double CIMPORTEEXTRA1 { get; set; } - - public double CIMPORTEEXTRA2 { get; set; } - - public double CIMPORTEEXTRA3 { get; set; } - - public double CIMPORTEEXTRA4 { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - - [Required] - [StringLength(50)] - public string CSCAGENTE2 { get; set; } - - [Required] - [StringLength(50)] - public string CSCAGENTE3 { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAlmacenes.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAlmacenes.cs deleted file mode 100644 index ac501afa..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAlmacenes.cs +++ /dev/null @@ -1,79 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admAlmacenes - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDALMACEN { get; set; } - - [Required] - [StringLength(30)] - public string CCODIGOALMACEN { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBREALMACEN { get; set; } - - public DateTime CFECHAALTAALMACEN { get; set; } - - public int CIDVALORCLASIFICACION1 { get; set; } - - public int CIDVALORCLASIFICACION2 { get; set; } - - public int CIDVALORCLASIFICACION3 { get; set; } - - public int CIDVALORCLASIFICACION4 { get; set; } - - public int CIDVALORCLASIFICACION5 { get; set; } - - public int CIDVALORCLASIFICACION6 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTALMACEN { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA1 { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA2 { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA3 { get; set; } - - public DateTime CFECHAEXTRA { get; set; } - - public double CIMPORTEEXTRA1 { get; set; } - - public double CIMPORTEEXTRA2 { get; set; } - - public double CIMPORTEEXTRA3 { get; set; } - - public double CIMPORTEEXTRA4 { get; set; } - - public int CBANDOMICILIO { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - - [Required] - [StringLength(50)] - public string CSCALMAC2 { get; set; } - - [Required] - [StringLength(50)] - public string CSCALMAC3 { get; set; } - - public int CSISTORIG { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAsientosContables.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAsientosContables.cs deleted file mode 100644 index 843bdb86..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAsientosContables.cs +++ /dev/null @@ -1,45 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admAsientosContables - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDASIENTOCONTABLE { get; set; } - - [Required] - [StringLength(30)] - public string CNUMEROASIENTOCONTABLE { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBREASIENTOCONTABLE { get; set; } - - public int CFRECUENCIA { get; set; } - - public int CORIGENFECHA { get; set; } - - public int CTIPOPOLIZA { get; set; } - - public int CORIGENNUMERO { get; set; } - - public int CORIGENCONCEPTO { get; set; } - - [Required] - [StringLength(50)] - public string CCONCEPTO { get; set; } - - [Required] - [StringLength(10)] - public string CDIARIO { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAsocAcumConceptos.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAsocAcumConceptos.cs deleted file mode 100644 index 138a1a9f..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAsocAcumConceptos.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admAsocAcumConceptos - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDCONCEPTOTIPOACUMULADO { get; set; } - - public int CIDCONCEPTODOCUMENTO { get; set; } - - public int CIDTIPOACUMULADO { get; set; } - - public int CIMPORTEMODELO { get; set; } - - public int CSUMARESTA { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAsocCargosAbonos.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAsocCargosAbonos.cs deleted file mode 100644 index 03f7f2ee..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAsocCargosAbonos.cs +++ /dev/null @@ -1,36 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admAsocCargosAbonos - { - [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - public int CIDAUTOINCSQL { get; set; } - - [Key] - [Column(Order = 0)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDDOCUMENTOABONO { get; set; } - - [Key] - [Column(Order = 1)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDDOCUMENTOCARGO { get; set; } - - public double CIMPORTEABONO { get; set; } - - public double CIMPORTECARGO { get; set; } - - public DateTime CFECHAABONOCARGO { get; set; } - - public int CIDDESCUENTOPRONTOPAGO { get; set; } - - public int CIDUTILIDADPERDIDACAMB { get; set; } - - public int CIDAJUSIVA { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAsocCargosAbonosImp.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAsocCargosAbonosImp.cs deleted file mode 100644 index 63618742..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admAsocCargosAbonosImp.cs +++ /dev/null @@ -1,46 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("admAsocCargosAbonosImp")] - public partial class admAsocCargosAbonosImp - { - [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - public int CIDAUTOINCSQL { get; set; } - - [Key] - [Column(Order = 0)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDDOCUMENTOABONO { get; set; } - - [Key] - [Column(Order = 1)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDDOCUMENTOCARGO { get; set; } - - [Key] - [Column(Order = 2)] - [StringLength(30)] - public string CTEXTOTASA { get; set; } - - public double CNETO { get; set; } - - public double CTASA { get; set; } - - public int CESDETALLE { get; set; } - - public int CTIPOIMP01 { get; set; } - - public int CTIPOFAC01 { get; set; } - - public double CTASACUOTA { get; set; } - - public int CESRETEN01 { get; set; } - - public double CPROPORC01 { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admBanderas.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admBanderas.cs deleted file mode 100644 index 93567336..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admBanderas.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admBanderas - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDBANDERA { get; set; } - - [Required] - [StringLength(40)] - public string CNOMBREBANDERA { get; set; } - - [Column(TypeName = "text")] - public string CBANDERA { get; set; } - - [Required] - [StringLength(3)] - public string CCLAVEISO { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admBitacoras.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admBitacoras.cs deleted file mode 100644 index f33d24ff..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admBitacoras.cs +++ /dev/null @@ -1,67 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admBitacoras - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int IDBITACORA { get; set; } - - public DateTime FECHA { get; set; } - - [Required] - [StringLength(4)] - public string HORA { get; set; } - - [Required] - [StringLength(15)] - public string USUARIO { get; set; } - - [Required] - [StringLength(30)] - public string NOMBRE { get; set; } - - [Required] - [StringLength(15)] - public string USUARIO2 { get; set; } - - [Required] - [StringLength(30)] - public string NOMBRE2 { get; set; } - - [Required] - [StringLength(100)] - public string PROCESO { get; set; } - - [Required] - [StringLength(100)] - public string DATOS { get; set; } - - public int IDSISTEMA { get; set; } - - [Required] - [StringLength(30)] - public string CTEXTOEX01 { get; set; } - - [Required] - [StringLength(30)] - public string CTEXTOEX02 { get; set; } - - [Required] - [StringLength(30)] - public string CTEXTOEX03 { get; set; } - - public DateTime CFECHAEX01 { get; set; } - - public double CIMPORTE01 { get; set; } - - public double CIMPORTE02 { get; set; } - - public double CIMPORTE03 { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admCapasProducto.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admCapasProducto.cs deleted file mode 100644 index 7b3b8abd..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admCapasProducto.cs +++ /dev/null @@ -1,60 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("admCapasProducto")] - public partial class admCapasProducto - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDCAPA { get; set; } - - public int CIDALMACEN { get; set; } - - public int CIDPRODUCTO { get; set; } - - public DateTime CFECHA { get; set; } - - public int CTIPOCAPA { get; set; } - - [Required] - [StringLength(30)] - public string CNUMEROLOTE { get; set; } - - public DateTime CFECHACADUCIDAD { get; set; } - - public DateTime CFECHAFABRICACION { get; set; } - - [Required] - [StringLength(30)] - public string CPEDIMENTO { get; set; } - - [Required] - [StringLength(60)] - public string CADUANA { get; set; } - - public DateTime CFECHAPEDIMENTO { get; set; } - - public double CTIPOCAMBIO { get; set; } - - public double CEXISTENCIA { get; set; } - - public double CCOSTO { get; set; } - - public int CIDCAPAORIGEN { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - - public int CNUMADUANA { get; set; } - - [Required] - [StringLength(30)] - public string CCLAVESAT { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admCaracteristicas.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admCaracteristicas.cs deleted file mode 100644 index 74e05d1c..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admCaracteristicas.cs +++ /dev/null @@ -1,19 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admCaracteristicas - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDPADRECARACTERISTICA { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBRECARACTERISTICA { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admCaracteristicasValores.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admCaracteristicasValores.cs deleted file mode 100644 index b7e1c9dc..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admCaracteristicasValores.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admCaracteristicasValores - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDVALORCARACTERISTICA { get; set; } - - public int CIDPADRECARACTERISTICA { get; set; } - - [Required] - [StringLength(20)] - public string CVALORCARACTERISTICA { get; set; } - - [Required] - [StringLength(3)] - public string CNEMOCARACTERISTICA { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admClasificaciones.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admClasificaciones.cs deleted file mode 100644 index 4ddabb03..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admClasificaciones.cs +++ /dev/null @@ -1,19 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admClasificaciones - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDCLASIFICACION { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBRECLASIFICACION { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admClasificacionesValores.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admClasificacionesValores.cs deleted file mode 100644 index abb036dd..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admClasificacionesValores.cs +++ /dev/null @@ -1,37 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admClasificacionesValores - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDVALORCLASIFICACION { get; set; } - - [Required] - [StringLength(60)] - public string CVALORCLASIFICACION { get; set; } - - public int CIDCLASIFICACION { get; set; } - - [Required] - [StringLength(3)] - public string CCODIGOVALORCLASIFICACION { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONT1 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONT2 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONT3 { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admClientes.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admClientes.cs deleted file mode 100644 index 83c966d1..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admClientes.cs +++ /dev/null @@ -1,341 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admClientes - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDCLIENTEPROVEEDOR { get; set; } - - [Required] - [StringLength(30)] - public string CCODIGOCLIENTE { get; set; } - - [Required] - [StringLength(60)] - public string CRAZONSOCIAL { get; set; } - - public DateTime CFECHAALTA { get; set; } - - [Required] - [StringLength(20)] - public string CRFC { get; set; } - - [Required] - [StringLength(20)] - public string CCURP { get; set; } - - [Required] - [StringLength(50)] - public string CDENCOMERCIAL { get; set; } - - [Required] - [StringLength(50)] - public string CREPLEGAL { get; set; } - - public int CIDMONEDA { get; set; } - - public int CLISTAPRECIOCLIENTE { get; set; } - - public double CDESCUENTODOCTO { get; set; } - - public double CDESCUENTOMOVTO { get; set; } - - public int CBANVENTACREDITO { get; set; } - - public int CIDVALORCLASIFCLIENTE1 { get; set; } - - public int CIDVALORCLASIFCLIENTE2 { get; set; } - - public int CIDVALORCLASIFCLIENTE3 { get; set; } - - public int CIDVALORCLASIFCLIENTE4 { get; set; } - - public int CIDVALORCLASIFCLIENTE5 { get; set; } - - public int CIDVALORCLASIFCLIENTE6 { get; set; } - - public int CTIPOCLIENTE { get; set; } - - public int CESTATUS { get; set; } - - public DateTime CFECHABAJA { get; set; } - - public DateTime CFECHAULTIMAREVISION { get; set; } - - public double CLIMITECREDITOCLIENTE { get; set; } - - public int CDIASCREDITOCLIENTE { get; set; } - - public int CBANEXCEDERCREDITO { get; set; } - - public double CDESCUENTOPRONTOPAGO { get; set; } - - public int CDIASPRONTOPAGO { get; set; } - - public double CINTERESMORATORIO { get; set; } - - public int CDIAPAGO { get; set; } - - public int CDIASREVISION { get; set; } - - [Required] - [StringLength(20)] - public string CMENSAJERIA { get; set; } - - [Required] - [StringLength(60)] - public string CCUENTAMENSAJERIA { get; set; } - - public int CDIASEMBARQUECLIENTE { get; set; } - - public int CIDALMACEN { get; set; } - - public int CIDAGENTEVENTA { get; set; } - - public int CIDAGENTECOBRO { get; set; } - - public int CRESTRICCIONAGENTE { get; set; } - - public double CIMPUESTO1 { get; set; } - - public double CIMPUESTO2 { get; set; } - - public double CIMPUESTO3 { get; set; } - - public double CRETENCIONCLIENTE1 { get; set; } - - public double CRETENCIONCLIENTE2 { get; set; } - - public int CIDVALORCLASIFPROVEEDOR1 { get; set; } - - public int CIDVALORCLASIFPROVEEDOR2 { get; set; } - - public int CIDVALORCLASIFPROVEEDOR3 { get; set; } - - public int CIDVALORCLASIFPROVEEDOR4 { get; set; } - - public int CIDVALORCLASIFPROVEEDOR5 { get; set; } - - public int CIDVALORCLASIFPROVEEDOR6 { get; set; } - - public double CLIMITECREDITOPROVEEDOR { get; set; } - - public int CDIASCREDITOPROVEEDOR { get; set; } - - public int CTIEMPOENTREGA { get; set; } - - public int CDIASEMBARQUEPROVEEDOR { get; set; } - - public double CIMPUESTOPROVEEDOR1 { get; set; } - - public double CIMPUESTOPROVEEDOR2 { get; set; } - - public double CIMPUESTOPROVEEDOR3 { get; set; } - - public double CRETENCIONPROVEEDOR1 { get; set; } - - public double CRETENCIONPROVEEDOR2 { get; set; } - - public int CBANINTERESMORATORIO { get; set; } - - public double CCOMVENTAEXCEPCLIENTE { get; set; } - - public double CCOMCOBROEXCEPCLIENTE { get; set; } - - public int CBANPRODUCTOCONSIGNACION { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTCLIENTE1 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTCLIENTE2 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTCLIENTE3 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTCLIENTE4 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTCLIENTE5 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTCLIENTE6 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTCLIENTE7 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTPROVEEDOR1 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTPROVEEDOR2 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTPROVEEDOR3 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTPROVEEDOR4 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTPROVEEDOR5 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTPROVEEDOR6 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTPROVEEDOR7 { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA1 { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA2 { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA3 { get; set; } - - public DateTime CFECHAEXTRA { get; set; } - - public double CIMPORTEEXTRA1 { get; set; } - - public double CIMPORTEEXTRA2 { get; set; } - - public double CIMPORTEEXTRA3 { get; set; } - - public double CIMPORTEEXTRA4 { get; set; } - - public int CBANDOMICILIO { get; set; } - - public int CBANCREDITOYCOBRANZA { get; set; } - - public int CBANENVIO { get; set; } - - public int CBANAGENTE { get; set; } - - public int CBANIMPUESTO { get; set; } - - public int CBANPRECIO { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - - public int CFACTERC01 { get; set; } - - public double CCOMVENTA { get; set; } - - public double CCOMCOBRO { get; set; } - - public int CIDMONEDA2 { get; set; } - - [Required] - [StringLength(60)] - public string CEMAIL1 { get; set; } - - [Required] - [StringLength(60)] - public string CEMAIL2 { get; set; } - - [Required] - [StringLength(60)] - public string CEMAIL3 { get; set; } - - public int CTIPOENTRE { get; set; } - - public int CCONCTEEMA { get; set; } - - public int CFTOADDEND { get; set; } - - public int CIDCERTCTE { get; set; } - - public int CENCRIPENT { get; set; } - - public int CBANCFD { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA4 { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA5 { get; set; } - - public double CIMPORTEEXTRA5 { get; set; } - - public int CIDADDENDA { get; set; } - - [Required] - [StringLength(60)] - public string CCODPROVCO { get; set; } - - public int CENVACUSE { get; set; } - - [Required] - [StringLength(60)] - public string CCON1NOM { get; set; } - - [Required] - [StringLength(15)] - public string CCON1TEL { get; set; } - - public int CQUITABLAN { get; set; } - - public int CFMTOENTRE { get; set; } - - public int CIDCOMPLEM { get; set; } - - public int CDESGLOSAI2 { get; set; } - - public int CLIMDOCTOS { get; set; } - - [Required] - [StringLength(60)] - public string CSITIOFTP { get; set; } - - [Required] - [StringLength(60)] - public string CUSRFTP { get; set; } - - [Required] - [StringLength(100)] - public string CMETODOPAG { get; set; } - - [Required] - [StringLength(100)] - public string CNUMCTAPAG { get; set; } - - public int CIDCUENTA { get; set; } - - [Required] - [StringLength(30)] - public string CUSOCFDI { get; set; } - - [Required] - [StringLength(20)] - public string CREGIMFISC { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admComponentesPaquete.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admComponentesPaquete.cs deleted file mode 100644 index 6aea9af2..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admComponentesPaquete.cs +++ /dev/null @@ -1,32 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("admComponentesPaquete")] - public partial class admComponentesPaquete - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDCOMPONENTE { get; set; } - - public int CIDPAQUETE { get; set; } - - public int CIDPRODUCTO { get; set; } - - public double CCANTIDADPRODUCTO { get; set; } - - public int CIDVALORCARACTERISTICA1 { get; set; } - - public int CIDVALORCARACTERISTICA2 { get; set; } - - public int CIDVALORCARACTERISTICA3 { get; set; } - - public int CTIPOPRODUCTO { get; set; } - - public int CIDUNIDADVENTA { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admConceptos.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admConceptos.cs deleted file mode 100644 index 6e939765..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admConceptos.cs +++ /dev/null @@ -1,445 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admConceptos - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDCONCEPTODOCUMENTO { get; set; } - - [Required] - [StringLength(30)] - public string CCODIGOCONCEPTO { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBRECONCEPTO { get; set; } - - public int CIDDOCUMENTODE { get; set; } - - public int CNATURALEZA { get; set; } - - public int CDOCTOACREDITO { get; set; } - - public int CTIPOFOLIO { get; set; } - - public int CMAXIMOMOVTOS { get; set; } - - public int CCREACLIENTE { get; set; } - - public int CSUMARPROMOCIONES { get; set; } - - [Required] - [StringLength(253)] - public string CFORMAPREIMPRESA { get; set; } - - public int CORDENCALCULO { get; set; } - - public int CUSANOMBRECTEPROV { get; set; } - - public int CUSARFC { get; set; } - - public int CUSAFECHAVENCIMIENTO { get; set; } - - public int CUSAFECHAENTREGARECEPCION { get; set; } - - public int CUSAMONEDA { get; set; } - - public int CUSATIPOCAMBIO { get; set; } - - public int CUSACODIGOAGENTE { get; set; } - - public int CUSANOMBREAGENTE { get; set; } - - public int CUSADIRECCION { get; set; } - - public int CUSAREFERENCIA { get; set; } - - [Required] - [StringLength(11)] - public string CSERIEPOROMISION { get; set; } - - public int CANCHOCODIGOPRODUCTO { get; set; } - - public int CUSANOMBREPRODUCTO { get; set; } - - public int CANCHONOMBREPRODUCTO { get; set; } - - public int CUSAALMACEN { get; set; } - - public int CANCHOCODIGOALMACEN { get; set; } - - public int CANCHOIMPORTES { get; set; } - - public int CANCHOPORCENTAJES { get; set; } - - public int CANCHOUNIDADPESOMEDIDA { get; set; } - - public int CUSAPRECIO { get; set; } - - public int CIDFORMULAPRECIO { get; set; } - - public int CUSACOSTOCAPTURADO { get; set; } - - public int CIDFORMULACOSTOCAPTURADO { get; set; } - - public int CUSAEXISTENCIA { get; set; } - - public int CUSANETO { get; set; } - - public int CIDFORMULANETO { get; set; } - - public int CUSAPORCENTAJEIMPUESTO1 { get; set; } - - public int CIDFORMULAPORCIMPUESTO1 { get; set; } - - public int CUSAIMPUESTO1 { get; set; } - - public int CIDFORMULAIMPUESTO1 { get; set; } - - public int CUSAPORCENTAJEIMPUESTO2 { get; set; } - - public int CIDFORMULAPORCIMPUESTO2 { get; set; } - - public int CUSAIMPUESTO2 { get; set; } - - public int CIDFORMULAIMPUESTO2 { get; set; } - - public int CUSAPORCENTAJEIMPUESTO3 { get; set; } - - public int CIDFORMULAPORCIMPUESTO3 { get; set; } - - public int CUSAIMPUESTO3 { get; set; } - - public int CIDFORMULAIMPUESTO3 { get; set; } - - public int CUSAPORCENTAJERETENCION1 { get; set; } - - public int CIDFORMULAPORCRETENCION1 { get; set; } - - public int CUSARETENCION1 { get; set; } - - public int CIDFORMULARETENCION1 { get; set; } - - public int CUSAPORCENTAJERETENCION2 { get; set; } - - public int CIDFORMULAPORCRETENCION2 { get; set; } - - public int CUSARETENCION2 { get; set; } - - public int CIDFORMULARETENCION2 { get; set; } - - public int CUSAPORCENTAJEDESCUENTO1 { get; set; } - - public int CIDFORMULAPORCDESCUENTO1 { get; set; } - - public int CUSADESCUENTO1 { get; set; } - - public int CIDFORMULADESCUENTO1 { get; set; } - - public int CUSAPORCENTAJEDESCUENTO2 { get; set; } - - public int CIDFORMULAPORCDESCUENTO2 { get; set; } - - public int CUSADESCUENTO2 { get; set; } - - public int CIDFORMULADESCUENTO2 { get; set; } - - public int CUSAPORCENTAJEDESCUENTO3 { get; set; } - - public int CIDFORMULAPORCDESCUENTO3 { get; set; } - - public int CUSADESCUENTO3 { get; set; } - - public int CIDFORMULADESCUENTO3 { get; set; } - - public int CUSAPORCENTAJEDESCUENTO4 { get; set; } - - public int CIDFORMULAPORCDESCUENTO4 { get; set; } - - public int CUSADESCUENTO4 { get; set; } - - public int CIDFORMULADESCUENTO4 { get; set; } - - public int CUSAPORCENTAJEDESCUENTO5 { get; set; } - - public int CIDFORMULAPORCDESCUENTO5 { get; set; } - - public int CUSADESCUENTO5 { get; set; } - - public int CIDFORMULADESCUENTO5 { get; set; } - - public int CUSATOTAL { get; set; } - - public int CANCHOREFERENCIA { get; set; } - - public int CUSACLASIFICACIONMOVTO { get; set; } - - public int CANCHOVALORCLASIFICACION { get; set; } - - public int CIDFORMULATOTAL { get; set; } - - public int CUSADESCUENTODOC1 { get; set; } - - public int CIDFORMULADESDOC1 { get; set; } - - public int CUSADESCUENTODOC2 { get; set; } - - public int CIDFORMULADESDOC2 { get; set; } - - public int CUSAGASTO1 { get; set; } - - public int CIDFORMULAGASTO1 { get; set; } - - public int CUSAGASTO2 { get; set; } - - public int CIDFORMULAGASTO2 { get; set; } - - public int CUSAGASTO3 { get; set; } - - public int CIDFORMULAGASTO3 { get; set; } - - public int CUSATEXTOEXTRA1 { get; set; } - - public int CUSATEXTOEXTRA2 { get; set; } - - public int CUSATEXTOEXTRA3 { get; set; } - - public int CANCHOTEXTOEXTRA { get; set; } - - public int CUSAFECHAEXTRA { get; set; } - - public int CANCHOFECHAEXTRA { get; set; } - - public int CUSAIMPORTEEXTRA1 { get; set; } - - public int CIDFORMULAEXTRA1 { get; set; } - - public int CUSAIMPORTEEXTRA2 { get; set; } - - public int CIDFORMULAEXTRA2 { get; set; } - - public int CUSAIMPORTEEXTRA3 { get; set; } - - public int CIDFORMULAEXTRA3 { get; set; } - - public int CUSAIMPORTEEXTRA4 { get; set; } - - public int CIDFORMULAEXTRA4 { get; set; } - - public int CUSATEXTOEXTRA1DOC { get; set; } - - public int CUSATEXTOEXTRA2DOC { get; set; } - - public int CUSATEXTOEXTRA3DOC { get; set; } - - public int CUSAFECHAEXTRADOC { get; set; } - - public int CUSAIMPORTEEXTRA1DOC { get; set; } - - public int CUSAIMPORTEEXTRA2DOC { get; set; } - - public int CUSAIMPORTEEXTRA3DOC { get; set; } - - public int CUSAIMPORTEEXTRA4DOC { get; set; } - - public int CUSAEXTRACOMOGASTO { get; set; } - - public int CUSAOBSERVACIONES { get; set; } - - public int CPRESENTAFISCAL { get; set; } - - public int CPRESENTAREFERENCIA { get; set; } - - public int CPRESENTACONDICIONES { get; set; } - - public int CPRESENTAENVIO { get; set; } - - public int CPRESENTADETALLE { get; set; } - - public int CPRESENTAIMPRIMIR { get; set; } - - public int CPRESENTAPAGAR { get; set; } - - public int CPRESENTASALDAR { get; set; } - - public int CPRESENTADOCUMENTAR { get; set; } - - public int CPRESENTAGASTOSCOMPRA { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTCONCEPTO { get; set; } - - public int CBANENCABEZADO { get; set; } - - public int CBANMOVIMIENTO { get; set; } - - public int CBANDESCUENTO { get; set; } - - public int CBANIMPUESTO { get; set; } - - public int CBANACCIONAUTOMATICA { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - - public double CNOFOLIO { get; set; } - - public int CIDPROCESOSEGURIDAD { get; set; } - - public int CUSAGTOMOV { get; set; } - - public int CUSASCMOV { get; set; } - - public int CIDASTOCON { get; set; } - - [Required] - [StringLength(50)] - public string CSCCPTO2 { get; set; } - - [Required] - [StringLength(50)] - public string CSCCPTO3 { get; set; } - - [Required] - [StringLength(50)] - public string CSCMOVTO { get; set; } - - public int CIDCONAUTO { get; set; } - - public int CIDALMASUM { get; set; } - - public int CUSACOMVTA { get; set; } - - public int CIDPRSEG02 { get; set; } - - public int CIDPRSEG03 { get; set; } - - public int CIDPRSEG04 { get; set; } - - public int CIDPRSEG05 { get; set; } - - public int CFORMAAJ01 { get; set; } - - public int CIDPRSEG06 { get; set; } - - public int CAPFORMULA { get; set; } - - public int CESCFD { get; set; } - - public int CIDFIRMARL { get; set; } - - public int CGDAPASSW { get; set; } - - public int CEMITEYENT { get; set; } - - public int CBANCFD { get; set; } - - [Required] - [StringLength(253)] - public string CREPIMPCFD { get; set; } - - public int CIDDIRSUCU { get; set; } - - public int CBANDIRSUC { get; set; } - - public int CVERFACELE { get; set; } - - public int CCALFECHAS { get; set; } - - public int CTIPCAMTR1 { get; set; } - - public int CTIPCAMTR2 { get; set; } - - public int CCONSOLIDA { get; set; } - - public int CENVIODIG { get; set; } - - public int CBANTRANS { get; set; } - - public int CCONFNOAPR { get; set; } - - public int CNOAPROB { get; set; } - - public int CAUTOIMPR { get; set; } - - public int CRECIBECFD { get; set; } - - public int CSISTORIG { get; set; } - - public int CIDCPTODE1 { get; set; } - - public int CIDCPTODE2 { get; set; } - - public int CIDCPTODE3 { get; set; } - - [Required] - [StringLength(253)] - public string CPLAMIGCFD { get; set; } - - public int CIDPRSEG07 { get; set; } - - public int CRESERVADO { get; set; } - - public int CVERREFER { get; set; } - - public int CVERDOCORI { get; set; } - - public int CCBB { get; set; } - - public int CCARTAPOR { get; set; } - - public int CCOMPDONAT { get; set; } - - public int COBSXML { get; set; } - - [Required] - [StringLength(253)] - public string CRUTAENTREGA { get; set; } - - [Required] - [StringLength(30)] - public string CPREFIJOCONCEPTO { get; set; } - - [Required] - [StringLength(100)] - public string CREGIMFISC { get; set; } - - public int CCOMPEDUCA { get; set; } - - [Required] - [StringLength(100)] - public string CMETODOPAG { get; set; } - - [Required] - [StringLength(6)] - public string CVERESQUE { get; set; } - - [Required] - [StringLength(40)] - public string CIDFIRMADSL { get; set; } - - [Required] - [StringLength(52)] - public string CORDENCAPTURA { get; set; } - - public int CESTATUS { get; set; } - - public int CIDMONEDA { get; set; } - - public int CIDCUENTA { get; set; } - - [Required] - [StringLength(8)] - public string CCLAVESAT { get; set; } - - public int CIDPRSEG08 { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admConceptosBack.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admConceptosBack.cs deleted file mode 100644 index 29d76c44..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admConceptosBack.cs +++ /dev/null @@ -1,438 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("admConceptosBack")] - public partial class admConceptosBack - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDCONCEPTODOCUMENTO { get; set; } - - [Required] - [StringLength(30)] - public string CCODIGOCONCEPTO { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBRECONCEPTO { get; set; } - - public int CIDDOCUMENTODE { get; set; } - - public int CNATURALEZA { get; set; } - - public int CDOCTOACREDITO { get; set; } - - public int CTIPOFOLIO { get; set; } - - public int CMAXIMOMOVTOS { get; set; } - - public int CCREACLIENTE { get; set; } - - public int CSUMARPROMOCIONES { get; set; } - - [Required] - [StringLength(253)] - public string CFORMAPREIMPRESA { get; set; } - - public int CORDENCALCULO { get; set; } - - public int CUSANOMBRECTEPROV { get; set; } - - public int CUSARFC { get; set; } - - public int CUSAFECHAVENCIMIENTO { get; set; } - - public int CUSAFECHAENTREGARECEPCION { get; set; } - - public int CUSAMONEDA { get; set; } - - public int CUSATIPOCAMBIO { get; set; } - - public int CUSACODIGOAGENTE { get; set; } - - public int CUSANOMBREAGENTE { get; set; } - - public int CUSADIRECCION { get; set; } - - public int CUSAREFERENCIA { get; set; } - - [Required] - [StringLength(11)] - public string CSERIEPOROMISION { get; set; } - - public int CANCHOCODIGOPRODUCTO { get; set; } - - public int CUSANOMBREPRODUCTO { get; set; } - - public int CANCHONOMBREPRODUCTO { get; set; } - - public int CUSAALMACEN { get; set; } - - public int CANCHOCODIGOALMACEN { get; set; } - - public int CANCHOIMPORTES { get; set; } - - public int CANCHOPORCENTAJES { get; set; } - - public int CANCHOUNIDADPESOMEDIDA { get; set; } - - public int CUSAPRECIO { get; set; } - - public int CIDFORMULAPRECIO { get; set; } - - public int CUSACOSTOCAPTURADO { get; set; } - - public int CIDFORMULACOSTOCAPTURADO { get; set; } - - public int CUSAEXISTENCIA { get; set; } - - public int CUSANETO { get; set; } - - public int CIDFORMULANETO { get; set; } - - public int CUSAPORCENTAJEIMPUESTO1 { get; set; } - - public int CIDFORMULAPORCIMPUESTO1 { get; set; } - - public int CUSAIMPUESTO1 { get; set; } - - public int CIDFORMULAIMPUESTO1 { get; set; } - - public int CUSAPORCENTAJEIMPUESTO2 { get; set; } - - public int CIDFORMULAPORCIMPUESTO2 { get; set; } - - public int CUSAIMPUESTO2 { get; set; } - - public int CIDFORMULAIMPUESTO2 { get; set; } - - public int CUSAPORCENTAJEIMPUESTO3 { get; set; } - - public int CIDFORMULAPORCIMPUESTO3 { get; set; } - - public int CUSAIMPUESTO3 { get; set; } - - public int CIDFORMULAIMPUESTO3 { get; set; } - - public int CUSAPORCENTAJERETENCION1 { get; set; } - - public int CIDFORMULAPORCRETENCION1 { get; set; } - - public int CUSARETENCION1 { get; set; } - - public int CIDFORMULARETENCION1 { get; set; } - - public int CUSAPORCENTAJERETENCION2 { get; set; } - - public int CIDFORMULAPORCRETENCION2 { get; set; } - - public int CUSARETENCION2 { get; set; } - - public int CIDFORMULARETENCION2 { get; set; } - - public int CUSAPORCENTAJEDESCUENTO1 { get; set; } - - public int CIDFORMULAPORCDESCUENTO1 { get; set; } - - public int CUSADESCUENTO1 { get; set; } - - public int CIDFORMULADESCUENTO1 { get; set; } - - public int CUSAPORCENTAJEDESCUENTO2 { get; set; } - - public int CIDFORMULAPORCDESCUENTO2 { get; set; } - - public int CUSADESCUENTO2 { get; set; } - - public int CIDFORMULADESCUENTO2 { get; set; } - - public int CUSAPORCENTAJEDESCUENTO3 { get; set; } - - public int CIDFORMULAPORCDESCUENTO3 { get; set; } - - public int CUSADESCUENTO3 { get; set; } - - public int CIDFORMULADESCUENTO3 { get; set; } - - public int CUSAPORCENTAJEDESCUENTO4 { get; set; } - - public int CIDFORMULAPORCDESCUENTO4 { get; set; } - - public int CUSADESCUENTO4 { get; set; } - - public int CIDFORMULADESCUENTO4 { get; set; } - - public int CUSAPORCENTAJEDESCUENTO5 { get; set; } - - public int CIDFORMULAPORCDESCUENTO5 { get; set; } - - public int CUSADESCUENTO5 { get; set; } - - public int CIDFORMULADESCUENTO5 { get; set; } - - public int CUSATOTAL { get; set; } - - public int CANCHOREFERENCIA { get; set; } - - public int CUSACLASIFICACIONMOVTO { get; set; } - - public int CANCHOVALORCLASIFICACION { get; set; } - - public int CIDFORMULATOTAL { get; set; } - - public int CUSADESCUENTODOC1 { get; set; } - - public int CIDFORMULADESDOC1 { get; set; } - - public int CUSADESCUENTODOC2 { get; set; } - - public int CIDFORMULADESDOC2 { get; set; } - - public int CUSAGASTO1 { get; set; } - - public int CIDFORMULAGASTO1 { get; set; } - - public int CUSAGASTO2 { get; set; } - - public int CIDFORMULAGASTO2 { get; set; } - - public int CUSAGASTO3 { get; set; } - - public int CIDFORMULAGASTO3 { get; set; } - - public int CUSATEXTOEXTRA1 { get; set; } - - public int CUSATEXTOEXTRA2 { get; set; } - - public int CUSATEXTOEXTRA3 { get; set; } - - public int CANCHOTEXTOEXTRA { get; set; } - - public int CUSAFECHAEXTRA { get; set; } - - public int CANCHOFECHAEXTRA { get; set; } - - public int CUSAIMPORTEEXTRA1 { get; set; } - - public int CIDFORMULAEXTRA1 { get; set; } - - public int CUSAIMPORTEEXTRA2 { get; set; } - - public int CIDFORMULAEXTRA2 { get; set; } - - public int CUSAIMPORTEEXTRA3 { get; set; } - - public int CIDFORMULAEXTRA3 { get; set; } - - public int CUSAIMPORTEEXTRA4 { get; set; } - - public int CIDFORMULAEXTRA4 { get; set; } - - public int CUSATEXTOEXTRA1DOC { get; set; } - - public int CUSATEXTOEXTRA2DOC { get; set; } - - public int CUSATEXTOEXTRA3DOC { get; set; } - - public int CUSAFECHAEXTRADOC { get; set; } - - public int CUSAIMPORTEEXTRA1DOC { get; set; } - - public int CUSAIMPORTEEXTRA2DOC { get; set; } - - public int CUSAIMPORTEEXTRA3DOC { get; set; } - - public int CUSAIMPORTEEXTRA4DOC { get; set; } - - public int CUSAEXTRACOMOGASTO { get; set; } - - public int CUSAOBSERVACIONES { get; set; } - - public int CPRESENTAFISCAL { get; set; } - - public int CPRESENTAREFERENCIA { get; set; } - - public int CPRESENTACONDICIONES { get; set; } - - public int CPRESENTAENVIO { get; set; } - - public int CPRESENTADETALLE { get; set; } - - public int CPRESENTAIMPRIMIR { get; set; } - - public int CPRESENTAPAGAR { get; set; } - - public int CPRESENTASALDAR { get; set; } - - public int CPRESENTADOCUMENTAR { get; set; } - - public int CPRESENTAGASTOSCOMPRA { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTCONCEPTO { get; set; } - - public int CBANENCABEZADO { get; set; } - - public int CBANMOVIMIENTO { get; set; } - - public int CBANDESCUENTO { get; set; } - - public int CBANIMPUESTO { get; set; } - - public int CBANACCIONAUTOMATICA { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - - public double CNOFOLIO { get; set; } - - public int CIDPROCESOSEGURIDAD { get; set; } - - public int CUSAGTOMOV { get; set; } - - public int CUSASCMOV { get; set; } - - public int CIDASTOCON { get; set; } - - [Required] - [StringLength(50)] - public string CSCCPTO2 { get; set; } - - [Required] - [StringLength(50)] - public string CSCCPTO3 { get; set; } - - [Required] - [StringLength(50)] - public string CSCMOVTO { get; set; } - - public int CIDCONAUTO { get; set; } - - public int CIDALMASUM { get; set; } - - public int CUSACOMVTA { get; set; } - - public int CIDPRSEG02 { get; set; } - - public int CIDPRSEG03 { get; set; } - - public int CIDPRSEG04 { get; set; } - - public int CIDPRSEG05 { get; set; } - - public int CFORMAAJ01 { get; set; } - - public int CIDPRSEG06 { get; set; } - - public int CAPFORMULA { get; set; } - - public int CESCFD { get; set; } - - public int CIDFIRMARL { get; set; } - - public int CGDAPASSW { get; set; } - - public int CEMITEYENT { get; set; } - - public int CBANCFD { get; set; } - - [Required] - [StringLength(253)] - public string CREPIMPCFD { get; set; } - - public int CIDDIRSUCU { get; set; } - - public int CBANDIRSUC { get; set; } - - public int CVERFACELE { get; set; } - - public int CCALFECHAS { get; set; } - - public int CTIPCAMTR1 { get; set; } - - public int CTIPCAMTR2 { get; set; } - - public int CCONSOLIDA { get; set; } - - public int CENVIODIG { get; set; } - - public int CBANTRANS { get; set; } - - public int CCONFNOAPR { get; set; } - - public int CNOAPROB { get; set; } - - public int CAUTOIMPR { get; set; } - - public int CRECIBECFD { get; set; } - - public int CSISTORIG { get; set; } - - public int CIDCPTODE1 { get; set; } - - public int CIDCPTODE2 { get; set; } - - public int CIDCPTODE3 { get; set; } - - [Required] - [StringLength(253)] - public string CPLAMIGCFD { get; set; } - - public int CIDPRSEG07 { get; set; } - - public int CRESERVADO { get; set; } - - public int CVERREFER { get; set; } - - public int CVERDOCORI { get; set; } - - public int CCBB { get; set; } - - public int CCARTAPOR { get; set; } - - public int CCOMPDONAT { get; set; } - - public int COBSXML { get; set; } - - [Required] - [StringLength(253)] - public string CRUTAENTREGA { get; set; } - - [Required] - [StringLength(30)] - public string CPREFIJOCONCEPTO { get; set; } - - [Required] - [StringLength(100)] - public string CREGIMFISC { get; set; } - - public int CCOMPEDUCA { get; set; } - - [Required] - [StringLength(100)] - public string CMETODOPAG { get; set; } - - [Required] - [StringLength(6)] - public string CVERESQUE { get; set; } - - [Required] - [StringLength(40)] - public string CIDFIRMADSL { get; set; } - - [Required] - [StringLength(52)] - public string CORDENCAPTURA { get; set; } - - [Required] - [StringLength(8)] - public string CCLAVESAT { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admConversionesUnidad.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admConversionesUnidad.cs deleted file mode 100644 index 8b35222f..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admConversionesUnidad.cs +++ /dev/null @@ -1,27 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("admConversionesUnidad")] - public partial class admConversionesUnidad - { - [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - public int CIDAUTOINCSQL { get; set; } - - [Key] - [Column(Order = 0)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDUNIDAD1 { get; set; } - - [Key] - [Column(Order = 1)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDUNIDAD2 { get; set; } - - public double CFACTORCONVERSION { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admCostosHistoricos.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admCostosHistoricos.cs deleted file mode 100644 index e495a994..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admCostosHistoricos.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admCostosHistoricos - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDCOSTOH { get; set; } - - public int CIDPRODUCTO { get; set; } - - public int CIDALMACEN { get; set; } - - public DateTime CFECHACOSTOH { get; set; } - - public double CCOSTOH { get; set; } - - public double CULTIMOCOSTOH { get; set; } - - public int CIDMOVIMIENTO { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admCuentasBancarias.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admCuentasBancarias.cs deleted file mode 100644 index d769cd7d..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admCuentasBancarias.cs +++ /dev/null @@ -1,93 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admCuentasBancarias - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDCUENTA { get; set; } - - [Required] - [StringLength(26)] - public string CACCOUNTID { get; set; } - - [Required] - [StringLength(30)] - public string CNUMEROCUENTA { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBRECUENTA { get; set; } - - public DateTime CFECHAALTA { get; set; } - - public DateTime CFECHABAJA { get; set; } - - public int CESTATUS { get; set; } - - [Required] - [StringLength(20)] - public string CCLABE { get; set; } - - [Required] - [StringLength(3)] - public string CCLAVE { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONT01 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONT02 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONT03 { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA1 { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA2 { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA3 { get; set; } - - public DateTime CFECHAEXTRA { get; set; } - - public double CIMPORTEEXTRA1 { get; set; } - - public double CIMPORTEEXTRA2 { get; set; } - - public double CIMPORTEEXTRA3 { get; set; } - - public double CIMPORTEEXTRA4 { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - - public int CIDMONEDA { get; set; } - - public int CIDCATALOGO { get; set; } - - public int CTIPOCATALOGO { get; set; } - - [Required] - [StringLength(254)] - public string CNOMBANEXT { get; set; } - - [Required] - [StringLength(20)] - public string CRFCBANCO { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admDatosAddenda.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admDatosAddenda.cs deleted file mode 100644 index 6603d111..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admDatosAddenda.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("admDatosAddenda")] - public partial class admDatosAddenda - { - [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - public int CIDAUTOINCSQL { get; set; } - - [Key] - [Column(Order = 0)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int IDADDENDA { get; set; } - - [Key] - [Column(Order = 1)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int TIPOCAT { get; set; } - - [Key] - [Column(Order = 2)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int IDCAT { get; set; } - - [Key] - [Column(Order = 3)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int NUMCAMPO { get; set; } - - [Required] - [StringLength(254)] - public string VALOR { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admDocumentos.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admDocumentos.cs deleted file mode 100644 index 23ada85d..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admDocumentos.cs +++ /dev/null @@ -1,236 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admDocumentos - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDDOCUMENTO { get; set; } - - public int CIDDOCUMENTODE { get; set; } - - public int CIDCONCEPTODOCUMENTO { get; set; } - - [Required] - [StringLength(11)] - public string CSERIEDOCUMENTO { get; set; } - - public double CFOLIO { get; set; } - - public DateTime CFECHA { get; set; } - - public int CIDCLIENTEPROVEEDOR { get; set; } - - [Required] - [StringLength(60)] - public string CRAZONSOCIAL { get; set; } - - [Required] - [StringLength(20)] - public string CRFC { get; set; } - - public int CIDAGENTE { get; set; } - - public DateTime CFECHAVENCIMIENTO { get; set; } - - public DateTime CFECHAPRONTOPAGO { get; set; } - - public DateTime CFECHAENTREGARECEPCION { get; set; } - - public DateTime CFECHAULTIMOINTERES { get; set; } - - public int CIDMONEDA { get; set; } - - public double CTIPOCAMBIO { get; set; } - - [Required] - [StringLength(20)] - public string CREFERENCIA { get; set; } - - [Column(TypeName = "text")] - public string COBSERVACIONES { get; set; } - - public int CNATURALEZA { get; set; } - - public int CIDDOCUMENTOORIGEN { get; set; } - - public int CPLANTILLA { get; set; } - - public int CUSACLIENTE { get; set; } - - public int CUSAPROVEEDOR { get; set; } - - public int CAFECTADO { get; set; } - - public int CIMPRESO { get; set; } - - public int CCANCELADO { get; set; } - - public int CDEVUELTO { get; set; } - - public int CIDPREPOLIZA { get; set; } - - public int CIDPREPOLIZACANCELACION { get; set; } - - public int CESTADOCONTABLE { get; set; } - - public double CNETO { get; set; } - - public double CIMPUESTO1 { get; set; } - - public double CIMPUESTO2 { get; set; } - - public double CIMPUESTO3 { get; set; } - - public double CRETENCION1 { get; set; } - - public double CRETENCION2 { get; set; } - - public double CDESCUENTOMOV { get; set; } - - public double CDESCUENTODOC1 { get; set; } - - public double CDESCUENTODOC2 { get; set; } - - public double CGASTO1 { get; set; } - - public double CGASTO2 { get; set; } - - public double CGASTO3 { get; set; } - - public double CTOTAL { get; set; } - - public double CPENDIENTE { get; set; } - - public double CTOTALUNIDADES { get; set; } - - public double CDESCUENTOPRONTOPAGO { get; set; } - - public double CPORCENTAJEIMPUESTO1 { get; set; } - - public double CPORCENTAJEIMPUESTO2 { get; set; } - - public double CPORCENTAJEIMPUESTO3 { get; set; } - - public double CPORCENTAJERETENCION1 { get; set; } - - public double CPORCENTAJERETENCION2 { get; set; } - - public double CPORCENTAJEINTERES { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA1 { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA2 { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA3 { get; set; } - - public DateTime CFECHAEXTRA { get; set; } - - public double CIMPORTEEXTRA1 { get; set; } - - public double CIMPORTEEXTRA2 { get; set; } - - public double CIMPORTEEXTRA3 { get; set; } - - public double CIMPORTEEXTRA4 { get; set; } - - [Required] - [StringLength(60)] - public string CDESTINATARIO { get; set; } - - [Required] - [StringLength(60)] - public string CNUMEROGUIA { get; set; } - - [Required] - [StringLength(20)] - public string CMENSAJERIA { get; set; } - - [Required] - [StringLength(120)] - public string CCUENTAMENSAJERIA { get; set; } - - public double CNUMEROCAJAS { get; set; } - - public double CPESO { get; set; } - - public int CBANOBSERVACIONES { get; set; } - - public int CBANDATOSENVIO { get; set; } - - public int CBANCONDICIONESCREDITO { get; set; } - - public int CBANGASTOS { get; set; } - - public double CUNIDADESPENDIENTES { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - - public double CIMPCHEQPAQ { get; set; } - - public int CSISTORIG { get; set; } - - public int CIDMONEDCA { get; set; } - - public double CTIPOCAMCA { get; set; } - - public int CESCFD { get; set; } - - public int CTIENECFD { get; set; } - - [Required] - [StringLength(380)] - public string CLUGAREXPE { get; set; } - - [Required] - [StringLength(100)] - public string CMETODOPAG { get; set; } - - public int CNUMPARCIA { get; set; } - - public int CCANTPARCI { get; set; } - - [Required] - [StringLength(253)] - public string CCONDIPAGO { get; set; } - - [Required] - [StringLength(100)] - public string CNUMCTAPAG { get; set; } - - [Required] - [StringLength(40)] - public string CGUIDDOCUMENTO { get; set; } - - [Required] - [StringLength(15)] - public string CUSUARIO { get; set; } - - public int CIDPROYECTO { get; set; } - - public int CIDCUENTA { get; set; } - - [Required] - [StringLength(26)] - public string CTRANSACTIONID { get; set; } - - public int CIDCOPIADE { get; set; } - - [Required] - [StringLength(6)] - public string CVERESQUE { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admDocumentosModelo.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admDocumentosModelo.cs deleted file mode 100644 index 7054015e..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admDocumentosModelo.cs +++ /dev/null @@ -1,36 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("admDocumentosModelo")] - public partial class admDocumentosModelo - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDDOCUMENTODE { get; set; } - - [Required] - [StringLength(50)] - public string CDESCRIPCION { get; set; } - - public int CNATURALEZA { get; set; } - - public int CAFECTAEXISTENCIA { get; set; } - - public int CMODULO { get; set; } - - public double CNOFOLIO { get; set; } - - public int CIDCONCEPTODOCTOASUMIDO { get; set; } - - public int CUSACLIENTE { get; set; } - - public int CUSAPROVEEDOR { get; set; } - - public int CIDASIENTOCONTABLE { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admDocumentosModelosBack.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admDocumentosModelosBack.cs deleted file mode 100644 index 487beb02..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admDocumentosModelosBack.cs +++ /dev/null @@ -1,36 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("admDocumentosModelosBack")] - public partial class admDocumentosModelosBack - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDDOCUMENTODE { get; set; } - - [Required] - [StringLength(50)] - public string CDESCRIPCION { get; set; } - - public int CNATURALEZA { get; set; } - - public int CAFECTAEXISTENCIA { get; set; } - - public int CMODULO { get; set; } - - public double CNOFOLIO { get; set; } - - public int CIDCONCEPTODOCTOASUMIDO { get; set; } - - public int CUSACLIENTE { get; set; } - - public int CUSAPROVEEDOR { get; set; } - - public int CIDASIENTOCONTABLE { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admDomicilios.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admDomicilios.cs deleted file mode 100644 index d4e72ab9..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admDomicilios.cs +++ /dev/null @@ -1,93 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admDomicilios - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDDIRECCION { get; set; } - - public int CIDCATALOGO { get; set; } - - public int CTIPOCATALOGO { get; set; } - - public int CTIPODIRECCION { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBRECALLE { get; set; } - - [Required] - [StringLength(30)] - public string CNUMEROEXTERIOR { get; set; } - - [Required] - [StringLength(30)] - public string CNUMEROINTERIOR { get; set; } - - [Required] - [StringLength(60)] - public string CCOLONIA { get; set; } - - [Required] - [StringLength(6)] - public string CCODIGOPOSTAL { get; set; } - - [Required] - [StringLength(15)] - public string CTELEFONO1 { get; set; } - - [Required] - [StringLength(15)] - public string CTELEFONO2 { get; set; } - - [Required] - [StringLength(15)] - public string CTELEFONO3 { get; set; } - - [Required] - [StringLength(15)] - public string CTELEFONO4 { get; set; } - - [Required] - [StringLength(50)] - public string CEMAIL { get; set; } - - [Required] - [StringLength(50)] - public string CDIRECCIONWEB { get; set; } - - [Required] - [StringLength(60)] - public string CPAIS { get; set; } - - [Required] - [StringLength(60)] - public string CESTADO { get; set; } - - [Required] - [StringLength(60)] - public string CCIUDAD { get; set; } - - [Required] - [StringLength(60)] - public string CTEXTOEXTRA { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - - [Required] - [StringLength(60)] - public string CMUNICIPIO { get; set; } - - [Required] - [StringLength(60)] - public string CSUCURSAL { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admEjercicios.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admEjercicios.cs deleted file mode 100644 index ad18742b..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admEjercicios.cs +++ /dev/null @@ -1,45 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admEjercicios - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDEJERCICIO { get; set; } - - public int CNUMEROEJERCICIO { get; set; } - - public DateTime CFECINIPERIODO1 { get; set; } - - public DateTime CFECINIPERIODO2 { get; set; } - - public DateTime CFECINIPERIODO3 { get; set; } - - public DateTime CFECINIPERIODO4 { get; set; } - - public DateTime CFECINIPERIODO5 { get; set; } - - public DateTime CFECINIPERIODO6 { get; set; } - - public DateTime CFECINIPERIODO7 { get; set; } - - public DateTime CFECINIPERIODO8 { get; set; } - - public DateTime CFECINIPERIODO9 { get; set; } - - public DateTime CFECINIPERIODO10 { get; set; } - - public DateTime CFECINIPERIODO11 { get; set; } - - public DateTime CFECINIPERIODO12 { get; set; } - - public DateTime CFECHAFINAL { get; set; } - - public int CEJERCICIO { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admExistenciaCosto.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admExistenciaCosto.cs deleted file mode 100644 index dde75de6..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admExistenciaCosto.cs +++ /dev/null @@ -1,134 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("admExistenciaCosto")] - public partial class admExistenciaCosto - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDEXISTENCIA { get; set; } - - public int CIDALMACEN { get; set; } - - public int CIDPRODUCTO { get; set; } - - public int CIDEJERCICIO { get; set; } - - public int CTIPOEXISTENCIA { get; set; } - - public double CENTRADASINICIALES { get; set; } - - public double CSALIDASINICIALES { get; set; } - - public double CCOSTOINICIALENTRADAS { get; set; } - - public double CCOSTOINICIALSALIDAS { get; set; } - - public double CENTRADASPERIODO1 { get; set; } - - public double CENTRADASPERIODO2 { get; set; } - - public double CENTRADASPERIODO3 { get; set; } - - public double CENTRADASPERIODO4 { get; set; } - - public double CENTRADASPERIODO5 { get; set; } - - public double CENTRADASPERIODO6 { get; set; } - - public double CENTRADASPERIODO7 { get; set; } - - public double CENTRADASPERIODO8 { get; set; } - - public double CENTRADASPERIODO9 { get; set; } - - public double CENTRADASPERIODO10 { get; set; } - - public double CENTRADASPERIODO11 { get; set; } - - public double CENTRADASPERIODO12 { get; set; } - - public double CSALIDASPERIODO1 { get; set; } - - public double CSALIDASPERIODO2 { get; set; } - - public double CSALIDASPERIODO3 { get; set; } - - public double CSALIDASPERIODO4 { get; set; } - - public double CSALIDASPERIODO5 { get; set; } - - public double CSALIDASPERIODO6 { get; set; } - - public double CSALIDASPERIODO7 { get; set; } - - public double CSALIDASPERIODO8 { get; set; } - - public double CSALIDASPERIODO9 { get; set; } - - public double CSALIDASPERIODO10 { get; set; } - - public double CSALIDASPERIODO11 { get; set; } - - public double CSALIDASPERIODO12 { get; set; } - - public double CCOSTOENTRADASPERIODO1 { get; set; } - - public double CCOSTOENTRADASPERIODO2 { get; set; } - - public double CCOSTOENTRADASPERIODO3 { get; set; } - - public double CCOSTOENTRADASPERIODO4 { get; set; } - - public double CCOSTOENTRADASPERIODO5 { get; set; } - - public double CCOSTOENTRADASPERIODO6 { get; set; } - - public double CCOSTOENTRADASPERIODO7 { get; set; } - - public double CCOSTOENTRADASPERIODO8 { get; set; } - - public double CCOSTOENTRADASPERIODO9 { get; set; } - - public double CCOSTOENTRADASPERIODO10 { get; set; } - - public double CCOSTOENTRADASPERIODO11 { get; set; } - - public double CCOSTOENTRADASPERIODO12 { get; set; } - - public double CCOSTOSALIDASPERIODO1 { get; set; } - - public double CCOSTOSALIDASPERIODO2 { get; set; } - - public double CCOSTOSALIDASPERIODO3 { get; set; } - - public double CCOSTOSALIDASPERIODO4 { get; set; } - - public double CCOSTOSALIDASPERIODO5 { get; set; } - - public double CCOSTOSALIDASPERIODO6 { get; set; } - - public double CCOSTOSALIDASPERIODO7 { get; set; } - - public double CCOSTOSALIDASPERIODO8 { get; set; } - - public double CCOSTOSALIDASPERIODO9 { get; set; } - - public double CCOSTOSALIDASPERIODO10 { get; set; } - - public double CCOSTOSALIDASPERIODO11 { get; set; } - - public double CCOSTOSALIDASPERIODO12 { get; set; } - - public int CBANCONGELADO { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admFoliosDigitales.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admFoliosDigitales.cs deleted file mode 100644 index 45c0fe01..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admFoliosDigitales.cs +++ /dev/null @@ -1,200 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admFoliosDigitales - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDFOLDIG { get; set; } - - public int CIDDOCTODE { get; set; } - - public int CIDCPTODOC { get; set; } - - public int CIDDOCTO { get; set; } - - public int CIDDOCALDI { get; set; } - - public int CIDFIRMARL { get; set; } - - public int CNOORDEN { get; set; } - - [Required] - [StringLength(10)] - public string CSERIE { get; set; } - - public double CFOLIO { get; set; } - - public int CNOAPROB { get; set; } - - public DateTime CFECAPROB { get; set; } - - public int CESTADO { get; set; } - - public int CENTREGADO { get; set; } - - public DateTime CFECHAEMI { get; set; } - - [Required] - [StringLength(8)] - public string CHORAEMI { get; set; } - - [Required] - [StringLength(60)] - public string CEMAIL { get; set; } - - [Required] - [StringLength(253)] - public string CARCHDIDIS { get; set; } - - public int CIDCPTOORI { get; set; } - - public DateTime CFECHACANC { get; set; } - - [Required] - [StringLength(8)] - public string CHORACANC { get; set; } - - public int CESTRAD { get; set; } - - [Column(TypeName = "text")] - public string CCADPEDI { get; set; } - - [Required] - [StringLength(60)] - public string CARCHCBB { get; set; } - - public DateTime CINIVIG { get; set; } - - public DateTime CFINVIG { get; set; } - - [Required] - [StringLength(1)] - public string CTIPO { get; set; } - - [Required] - [StringLength(25)] - public string CSERIEREC { get; set; } - - public double? CFOLIOREC { get; set; } - - [Required] - [StringLength(20)] - public string CRFC { get; set; } - - [Required] - [StringLength(253)] - public string CRAZON { get; set; } - - public int CSISORIGEN { get; set; } - - public int CEJERPOL { get; set; } - - public int CPERPOL { get; set; } - - public int CTIPOPOL { get; set; } - - public int CNUMPOL { get; set; } - - [Required] - [StringLength(100)] - public string CTIPOLDESC { get; set; } - - public double CTOTAL { get; set; } - - [Required] - [StringLength(50)] - public string CALIASBDCT { get; set; } - - public int CCFDPRUEBA { get; set; } - - [Required] - [StringLength(50)] - public string CDESESTADO { get; set; } - - public int CPAGADOBAN { get; set; } - - [Required] - [StringLength(20)] - public string CDESPAGBAN { get; set; } - - [Required] - [StringLength(20)] - public string CREFEREN01 { get; set; } - - [Required] - [StringLength(253)] - public string COBSERVA01 { get; set; } - - [Required] - [StringLength(30)] - public string CCODCONCBA { get; set; } - - [Required] - [StringLength(100)] - public string CDESCONCBA { get; set; } - - [Required] - [StringLength(30)] - public string CNUMCTABAN { get; set; } - - [Required] - [StringLength(20)] - public string CFOLIOBAN { get; set; } - - public int CIDDOCDEBA { get; set; } - - [Required] - [StringLength(20)] - public string CUSUAUTBAN { get; set; } - - [Required] - [StringLength(60)] - public string CUUID { get; set; } - - [Required] - [StringLength(20)] - public string CUSUBAN01 { get; set; } - - public int CAUTUSBA01 { get; set; } - - [Required] - [StringLength(20)] - public string CUSUBAN02 { get; set; } - - public int CAUTUSBA02 { get; set; } - - [Required] - [StringLength(20)] - public string CUSUBAN03 { get; set; } - - public int CAUTUSBA03 { get; set; } - - [Required] - [StringLength(20)] - public string CDESCAUT01 { get; set; } - - [Required] - [StringLength(20)] - public string CDESCAUT02 { get; set; } - - [Required] - [StringLength(20)] - public string CDESCAUT03 { get; set; } - - public int CERRORVAL { get; set; } - - [Required] - [StringLength(30)] - public string CACUSECAN { get; set; } - - [Required] - [StringLength(40)] - public string CIDDOCTODSL { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMaximosMinimos.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMaximosMinimos.cs deleted file mode 100644 index 47642ea9..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMaximosMinimos.cs +++ /dev/null @@ -1,50 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admMaximosMinimos - { - [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - public int CIDAUTOINCSQL { get; set; } - - [Key] - [Column(Order = 0)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDALMACEN { get; set; } - - [Key] - [Column(Order = 1)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDPRODUCTO { get; set; } - - public int CIDPRODUCTOPADRE { get; set; } - - public double CEXISTENCIAMINBASE { get; set; } - - public double CEXISTENCIAMAXBASE { get; set; } - - public double CEXISTMINNOCONVERTIBLE { get; set; } - - public double CEXISTMAXNOCONVERTIBLE { get; set; } - - [Required] - [StringLength(60)] - public string CZONA { get; set; } - - [Required] - [StringLength(60)] - public string CPASILLO { get; set; } - - [Required] - [StringLength(60)] - public string CANAQUEL { get; set; } - - [Required] - [StringLength(60)] - public string CREPISA { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMonedas.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMonedas.cs deleted file mode 100644 index ee24c9d6..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMonedas.cs +++ /dev/null @@ -1,49 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admMonedas - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDMONEDA { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBREMONEDA { get; set; } - - [Required] - [StringLength(1)] - public string CSIMBOLOMONEDA { get; set; } - - public int CPOSICIONSIMBOLO { get; set; } - - [Required] - [StringLength(60)] - public string CPLURAL { get; set; } - - [Required] - [StringLength(60)] - public string CSINGULAR { get; set; } - - [Required] - [StringLength(60)] - public string CDESCRIPCIONPROTEGIDA { get; set; } - - public int CIDBANDERA { get; set; } - - public int CDECIMALESMONEDA { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - - [Required] - [StringLength(3)] - public string CCLAVESAT { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovimientos.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovimientos.cs deleted file mode 100644 index fb2c8ca0..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovimientos.cs +++ /dev/null @@ -1,160 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admMovimientos - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDMOVIMIENTO { get; set; } - - public int CIDDOCUMENTO { get; set; } - - public double CNUMEROMOVIMIENTO { get; set; } - - public int CIDDOCUMENTODE { get; set; } - - public int CIDPRODUCTO { get; set; } - - public int CIDALMACEN { get; set; } - - public double CUNIDADES { get; set; } - - public double CUNIDADESNC { get; set; } - - public double CUNIDADESCAPTURADAS { get; set; } - - public int CIDUNIDAD { get; set; } - - public int CIDUNIDADNC { get; set; } - - public double CPRECIO { get; set; } - - public double CPRECIOCAPTURADO { get; set; } - - public double CCOSTOCAPTURADO { get; set; } - - public double CCOSTOESPECIFICO { get; set; } - - public double CNETO { get; set; } - - public double CIMPUESTO1 { get; set; } - - public double CPORCENTAJEIMPUESTO1 { get; set; } - - public double CIMPUESTO2 { get; set; } - - public double CPORCENTAJEIMPUESTO2 { get; set; } - - public double CIMPUESTO3 { get; set; } - - public double CPORCENTAJEIMPUESTO3 { get; set; } - - public double CRETENCION1 { get; set; } - - public double CPORCENTAJERETENCION1 { get; set; } - - public double CRETENCION2 { get; set; } - - public double CPORCENTAJERETENCION2 { get; set; } - - public double CDESCUENTO1 { get; set; } - - public double CPORCENTAJEDESCUENTO1 { get; set; } - - public double CDESCUENTO2 { get; set; } - - public double CPORCENTAJEDESCUENTO2 { get; set; } - - public double CDESCUENTO3 { get; set; } - - public double CPORCENTAJEDESCUENTO3 { get; set; } - - public double CDESCUENTO4 { get; set; } - - public double CPORCENTAJEDESCUENTO4 { get; set; } - - public double CDESCUENTO5 { get; set; } - - public double CPORCENTAJEDESCUENTO5 { get; set; } - - public double CTOTAL { get; set; } - - public double CPORCENTAJECOMISION { get; set; } - - [Required] - [StringLength(20)] - public string CREFERENCIA { get; set; } - - [Column(TypeName = "text")] - public string COBSERVAMOV { get; set; } - - public int CAFECTAEXISTENCIA { get; set; } - - public int CAFECTADOSALDOS { get; set; } - - public int CAFECTADOINVENTARIO { get; set; } - - public DateTime CFECHA { get; set; } - - public int CMOVTOOCULTO { get; set; } - - public int CIDMOVTOOWNER { get; set; } - - public int CIDMOVTOORIGEN { get; set; } - - public double CUNIDADESPENDIENTES { get; set; } - - public double CUNIDADESNCPENDIENTES { get; set; } - - public double CUNIDADESORIGEN { get; set; } - - public double CUNIDADESNCORIGEN { get; set; } - - public int CTIPOTRASPASO { get; set; } - - public int CIDVALORCLASIFICACION { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA1 { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA2 { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA3 { get; set; } - - public DateTime CFECHAEXTRA { get; set; } - - public double CIMPORTEEXTRA1 { get; set; } - - public double CIMPORTEEXTRA2 { get; set; } - - public double CIMPORTEEXTRA3 { get; set; } - - public double CIMPORTEEXTRA4 { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - - public double CGTOMOVTO { get; set; } - - [Required] - [StringLength(50)] - public string CSCMOVTO { get; set; } - - public double CCOMVENTA { get; set; } - - public int CIDMOVTODESTINO { get; set; } - - public int CNUMEROCONSOLIDACIONES { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovimientosCapas.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovimientosCapas.cs deleted file mode 100644 index bed3738d..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovimientosCapas.cs +++ /dev/null @@ -1,32 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admMovimientosCapas - { - [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - public int CIDAUTOINCSQL { get; set; } - - [Key] - [Column(Order = 0)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDMOVIMIENTO { get; set; } - - [Key] - [Column(Order = 1)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDCAPA { get; set; } - - public DateTime CFECHA { get; set; } - - public double CUNIDADES { get; set; } - - public int CTIPOCAPA { get; set; } - - public int CIDUNIDAD { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovimientosContables.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovimientosContables.cs deleted file mode 100644 index 72443074..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovimientosContables.cs +++ /dev/null @@ -1,65 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admMovimientosContables - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDMOVIMIENTOCONTABLE { get; set; } - - public int CIDASIENTOCONTABLE { get; set; } - - [Required] - [StringLength(250)] - public string CCUENTA { get; set; } - - public int CTIPOMOVIMIENTO { get; set; } - - public double CIMPORTEBASE { get; set; } - - public double CPORCENTAJE { get; set; } - - public int CORIGENREFERENCIA { get; set; } - - [Required] - [StringLength(30)] - public string CREFERENCIA { get; set; } - - public int CORIGENDIARIO { get; set; } - - [Required] - [StringLength(10)] - public string CDIARIO { get; set; } - - public int CORIGENCONCEPTO { get; set; } - - [Required] - [StringLength(100)] - public string CCONCEPTO { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - - public int CSUMARIZ { get; set; } - - public int CSUPMOVS0 { get; set; } - - public int CORISEGNEG { get; set; } - - [Required] - [StringLength(4)] - public string CSEGNEG { get; set; } - - public int CIMPMONEXT { get; set; } - - public int CIMPMONDOC { get; set; } - - public int CCOMPLEMEN { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovimientosPrepoliza.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovimientosPrepoliza.cs deleted file mode 100644 index bf8182fd..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovimientosPrepoliza.cs +++ /dev/null @@ -1,56 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("admMovimientosPrepoliza")] - public partial class admMovimientosPrepoliza - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDMOVIMIENTOPREPOLIZA { get; set; } - - public int CIDPREPOLIZA { get; set; } - - public int EJE { get; set; } - - public int PERIODO { get; set; } - - public int TIPOPOL { get; set; } - - public int NUMPOL { get; set; } - - public int MOVTO { get; set; } - - [Required] - [StringLength(50)] - public string CUENTA { get; set; } - - public int TIPOMOV { get; set; } - - [Required] - [StringLength(30)] - public string REFERENCIA { get; set; } - - public double IMPORTE { get; set; } - - [Required] - [StringLength(10)] - public string DIARIO { get; set; } - - public double MONEDA { get; set; } - - [Required] - [StringLength(100)] - public string CONCEPTO { get; set; } - - public DateTime FECHA { get; set; } - - [Required] - [StringLength(10)] - public string SEGNEG { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovimientosSerie.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovimientosSerie.cs deleted file mode 100644 index a63741b8..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovimientosSerie.cs +++ /dev/null @@ -1,27 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("admMovimientosSerie")] - public partial class admMovimientosSerie - { - [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - public int CIDAUTOINCSQL { get; set; } - - [Key] - [Column(Order = 0)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDMOVIMIENTO { get; set; } - - [Key] - [Column(Order = 1)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDSERIE { get; set; } - - public DateTime CFECHA { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovtosBancarios.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovtosBancarios.cs deleted file mode 100644 index 1f140f18..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovtosBancarios.cs +++ /dev/null @@ -1,63 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admMovtosBancarios - { - [Key] - [StringLength(26)] - public string CTRANSACTIONID { get; set; } - - [Required] - [StringLength(26)] - public string CACCOUNTID { get; set; } - - public int CIDCUENTA { get; set; } - - public int CIDDOCUMENTO { get; set; } - - public DateTime CFECHA { get; set; } - - [Required] - [StringLength(256)] - public string CDESCRIPCION { get; set; } - - [Required] - [StringLength(128)] - public string CREFERENCIA { get; set; } - - public double CIMPORTE { get; set; } - - public int CESTADO { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA1 { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA2 { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA3 { get; set; } - - public DateTime CFECHAEXTRA { get; set; } - - public double CIMPORTEEXTRA1 { get; set; } - - public double CIMPORTEEXTRA2 { get; set; } - - public double CIMPORTEEXTRA3 { get; set; } - - public double CIMPORTEEXTRA4 { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovtosCEPs.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovtosCEPs.cs deleted file mode 100644 index 8babdf64..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovtosCEPs.cs +++ /dev/null @@ -1,118 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admMovtosCEPs - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDMOVTOCEP { get; set; } - - public int CIDDOCUMENTO { get; set; } - - public DateTime CFECHA { get; set; } - - [Required] - [StringLength(8)] - public string CHORA { get; set; } - - [Required] - [StringLength(12)] - public string CCLAVE { get; set; } - - [Required] - [StringLength(256)] - public string CSELLO { get; set; } - - [Required] - [StringLength(20)] - public string CCERTIFICADO { get; set; } - - [Column(TypeName = "text")] - public string CCADENA { get; set; } - - public int CESTADO { get; set; } - - [Required] - [StringLength(60)] - public string CCONCEPTO { get; set; } - - public double CIVA { get; set; } - - public double CIMPORTE { get; set; } - - [Required] - [StringLength(60)] - public string CRBANCO { get; set; } - - [Required] - [StringLength(60)] - public string CRNOMBRE { get; set; } - - [Required] - [StringLength(20)] - public string CRRFC { get; set; } - - [Required] - [StringLength(20)] - public string CRCUENTA { get; set; } - - [Required] - [StringLength(2)] - public string CRTIPOCTA { get; set; } - - [Required] - [StringLength(60)] - public string CEBANCO { get; set; } - - [Required] - [StringLength(60)] - public string CENOMBRE { get; set; } - - [Required] - [StringLength(20)] - public string CERFC { get; set; } - - [Required] - [StringLength(20)] - public string CECUENTA { get; set; } - - [Required] - [StringLength(2)] - public string CETIPOCTA { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA1 { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA2 { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA3 { get; set; } - - public DateTime CFECHAEXTRA { get; set; } - - public double CIMPORTEEXTRA1 { get; set; } - - public double CIMPORTEEXTRA2 { get; set; } - - public double CIMPORTEEXTRA3 { get; set; } - - public double CIMPORTEEXTRA4 { get; set; } - - [Required] - [StringLength(256)] - public string CARCHIVO { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovtosInvFisico.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovtosInvFisico.cs deleted file mode 100644 index 640ebd5c..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovtosInvFisico.cs +++ /dev/null @@ -1,32 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("admMovtosInvFisico")] - public partial class admMovtosInvFisico - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDMOVIMIENTO { get; set; } - - public int CIDPRODUCTO { get; set; } - - public int CIDALMACEN { get; set; } - - public int CIDUNIDAD { get; set; } - - public double CUNIDADES { get; set; } - - public double CUNIDADESNC { get; set; } - - public double CUNIDADESCAPTURADAS { get; set; } - - public int CMOVTOOCULTO { get; set; } - - public int CIDMOVTOOWNER { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovtosInvFisicoSerieCa.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovtosInvFisicoSerieCa.cs deleted file mode 100644 index 9bbfeabe..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admMovtosInvFisicoSerieCa.cs +++ /dev/null @@ -1,52 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("admMovtosInvFisicoSerieCa")] - public partial class admMovtosInvFisicoSerieCa - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDSERIECAPA { get; set; } - - public int CIDMOVTOINVENTARIOFISICO { get; set; } - - public int CIDPRODUCTO { get; set; } - - [Required] - [StringLength(30)] - public string CNUMEROSERIE { get; set; } - - public int CIDALMACEN { get; set; } - - public int CTIPO { get; set; } - - [Required] - [StringLength(30)] - public string CNUMEROLOTE { get; set; } - - public DateTime CFECHACADUCIDAD { get; set; } - - public DateTime CFECHAFABRICACION { get; set; } - - [Required] - [StringLength(30)] - public string CPEDIMENTO { get; set; } - - [Required] - [StringLength(60)] - public string CADUANA { get; set; } - - public DateTime CFECHAPEDIMENTO { get; set; } - - public double CTIPOCAMBIO { get; set; } - - public double CCANTIDAD { get; set; } - - public int CIDCAPA { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admNumerosSerie.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admNumerosSerie.cs deleted file mode 100644 index 64a83d4d..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admNumerosSerie.cs +++ /dev/null @@ -1,60 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("admNumerosSerie")] - public partial class admNumerosSerie - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDSERIE { get; set; } - - public int CIDPRODUCTO { get; set; } - - [Required] - [StringLength(30)] - public string CNUMEROSERIE { get; set; } - - public int CIDALMACEN { get; set; } - - public int CESTADO { get; set; } - - public int CESTADOANTERIOR { get; set; } - - [Required] - [StringLength(30)] - public string CNUMEROLOTE { get; set; } - - public DateTime CFECHACADUCIDAD { get; set; } - - public DateTime CFECHAFABRICACION { get; set; } - - [Required] - [StringLength(30)] - public string CPEDIMENTO { get; set; } - - [Required] - [StringLength(60)] - public string CADUANA { get; set; } - - public DateTime CFECHAPEDIMENTO { get; set; } - - public double CTIPOCAMBIO { get; set; } - - public double CCOSTO { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - - public int CNUMADUANA { get; set; } - - [Required] - [StringLength(30)] - public string CCLAVESAT { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admParametros.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admParametros.cs deleted file mode 100644 index 6cd2dbff..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admParametros.cs +++ /dev/null @@ -1,624 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admParametros - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDEMPRESA { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBREEMPRESA { get; set; } - - public int CEXISTENCIANEGATIVA { get; set; } - - public int CIDEJERCICIOACTUAL { get; set; } - - public int CPERIODOACTUAL { get; set; } - - [Required] - [StringLength(20)] - public string CRFCEMPRESA { get; set; } - - [Required] - [StringLength(20)] - public string CCURPEMPRESA { get; set; } - - [Required] - [StringLength(50)] - public string CREGISTROCAMARA { get; set; } - - [Required] - [StringLength(50)] - public string CCUENTAESTATAL { get; set; } - - [Required] - [StringLength(50)] - public string CREPRESENTANTELEGAL { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBRECORTO { get; set; } - - public int CIDALMACENASUMIDO { get; set; } - - public DateTime CFECHACIERRE { get; set; } - - public int CDECIMALESUNIDADES { get; set; } - - public int CDECIMALESPRECIOVENTA { get; set; } - - public int CDECIMALESCOSTOS { get; set; } - - public int CDECIMALESTIPOSCAMBIO { get; set; } - - public int CBANMARGENUTILIDAD { get; set; } - - public double CIMPUESTO1 { get; set; } - - public double CIMPUESTO2 { get; set; } - - public double CIMPUESTO3 { get; set; } - - public int CUSOCUOTAIESPS { get; set; } - - public double CRETENCIONCLIENTE1 { get; set; } - - public double CRETENCIONCLIENTE2 { get; set; } - - public double CRETENCIONPROVEEDOR1 { get; set; } - - public double CRETENCIONPROVEEDOR2 { get; set; } - - public double CDESCUENTODOCTO { get; set; } - - public double CDESCUENTOMOVTO { get; set; } - - public double CCOMISIONVENTA { get; set; } - - public double CCOMISIONCOBRO { get; set; } - - public int CLISTAPRECIOGENERAL { get; set; } - - public int CIDALMACENCONSIGNACION { get; set; } - - public int CMANEJOFECHA { get; set; } - - public int CIDMONEDABASE { get; set; } - - public int CIDCLIENTEMOSTRADOR { get; set; } - - [Required] - [StringLength(253)] - public string CRUTACONTPAQ { get; set; } - - public int CUSACARACTERISTICAS { get; set; } - - public int CUSAUNIDADNC { get; set; } - - [Required] - [StringLength(30)] - public string CMASCARILLACLIENTES { get; set; } - - [Required] - [StringLength(30)] - public string CMASCARILLAPRODUCTO { get; set; } - - [Required] - [StringLength(30)] - public string CMASCARILLAALMACEN { get; set; } - - [Required] - [StringLength(30)] - public string CMASCARILLAAGENTE { get; set; } - - [Required] - [StringLength(30)] - public string CMASCARILLARFC { get; set; } - - [Required] - [StringLength(30)] - public string CMASCARILLACURP { get; set; } - - public int CBANDIRECCION { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBRELISTA1 { get; set; } - - public int CIDMONEDALISTA1 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBRELISTA2 { get; set; } - - public int CIDMONEDALISTA2 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBRELISTA3 { get; set; } - - public int CIDMONEDALISTA3 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBRELISTA4 { get; set; } - - public int CIDMONEDALISTA4 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBRELISTA5 { get; set; } - - public int CIDMONEDALISTA5 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBRELISTA6 { get; set; } - - public int CIDMONEDALISTA6 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBRELISTA7 { get; set; } - - public int CIDMONEDALISTA7 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBRELISTA8 { get; set; } - - public int CIDMONEDALISTA8 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBRELISTA9 { get; set; } - - public int CIDMONEDALISTA9 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBRELISTA10 { get; set; } - - public int CIDMONEDALISTA10 { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBREIMPUESTO1 { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBREIMPUESTO2 { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBREIMPUESTO3 { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBRERETENCION1 { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBRERETENCION2 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBREGASTO1 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBREGASTO2 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBREGASTO3 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBREDESCUENTOMOV1 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBREDESCUENTOMOV2 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBREDESCUENTOMOV3 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBREDESCUENTOMOV4 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBREDESCUENTOMOV5 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBREDESCUENTODOC1 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBREDESCUENTODOC2 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTGENERAL1 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTGENERAL2 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTGENERAL3 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTGENERAL4 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTGENERAL5 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTGENERAL6 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTGENERAL7 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTGENERAL8 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTGENERAL9 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTGENERAL10 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTGENERAL11 { get; set; } - - public double CCONSECUTIVODIARIO { get; set; } - - public double CCONSECUTIVOINGRESOS { get; set; } - - public double CCONSECUTIVOEGRESOS { get; set; } - - public double CCONSECUTIVOORDEN { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - - public DateTime CFECHACONGELAMIENTO { get; set; } - - public int CBANCONGELAMIENTO { get; set; } - - [Required] - [StringLength(253)] - public string CRUTAEMPRESAPRED { get; set; } - - public int CBANVISTASVENTAS { get; set; } - - public int CBANVISTASCOMPRAS { get; set; } - - public int CBANVISTASCTEPROVINVEN { get; set; } - - public int CBANVISTASCATALOGOS { get; set; } - - public int CAFECTARINVAUTOMATICO { get; set; } - - public int CMETODOCOSTEO { get; set; } - - public int CBANOBLIGATORIOEXISTENCIA { get; set; } - - public int CNUMIMPUESTOIVA { get; set; } - - [Required] - [StringLength(20)] - public string CVERSIONACTUAL { get; set; } - - public int CPRECIOSCONIVA { get; set; } - - public int CIDPRODU01 { get; set; } - - public int CIDPRODU02 { get; set; } - - public int CIDPRODU03 { get; set; } - - public int CIDPRODU04 { get; set; } - - public int CIDPRODU05 { get; set; } - - public int CIDCONCE01 { get; set; } - - public int CIDCONCE02 { get; set; } - - public int CIDCLIEN02 { get; set; } - - public int CIDCONCE03 { get; set; } - - public int CIDCONCE04 { get; set; } - - public int CPERANTFUT { get; set; } - - public int CVMOSTPEND { get; set; } - - [Required] - [StringLength(20)] - public string CMOVTEXEX1 { get; set; } - - [Required] - [StringLength(20)] - public string CMOVTEXEX2 { get; set; } - - [Required] - [StringLength(20)] - public string CMOVTEXEX3 { get; set; } - - [Required] - [StringLength(20)] - public string CMOVIMPEX1 { get; set; } - - [Required] - [StringLength(20)] - public string CMOVIMPEX2 { get; set; } - - [Required] - [StringLength(20)] - public string CMOVIMPEX3 { get; set; } - - [Required] - [StringLength(20)] - public string CMOVIMPEX4 { get; set; } - - [Required] - [StringLength(20)] - public string CMOVFECEX1 { get; set; } - - public int CVISTAAJ01 { get; set; } - - public int CESCFD { get; set; } - - public int CTIEMPOCFD { get; set; } - - public int CINTENTOS { get; set; } - - public int CINTERFAZ { get; set; } - - public int CCONTSIMUL { get; set; } - - public int CBANACTPLP { get; set; } - - public int CPOSFOLIO { get; set; } - - public int CPOSMODOIM { get; set; } - - public int CCALCOSTO1 { get; set; } - - public int CGENBITACS { get; set; } - - public int CSUGERIRRE { get; set; } - - public int CIDKEYEMP { get; set; } - - public int CALMACENAC { get; set; } - - [Required] - [StringLength(20)] - public string CVERPOSI { get; set; } - - public int CIDSUCURSA { get; set; } - - public int CPERFIL { get; set; } - - public int CAUTORIZAR { get; set; } - - public int CMOSTRARDOCTOS { get; set; } - - public int CBITACORA0 { get; set; } - - public int CBITACORA1 { get; set; } - - public int CBITACORA2 { get; set; } - - public int CBITACORA3 { get; set; } - - public int CBITACORA4 { get; set; } - - public int CBITACORA5 { get; set; } - - public int CBITACORA6 { get; set; } - - public int CBITACORA7 { get; set; } - - public int CCOSTOMEN { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCIVA15 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCIVA10 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCIVAOT { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCIVA16 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCIVA11 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGPIVA15 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGPIVA10 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGPIVAOT { get; set; } - - [Required] - [StringLength(50)] - public string CSEGPIVA16 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGPIVA11 { get; set; } - - public int CGENAJ2010 { get; set; } - - public DateTime CFECAJ2010 { get; set; } - - public int CAJ2010ORI { get; set; } - - [Required] - [StringLength(60)] - public string CHOST { get; set; } - - public int CTIPESTCAL { get; set; } - - public int CCFDIMPU01 { get; set; } - - public int CCFDIMPU02 { get; set; } - - public int CCFDIMPU03 { get; set; } - - public int CCFDIMPU04 { get; set; } - - public int CCFDIMPU05 { get; set; } - - [Required] - [StringLength(253)] - public string CRUTAPLA01 { get; set; } - - [Required] - [StringLength(253)] - public string CRUTAPLA02 { get; set; } - - public DateTime CFECDONAT { get; set; } - - [Required] - [StringLength(30)] - public string CNUMDONAT { get; set; } - - [Required] - [StringLength(253)] - public string CHOSTPROXY { get; set; } - - public int CPTOPROXY { get; set; } - - [Required] - [StringLength(60)] - public string CUSRPROXY { get; set; } - - [Required] - [StringLength(60)] - public string CHOSTSMTP { get; set; } - - public int CPTOPOP { get; set; } - - public int CPTOSMTP { get; set; } - - public int CCNXSEGPOP { get; set; } - - [Required] - [StringLength(253)] - public string CRUTAENTREGA { get; set; } - - public int CPREFIJORFC { get; set; } - - [Required] - [StringLength(20)] - public string CVALIDACFD { get; set; } - - [Required] - [StringLength(253)] - public string CREGIMFISC { get; set; } - - [Required] - [StringLength(30)] - public string CAUTRVOE { get; set; } - - [Required] - [StringLength(253)] - public string CLEYENDON1 { get; set; } - - [Required] - [StringLength(253)] - public string CLEYENDON2 { get; set; } - - [Required] - [StringLength(253)] - public string CASUNTO { get; set; } - - [Column(TypeName = "text")] - public string CCUERPO { get; set; } - - [Required] - [StringLength(253)] - public string CFIRMA { get; set; } - - [Required] - [StringLength(253)] - public string CADJUNTO1 { get; set; } - - [Required] - [StringLength(253)] - public string CADJUNTO2 { get; set; } - - [Required] - [StringLength(253)] - public string CCORREOPRU { get; set; } - - [Required] - [StringLength(40)] - public string CGUIDDSL { get; set; } - - [Required] - [StringLength(40)] - public string CGUIDEMPRESA { get; set; } - - public double CMARGENUTILIDAD { get; set; } - - public int CPROTEGERCOSTOS { get; set; } - - public int CIDCUENTA { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCIVA8 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGPIVA8 { get; set; } - - [Column(TypeName = "text")] - public string CTOKENCN { get; set; } - - [Column(TypeName = "text")] - public string CREFRESHTOKENCN { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admParametrosBack.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admParametrosBack.cs deleted file mode 100644 index 0791a61d..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admParametrosBack.cs +++ /dev/null @@ -1,597 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("admParametrosBack")] - public partial class admParametrosBack - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDEMPRESA { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBREEMPRESA { get; set; } - - public int CEXISTENCIANEGATIVA { get; set; } - - public int CIDEJERCICIOACTUAL { get; set; } - - public int CPERIODOACTUAL { get; set; } - - [Required] - [StringLength(20)] - public string CRFCEMPRESA { get; set; } - - [Required] - [StringLength(20)] - public string CCURPEMPRESA { get; set; } - - [Required] - [StringLength(50)] - public string CREGISTROCAMARA { get; set; } - - [Required] - [StringLength(50)] - public string CCUENTAESTATAL { get; set; } - - [Required] - [StringLength(50)] - public string CREPRESENTANTELEGAL { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBRECORTO { get; set; } - - public int CIDALMACENASUMIDO { get; set; } - - public DateTime CFECHACIERRE { get; set; } - - public int CDECIMALESUNIDADES { get; set; } - - public int CDECIMALESPRECIOVENTA { get; set; } - - public int CDECIMALESCOSTOS { get; set; } - - public int CDECIMALESTIPOSCAMBIO { get; set; } - - public int CBANMARGENUTILIDAD { get; set; } - - public double CIMPUESTO1 { get; set; } - - public double CIMPUESTO2 { get; set; } - - public double CIMPUESTO3 { get; set; } - - public int CUSOCUOTAIESPS { get; set; } - - public double CRETENCIONCLIENTE1 { get; set; } - - public double CRETENCIONCLIENTE2 { get; set; } - - public double CRETENCIONPROVEEDOR1 { get; set; } - - public double CRETENCIONPROVEEDOR2 { get; set; } - - public double CDESCUENTODOCTO { get; set; } - - public double CDESCUENTOMOVTO { get; set; } - - public double CCOMISIONVENTA { get; set; } - - public double CCOMISIONCOBRO { get; set; } - - public int CLISTAPRECIOGENERAL { get; set; } - - public int CIDALMACENCONSIGNACION { get; set; } - - public int CMANEJOFECHA { get; set; } - - public int CIDMONEDABASE { get; set; } - - public int CIDCLIENTEMOSTRADOR { get; set; } - - [Required] - [StringLength(253)] - public string CRUTACONTPAQ { get; set; } - - public int CUSACARACTERISTICAS { get; set; } - - public int CUSAUNIDADNC { get; set; } - - [Required] - [StringLength(30)] - public string CMASCARILLACLIENTES { get; set; } - - [Required] - [StringLength(30)] - public string CMASCARILLAPRODUCTO { get; set; } - - [Required] - [StringLength(30)] - public string CMASCARILLAALMACEN { get; set; } - - [Required] - [StringLength(30)] - public string CMASCARILLAAGENTE { get; set; } - - [Required] - [StringLength(30)] - public string CMASCARILLARFC { get; set; } - - [Required] - [StringLength(30)] - public string CMASCARILLACURP { get; set; } - - public int CBANDIRECCION { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBRELISTA1 { get; set; } - - public int CIDMONEDALISTA1 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBRELISTA2 { get; set; } - - public int CIDMONEDALISTA2 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBRELISTA3 { get; set; } - - public int CIDMONEDALISTA3 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBRELISTA4 { get; set; } - - public int CIDMONEDALISTA4 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBRELISTA5 { get; set; } - - public int CIDMONEDALISTA5 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBRELISTA6 { get; set; } - - public int CIDMONEDALISTA6 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBRELISTA7 { get; set; } - - public int CIDMONEDALISTA7 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBRELISTA8 { get; set; } - - public int CIDMONEDALISTA8 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBRELISTA9 { get; set; } - - public int CIDMONEDALISTA9 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBRELISTA10 { get; set; } - - public int CIDMONEDALISTA10 { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBREIMPUESTO1 { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBREIMPUESTO2 { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBREIMPUESTO3 { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBRERETENCION1 { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBRERETENCION2 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBREGASTO1 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBREGASTO2 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBREGASTO3 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBREDESCUENTOMOV1 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBREDESCUENTOMOV2 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBREDESCUENTOMOV3 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBREDESCUENTOMOV4 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBREDESCUENTOMOV5 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBREDESCUENTODOC1 { get; set; } - - [Required] - [StringLength(20)] - public string CNOMBREDESCUENTODOC2 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTGENERAL1 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTGENERAL2 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTGENERAL3 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTGENERAL4 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTGENERAL5 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTGENERAL6 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTGENERAL7 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTGENERAL8 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTGENERAL9 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTGENERAL10 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTGENERAL11 { get; set; } - - public double CCONSECUTIVODIARIO { get; set; } - - public double CCONSECUTIVOINGRESOS { get; set; } - - public double CCONSECUTIVOEGRESOS { get; set; } - - public double CCONSECUTIVOORDEN { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - - public DateTime CFECHACONGELAMIENTO { get; set; } - - public int CBANCONGELAMIENTO { get; set; } - - [Required] - [StringLength(253)] - public string CRUTAEMPRESAPRED { get; set; } - - public int CBANVISTASVENTAS { get; set; } - - public int CBANVISTASCOMPRAS { get; set; } - - public int CBANVISTASCTEPROVINVEN { get; set; } - - public int CBANVISTASCATALOGOS { get; set; } - - public int CAFECTARINVAUTOMATICO { get; set; } - - public int CMETODOCOSTEO { get; set; } - - public int CBANOBLIGATORIOEXISTENCIA { get; set; } - - public int CNUMIMPUESTOIVA { get; set; } - - [Required] - [StringLength(20)] - public string CVERSIONACTUAL { get; set; } - - public int CPRECIOSCONIVA { get; set; } - - public int CIDPRODU01 { get; set; } - - public int CIDPRODU02 { get; set; } - - public int CIDPRODU03 { get; set; } - - public int CIDPRODU04 { get; set; } - - public int CIDPRODU05 { get; set; } - - public int CIDCONCE01 { get; set; } - - public int CIDCONCE02 { get; set; } - - public int CIDCLIEN02 { get; set; } - - public int CIDCONCE03 { get; set; } - - public int CIDCONCE04 { get; set; } - - public int CPERANTFUT { get; set; } - - public int CVMOSTPEND { get; set; } - - [Required] - [StringLength(20)] - public string CMOVTEXEX1 { get; set; } - - [Required] - [StringLength(20)] - public string CMOVTEXEX2 { get; set; } - - [Required] - [StringLength(20)] - public string CMOVTEXEX3 { get; set; } - - [Required] - [StringLength(20)] - public string CMOVIMPEX1 { get; set; } - - [Required] - [StringLength(20)] - public string CMOVIMPEX2 { get; set; } - - [Required] - [StringLength(20)] - public string CMOVIMPEX3 { get; set; } - - [Required] - [StringLength(20)] - public string CMOVIMPEX4 { get; set; } - - [Required] - [StringLength(20)] - public string CMOVFECEX1 { get; set; } - - public int CVISTAAJ01 { get; set; } - - public int CESCFD { get; set; } - - public int CTIEMPOCFD { get; set; } - - public int CINTENTOS { get; set; } - - public int CINTERFAZ { get; set; } - - public int CCONTSIMUL { get; set; } - - public int CBANACTPLP { get; set; } - - public int CPOSFOLIO { get; set; } - - public int CPOSMODOIM { get; set; } - - public int CCALCOSTO1 { get; set; } - - public int CGENBITACS { get; set; } - - public int CSUGERIRRE { get; set; } - - public int CIDKEYEMP { get; set; } - - public int CALMACENAC { get; set; } - - [Required] - [StringLength(20)] - public string CVERPOSI { get; set; } - - public int CIDSUCURSA { get; set; } - - public int CPERFIL { get; set; } - - public int CMOSTRAR01 { get; set; } - - public int CBITACORA0 { get; set; } - - public int CBITACORA1 { get; set; } - - public int CBITACORA2 { get; set; } - - public int CBITACORA3 { get; set; } - - public int CBITACORA4 { get; set; } - - public int CBITACORA5 { get; set; } - - public int CBITACORA6 { get; set; } - - public int CBITACORA7 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCIVA15 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCIVA10 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCIVAOT { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCIVA16 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCIVA11 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGPIVA15 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGPIVA10 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGPIVAOT { get; set; } - - [Required] - [StringLength(50)] - public string CSEGPIVA16 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGPIVA11 { get; set; } - - public int CGENAJ2010 { get; set; } - - public DateTime CFECAJ2010 { get; set; } - - public int CAJ2010ORI { get; set; } - - [Required] - [StringLength(60)] - public string CHOST { get; set; } - - public int CTIPESTCAL { get; set; } - - [Required] - [StringLength(253)] - public string CRUTAPLA01 { get; set; } - - [Required] - [StringLength(253)] - public string CRUTAPLA02 { get; set; } - - public DateTime CFECDONAT { get; set; } - - [Required] - [StringLength(30)] - public string CNUMDONAT { get; set; } - - [Required] - [StringLength(253)] - public string CHOSTPROXY { get; set; } - - public int CPTOPROXY { get; set; } - - [Required] - [StringLength(60)] - public string CUSRPROXY { get; set; } - - [Required] - [StringLength(60)] - public string CHOSTSMTP { get; set; } - - public int CPTOPOP { get; set; } - - public int CPTOSMTP { get; set; } - - public int CCNXSEGPOP { get; set; } - - [Required] - [StringLength(253)] - public string CRUTAENTREGA { get; set; } - - public int CPREFIJORFC { get; set; } - - [Required] - [StringLength(20)] - public string CVALIDACFD { get; set; } - - [Required] - [StringLength(253)] - public string CREGIMFISC { get; set; } - - [Required] - [StringLength(30)] - public string CAUTRVOE { get; set; } - - [Required] - [StringLength(253)] - public string CLEYENDON1 { get; set; } - - [Required] - [StringLength(253)] - public string CLEYENDON2 { get; set; } - - [Required] - [StringLength(253)] - public string CASUNTO { get; set; } - - [Column(TypeName = "text")] - public string CCUERPO { get; set; } - - [Required] - [StringLength(253)] - public string CFIRMA { get; set; } - - [Required] - [StringLength(253)] - public string CADJUNTO1 { get; set; } - - [Required] - [StringLength(253)] - public string CADJUNTO2 { get; set; } - - [Required] - [StringLength(253)] - public string CCORREOPRU { get; set; } - - [Required] - [StringLength(40)] - public string CGUIDDSL { get; set; } - - [Required] - [StringLength(40)] - public string CGUIDEMPRESA { get; set; } - - [Column(TypeName = "text")] - public string CTOKENCN { get; set; } - - [Column(TypeName = "text")] - public string CREFRESHTOKENCN { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admPreciosCompra.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admPreciosCompra.cs deleted file mode 100644 index 19251a8d..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admPreciosCompra.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("admPreciosCompra")] - public partial class admPreciosCompra - { - [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - public int CIDAUTOINCSQL { get; set; } - - [Key] - [Column(Order = 0)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDPRODUCTO { get; set; } - - [Key] - [Column(Order = 1)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDPROVEEDOR { get; set; } - - public double CPRECIOCOMPRA { get; set; } - - public int CIDMONEDA { get; set; } - - [Required] - [StringLength(20)] - public string CCODIGOPRODUCTOPROVEEDOR { get; set; } - - public int CIDUNIDAD { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admPrepolizas.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admPrepolizas.cs deleted file mode 100644 index cf92921e..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admPrepolizas.cs +++ /dev/null @@ -1,57 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admPrepolizas - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDPREPOLIZA { get; set; } - - public int CESTADOCONTABLE { get; set; } - - public int EJE { get; set; } - - public int PERIODO { get; set; } - - public int TIPOPOL { get; set; } - - public int NUMPOL { get; set; } - - public int CLASE { get; set; } - - public int IMPRESA { get; set; } - - [Required] - [StringLength(50)] - public string CONCEPTO { get; set; } - - public DateTime FECHA { get; set; } - - public double CARGOS { get; set; } - - public double ABONOS { get; set; } - - [Required] - [StringLength(10)] - public string DIARIO { get; set; } - - public int SISTORIG { get; set; } - - [Required] - [StringLength(8)] - public string CHORA { get; set; } - - [Required] - [StringLength(40)] - public string CGUIDPOLIZA { get; set; } - - [Required] - [StringLength(50)] - public string CIDTRANSACCION { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admProductos.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admProductos.cs deleted file mode 100644 index 801db704..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admProductos.cs +++ /dev/null @@ -1,264 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admProductos - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDPRODUCTO { get; set; } - - [Required] - [StringLength(30)] - public string CCODIGOPRODUCTO { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBREPRODUCTO { get; set; } - - public int CTIPOPRODUCTO { get; set; } - - public DateTime CFECHAALTAPRODUCTO { get; set; } - - public int CCONTROLEXISTENCIA { get; set; } - - public int CIDFOTOPRODUCTO { get; set; } - - [Column(TypeName = "text")] - public string CDESCRIPCIONPRODUCTO { get; set; } - - public int CMETODOCOSTEO { get; set; } - - public double CPESOPRODUCTO { get; set; } - - public double CCOMVENTAEXCEPPRODUCTO { get; set; } - - public double CCOMCOBROEXCEPPRODUCTO { get; set; } - - public double CCOSTOESTANDAR { get; set; } - - public double CMARGENUTILIDAD { get; set; } - - public int CSTATUSPRODUCTO { get; set; } - - public int CIDUNIDADBASE { get; set; } - - public int CIDUNIDADNOCONVERTIBLE { get; set; } - - public DateTime CFECHABAJA { get; set; } - - public double CIMPUESTO1 { get; set; } - - public double CIMPUESTO2 { get; set; } - - public double CIMPUESTO3 { get; set; } - - public double CRETENCION1 { get; set; } - - public double CRETENCION2 { get; set; } - - public int CIDPADRECARACTERISTICA1 { get; set; } - - public int CIDPADRECARACTERISTICA2 { get; set; } - - public int CIDPADRECARACTERISTICA3 { get; set; } - - public int CIDVALORCLASIFICACION1 { get; set; } - - public int CIDVALORCLASIFICACION2 { get; set; } - - public int CIDVALORCLASIFICACION3 { get; set; } - - public int CIDVALORCLASIFICACION4 { get; set; } - - public int CIDVALORCLASIFICACION5 { get; set; } - - public int CIDVALORCLASIFICACION6 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTPRODUCTO1 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTPRODUCTO2 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONTPRODUCTO3 { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA1 { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA2 { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA3 { get; set; } - - public DateTime CFECHAEXTRA { get; set; } - - public double CIMPORTEEXTRA1 { get; set; } - - public double CIMPORTEEXTRA2 { get; set; } - - public double CIMPORTEEXTRA3 { get; set; } - - public double CIMPORTEEXTRA4 { get; set; } - - public double CPRECIO1 { get; set; } - - public double CPRECIO2 { get; set; } - - public double CPRECIO3 { get; set; } - - public double CPRECIO4 { get; set; } - - public double CPRECIO5 { get; set; } - - public double CPRECIO6 { get; set; } - - public double CPRECIO7 { get; set; } - - public double CPRECIO8 { get; set; } - - public double CPRECIO9 { get; set; } - - public double CPRECIO10 { get; set; } - - public int CBANUNIDADES { get; set; } - - public int CBANCARACTERISTICAS { get; set; } - - public int CBANMETODOCOSTEO { get; set; } - - public int CBANMAXMIN { get; set; } - - public int CBANPRECIO { get; set; } - - public int CBANIMPUESTO { get; set; } - - public int CBANCODIGOBARRA { get; set; } - - public int CBANCOMPONENTE { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - - public int CERRORCOSTO { get; set; } - - public DateTime CFECHAERRORCOSTO { get; set; } - - public double CPRECIOCALCULADO { get; set; } - - public int CESTADOPRECIO { get; set; } - - public int CBANUBICACION { get; set; } - - public int CESEXENTO { get; set; } - - public int CEXISTENCIANEGATIVA { get; set; } - - public double CCOSTOEXT1 { get; set; } - - public double CCOSTOEXT2 { get; set; } - - public double CCOSTOEXT3 { get; set; } - - public double CCOSTOEXT4 { get; set; } - - public double CCOSTOEXT5 { get; set; } - - public DateTime CFECCOSEX1 { get; set; } - - public DateTime CFECCOSEX2 { get; set; } - - public DateTime CFECCOSEX3 { get; set; } - - public DateTime CFECCOSEX4 { get; set; } - - public DateTime CFECCOSEX5 { get; set; } - - public int CMONCOSEX1 { get; set; } - - public int CMONCOSEX2 { get; set; } - - public int CMONCOSEX3 { get; set; } - - public int CMONCOSEX4 { get; set; } - - public int CMONCOSEX5 { get; set; } - - public int CBANCOSEX { get; set; } - - public int CESCUOTAI2 { get; set; } - - public int CESCUOTAI3 { get; set; } - - public int CIDUNIDADCOMPRA { get; set; } - - public int CIDUNIDADVENTA { get; set; } - - public int CSUBTIPO { get; set; } - - [Required] - [StringLength(30)] - public string CCODALTERN { get; set; } - - [Required] - [StringLength(60)] - public string CNOMALTERN { get; set; } - - [Required] - [StringLength(30)] - public string CDESCCORTA { get; set; } - - public int CIDMONEDA { get; set; } - - public int CUSABASCU { get; set; } - - public int CTIPOPAQUE { get; set; } - - public int CPRECSELEC { get; set; } - - public int CDESGLOSAI2 { get; set; } - - [Required] - [StringLength(20)] - public string CSEGCONTPRODUCTO4 { get; set; } - - [Required] - [StringLength(20)] - public string CSEGCONTPRODUCTO5 { get; set; } - - [Required] - [StringLength(20)] - public string CSEGCONTPRODUCTO6 { get; set; } - - [Required] - [StringLength(20)] - public string CSEGCONTPRODUCTO7 { get; set; } - - [Required] - [StringLength(150)] - public string CCTAPRED { get; set; } - - public int CNODESCOMP { get; set; } - - public int CIDUNIXML { get; set; } - - [Required] - [StringLength(8)] - public string CCLAVESAT { get; set; } - - public double CCANTIDADFISCAL { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admProductosDetalles.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admProductosDetalles.cs deleted file mode 100644 index 6b5c9fd9..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admProductosDetalles.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admProductosDetalles - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDPRODUCTO { get; set; } - - public int CTIPOPRODUCTO { get; set; } - - public int CIDPRODUCTOPADRE { get; set; } - - public int CIDVALORCARACTERISTICA1 { get; set; } - - public int CIDVALORCARACTERISTICA2 { get; set; } - - public int CIDVALORCARACTERISTICA3 { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admProductosFotos.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admProductosFotos.cs deleted file mode 100644 index c278ded9..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admProductosFotos.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admProductosFotos - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDFOTOPRODUCTO { get; set; } - - [Required] - [StringLength(40)] - public string CNOMBREFOTOPRODUCTO { get; set; } - - [Column(TypeName = "text")] - public string CFOTOPRODUCTO { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admPromociones.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admPromociones.cs deleted file mode 100644 index 8d1ed3a2..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admPromociones.cs +++ /dev/null @@ -1,87 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admPromociones - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDPROMOCION { get; set; } - - [Required] - [StringLength(30)] - public string CCODIGOPROMOCION { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBREPROMOCION { get; set; } - - public DateTime CFECHAINICIO { get; set; } - - public DateTime CFECHAFIN { get; set; } - - public double CVOLUMENMINIMO { get; set; } - - public double CVOLUMENMAXIMO { get; set; } - - public double CPORCENTAJEDESCUENTO { get; set; } - - public int CIDVALORCLASIFCLIENTE1 { get; set; } - - public int CIDVALORCLASIFCLIENTE2 { get; set; } - - public int CIDVALORCLASIFCLIENTE3 { get; set; } - - public int CIDVALORCLASIFCLIENTE4 { get; set; } - - public int CIDVALORCLASIFCLIENTE5 { get; set; } - - public int CIDVALORCLASIFCLIENTE6 { get; set; } - - public int CIDVALORCLASIFPRODUCTO1 { get; set; } - - public int CIDVALORCLASIFPRODUCTO2 { get; set; } - - public int CIDVALORCLASIFPRODUCTO3 { get; set; } - - public int CIDVALORCLASIFPRODUCTO4 { get; set; } - - public int CIDVALORCLASIFPRODUCTO5 { get; set; } - - public int CIDVALORCLASIFPRODUCTO6 { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - - public int CTIPOPROMO { get; set; } - - public int CIDCPTODOC { get; set; } - - public int CSUBTIPO { get; set; } - - [Required] - [StringLength(4)] - public string CHORAINI { get; set; } - - [Required] - [StringLength(4)] - public string CHORAFIN { get; set; } - - public int CTIPOPRO { get; set; } - - public int CVALA { get; set; } - - public int CVALB { get; set; } - - public int CDIAS { get; set; } - - public DateTime CFECHAALTA { get; set; } - - public int CSTATUS { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admProyectos.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admProyectos.cs deleted file mode 100644 index 3ccf4228..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admProyectos.cs +++ /dev/null @@ -1,87 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admProyectos - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDPROYECTO { get; set; } - - [Required] - [StringLength(30)] - public string CCODIGOPROYECTO { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBREPROYECTO { get; set; } - - public DateTime CFECHAALTA { get; set; } - - public DateTime CFECHABAJA { get; set; } - - public int CESTATUS { get; set; } - - public int CIDVALORCLASIFICACION1 { get; set; } - - public int CIDVALORCLASIFICACION2 { get; set; } - - public int CIDVALORCLASIFICACION3 { get; set; } - - public int CIDVALORCLASIFICACION4 { get; set; } - - public int CIDVALORCLASIFICACION5 { get; set; } - - public int CIDVALORCLASIFICACION6 { get; set; } - - public double CIMPORTE1 { get; set; } - - public double CIMPORTE2 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONT1 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONT2 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONT3 { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA1 { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA2 { get; set; } - - [Required] - [StringLength(50)] - public string CTEXTOEXTRA3 { get; set; } - - public DateTime CFECHAEXTRA { get; set; } - - public double CIMPORTEEXTRA1 { get; set; } - - public double CIMPORTEEXTRA2 { get; set; } - - public double CIMPORTEEXTRA3 { get; set; } - - public double CIMPORTEEXTRA4 { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - - public int CTIPOCATALOGO { get; set; } - - public int CIDCATALOGO { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admSATSegmentos.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admSATSegmentos.cs deleted file mode 100644 index 67721f0d..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admSATSegmentos.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admSATSegmentos - { - [Key] - [StringLength(10)] - public string CCLAVE { get; set; } - - [Required] - [StringLength(152)] - public string CDESCRIPCION { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONT1 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONT2 { get; set; } - - [Required] - [StringLength(50)] - public string CSEGCONT3 { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admTiposCambio.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admTiposCambio.cs deleted file mode 100644 index 2f898c26..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admTiposCambio.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("admTiposCambio")] - public partial class admTiposCambio - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDTIPOCAMBIO { get; set; } - - public int CIDMONEDA { get; set; } - - public DateTime CFECHA { get; set; } - - public double CIMPORTE { get; set; } - - [Required] - [StringLength(23)] - public string CTIMESTAMP { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admUnidadesMedidaPeso.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admUnidadesMedidaPeso.cs deleted file mode 100644 index 1972f754..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admUnidadesMedidaPeso.cs +++ /dev/null @@ -1,36 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("admUnidadesMedidaPeso")] - public partial class admUnidadesMedidaPeso - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDUNIDAD { get; set; } - - [Required] - [StringLength(60)] - public string CNOMBREUNIDAD { get; set; } - - [Required] - [StringLength(3)] - public string CABREVIATURA { get; set; } - - [Required] - [StringLength(3)] - public string CDESPLIEGUE { get; set; } - - [Required] - [StringLength(3)] - public string CCLAVEINT { get; set; } - - [Required] - [StringLength(3)] - public string CCLAVESAT { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admVistasCampos.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admVistasCampos.cs deleted file mode 100644 index faa8359a..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admVistasCampos.cs +++ /dev/null @@ -1,59 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admVistasCampos - { - [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - public int CIDAUTOINCSQL { get; set; } - - [Key] - [Column(Order = 0)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDSISTEMA { get; set; } - - [Key] - [Column(Order = 1)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDIDIOMA { get; set; } - - [Key] - [Column(Order = 2)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDMODULO { get; set; } - - [Key] - [Column(Order = 3)] - [StringLength(9)] - public string CNOMBRENATIVOTABLA { get; set; } - - [Key] - [Column(Order = 4)] - [StringLength(51)] - public string CNOMBRENATIVOCAMPO { get; set; } - - [Required] - [StringLength(51)] - public string CNOMBREAMIGABLECAMPO { get; set; } - - public int CANCHOCA01 { get; set; } - - public int CCAMPOOC01 { get; set; } - - public int CCAMPOOR01 { get; set; } - - public int CTIPOCAMPO { get; set; } - - public int CCALCULADO { get; set; } - - public int CDECIMALES { get; set; } - - public int CALINEAR { get; set; } - - public int CFORMATEAR { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admVistasConsultas.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admVistasConsultas.cs deleted file mode 100644 index 96a072d7..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admVistasConsultas.cs +++ /dev/null @@ -1,50 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admVistasConsultas - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDCONSULTA { get; set; } - - public int CIDSISTEMA { get; set; } - - public int CIDIDIOMA { get; set; } - - public int CIDMODULO { get; set; } - - public int CTIPO { get; set; } - - public int CCOLUMNASOCULTAR { get; set; } - - [Required] - [StringLength(51)] - public string CNOMBRECONSULTA { get; set; } - - [Column(TypeName = "text")] - public string CSENTENCIASQL { get; set; } - - public int CIDEMPRESA { get; set; } - - [Required] - [StringLength(26)] - public string CINDICE { get; set; } - - public int CESDESIS01 { get; set; } - - [Required] - [StringLength(128)] - public string CFILTROS { get; set; } - - public int CINICIOARG { get; set; } - - public int CLIMITEARG { get; set; } - - public int CORDEN { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admVistasPorModulo.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admVistasPorModulo.cs deleted file mode 100644 index 21bb7c47..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admVistasPorModulo.cs +++ /dev/null @@ -1,38 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("admVistasPorModulo")] - public partial class admVistasPorModulo - { - [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - public int CIDAUTOINCSQL { get; set; } - - [Key] - [Column(Order = 0)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDMODULO { get; set; } - - [Key] - [Column(Order = 1)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDSISTEMA { get; set; } - - [Key] - [Column(Order = 2)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDIDIOMA { get; set; } - - [Required] - [StringLength(51)] - public string CNOMBREMODULO { get; set; } - - public int CASPECTO { get; set; } - - public int CACTUALIZA { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admVistasRecursos.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admVistasRecursos.cs deleted file mode 100644 index 59198002..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admVistasRecursos.cs +++ /dev/null @@ -1,79 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admVistasRecursos - { - [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - public int CIDAUTOINCSQL { get; set; } - - [Key] - [Column(Order = 0)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDSISTEMA { get; set; } - - [Key] - [Column(Order = 1)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDIDIOMA { get; set; } - - [Key] - [Column(Order = 2)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDMODULO { get; set; } - - [Key] - [Column(Order = 3)] - [StringLength(9)] - public string CTABLABASE { get; set; } - - [Required] - [StringLength(9)] - public string CTABLARELA { get; set; } - - [Key] - [Column(Order = 4)] - [StringLength(26)] - public string CCAMPOBASE { get; set; } - - [Required] - [StringLength(26)] - public string CCAMPOID { get; set; } - - [Required] - [StringLength(41)] - public string CTITULO0 { get; set; } - - [Required] - [StringLength(26)] - public string CCAMPO0 { get; set; } - - [Required] - [StringLength(26)] - public string CINDICE0 { get; set; } - - public int CANCHO0 { get; set; } - - [Required] - [StringLength(41)] - public string CTITULO1 { get; set; } - - [Required] - [StringLength(26)] - public string CCAMPO1 { get; set; } - - [Required] - [StringLength(26)] - public string CINDICE1 { get; set; } - - public int CANCHO1 { get; set; } - - [Required] - [StringLength(51)] - public string CRANGO { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admVistasRelaciones.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admVistasRelaciones.cs deleted file mode 100644 index 05893f67..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admVistasRelaciones.cs +++ /dev/null @@ -1,55 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admVistasRelaciones - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDRELACION { get; set; } - - public int CIDSISTEMA { get; set; } - - public int CIDIDIOMA { get; set; } - - [Required] - [StringLength(9)] - public string CNOMBRENATIVOTABLA1 { get; set; } - - [Required] - [StringLength(9)] - public string CNOMBRENATIVOTABLA2 { get; set; } - - [Required] - [StringLength(51)] - public string CNOMBRERELACION { get; set; } - - [Required] - [StringLength(127)] - public string CSENTENCIAENLACE { get; set; } - - [Required] - [StringLength(51)] - public string CCAMPONA01 { get; set; } - - [Required] - [StringLength(254)] - public string CFILTRO { get; set; } - - [Required] - [StringLength(9)] - public string CTABLAREL1 { get; set; } - - [Required] - [StringLength(9)] - public string CTABLAREL2 { get; set; } - - [Required] - [StringLength(53)] - public string CFILTROAUX { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admVistasTablas.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admVistasTablas.cs deleted file mode 100644 index e69d904a..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/admVistasTablas.cs +++ /dev/null @@ -1,44 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admVistasTablas - { - [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - public int CIDAUTOINCSQL { get; set; } - - [Key] - [Column(Order = 0)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDSISTEMA { get; set; } - - [Key] - [Column(Order = 1)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDIDIOMA { get; set; } - - [Key] - [Column(Order = 2)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDMODULO { get; set; } - - [Key] - [Column(Order = 3)] - [StringLength(9)] - public string CNOMBRENATIVOTABLA { get; set; } - - [Required] - [StringLength(51)] - public string CNOMBREAMIGABLETABLA { get; set; } - - public int CORDEN { get; set; } - - [Required] - [StringLength(128)] - public string CINDICES { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/nubeCuentas.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/nubeCuentas.cs deleted file mode 100644 index 081b874d..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/nubeCuentas.cs +++ /dev/null @@ -1,37 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class nubeCuentas - { - [Key] - [StringLength(50)] - public string CCUENTA { get; set; } - - [Required] - [StringLength(255)] - public string CNOMBRE { get; set; } - - public int CESTATUS { get; set; } - - public int CFLUJOEFECTIVO { get; set; } - - [Required] - [StringLength(3)] - public string CTIPO { get; set; } - - [Required] - [StringLength(3)] - public string CMONEDA { get; set; } - - public int CAFECTABLE { get; set; } - - [Required] - [StringLength(10)] - public string CSEGMENTO { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/nubeDiarios.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/nubeDiarios.cs deleted file mode 100644 index 26383722..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Empresa/nubeDiarios.cs +++ /dev/null @@ -1,21 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Empresa -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class nubeDiarios - { - [Key] - [StringLength(12)] - public string CCODIGO { get; set; } - - [Required] - [StringLength(255)] - public string CNOMBRE { get; set; } - - public int CTIPO { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Factories/ContpaqiComercialSqlConnectionStringFactory.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Factories/ContpaqiComercialSqlConnectionStringFactory.cs deleted file mode 100644 index 300f399e..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Factories/ContpaqiComercialSqlConnectionStringFactory.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System.Data.SqlClient; - -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Factories -{ - public class ContpaqiComercialSqlConnectionStringFactory - { - public static string CreateContpaqiComercialGeneralesConnectionString(string contpaqiConnectionString) - { - var sqlConnectionStringBuilder = new SqlConnectionStringBuilder(contpaqiConnectionString) { InitialCatalog = "CompacWAdmin" }; - return sqlConnectionStringBuilder.ConnectionString; - } - - public static string CreateContpaqiComercialEmpresaConnectionString(string contpaqiConnectionString, string empresaDatabaseName) - { - var sqlConnectionStringBuilder = - new SqlConnectionStringBuilder(contpaqiConnectionString) { InitialCatalog = empresaDatabaseName }; - return sqlConnectionStringBuilder.ConnectionString; - } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/Anexos20.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/Anexos20.cs deleted file mode 100644 index 879974ad..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/Anexos20.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class Anexos20 - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDESQUEMA { get; set; } - - public int CTIPODOCTO { get; set; } - - [Required] - [StringLength(6)] - public string CVERSION { get; set; } - - public DateTime CFECHAFIN { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/CAC00003.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/CAC00003.cs deleted file mode 100644 index 4eb9952e..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/CAC00003.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class CAC00003 - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDBITACORA { get; set; } - - [Column(TypeName = "text")] - public string CMENSAJE { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/CAC0000C.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/CAC0000C.cs deleted file mode 100644 index 9a87df93..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/CAC0000C.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class CAC0000C - { - [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - public int CIDAUTOINCSQL { get; set; } - - [Key] - [Column(Order = 0)] - [StringLength(25)] - public string TABLA { get; set; } - - [Required] - [StringLength(25)] - public string LARGO { get; set; } - - [Key] - [Column(Order = 1)] - [StringLength(10)] - public string CORTO { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/CAC0000I.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/CAC0000I.cs deleted file mode 100644 index 72e3951c..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/CAC0000I.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class CAC0000I - { - [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - public int CIDAUTOINCSQL { get; set; } - - [Key] - [Column(Order = 0)] - [StringLength(25)] - public string TABLA { get; set; } - - [Required] - [StringLength(25)] - public string LARGO { get; set; } - - [Key] - [Column(Order = 1)] - [StringLength(10)] - public string CORTO { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/CACIdiom.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/CACIdiom.cs deleted file mode 100644 index bfd5f2a9..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/CACIdiom.cs +++ /dev/null @@ -1,47 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("CACIdiom")] - public partial class CACIdiom - { - [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - public int CIDAUTOINCSQL { get; set; } - - [Key] - [Column(Order = 0)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int NUMEROSISTEMA { get; set; } - - [Key] - [Column(Order = 1)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int NUMEROIDIOMA { get; set; } - - [Required] - [StringLength(60)] - public string NOMBREIDIOMA { get; set; } - - [Required] - [StringLength(20)] - public string NOMBREDLLAPP { get; set; } - - [Required] - [StringLength(20)] - public string NOMBREDLLERR { get; set; } - - [Required] - [StringLength(25)] - public string ARCHBDD { get; set; } - - [Required] - [StringLength(25)] - public string ARCHAYUDA { get; set; } - - public int IDAYUDA { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/ContpaqiComercialGeneralesDbContext.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/ContpaqiComercialGeneralesDbContext.cs deleted file mode 100644 index 17656dc0..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/ContpaqiComercialGeneralesDbContext.cs +++ /dev/null @@ -1,517 +0,0 @@ -using System; -using System.ComponentModel.DataAnnotations.Schema; -using System.Data.Common; -using System.Data.Entity; -using System.Data.Entity.Core.Objects; -using System.Data.Entity.Infrastructure; -using System.Linq; - -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - public partial class ContpaqiComercialGeneralesDbContext : DbContext - { - public ContpaqiComercialGeneralesDbContext() - : base("name=ContpaqiComercialGeneralesDbContext") - { - } - - protected ContpaqiComercialGeneralesDbContext(DbCompiledModel model) : base(model) - { - } - - public ContpaqiComercialGeneralesDbContext(string nameOrConnectionString) : base(nameOrConnectionString) - { - } - - public ContpaqiComercialGeneralesDbContext(string nameOrConnectionString, DbCompiledModel model) : base(nameOrConnectionString, model) - { - } - - public ContpaqiComercialGeneralesDbContext(DbConnection existingConnection, bool contextOwnsConnection) : base(existingConnection, contextOwnsConnection) - { - } - - public ContpaqiComercialGeneralesDbContext(DbConnection existingConnection, DbCompiledModel model, bool contextOwnsConnection) : base(existingConnection, model, contextOwnsConnection) - { - } - - public ContpaqiComercialGeneralesDbContext(ObjectContext objectContext, bool dbContextOwnsObjectContext) : base(objectContext, dbContextOwnsObjectContext) - { - } - - public virtual DbSet admVistasCampos { get; set; } - public virtual DbSet admVistasConsultas { get; set; } - public virtual DbSet admVistasPorModulo { get; set; } - public virtual DbSet admVistasRelaciones { get; set; } - public virtual DbSet admVistasTablas { get; set; } - public virtual DbSet Anexos20 { get; set; } - public virtual DbSet CAC00003 { get; set; } - public virtual DbSet CAC0000C { get; set; } - public virtual DbSet CAC0000I { get; set; } - public virtual DbSet CACIdiom { get; set; } - public virtual DbSet ControlProcesos { get; set; } - public virtual DbSet Empresas { get; set; } - public virtual DbSet EmpresasModelo { get; set; } - public virtual DbSet Etiquetas { get; set; } - public virtual DbSet FormatosEtiquetas { get; set; } - public virtual DbSet Formulas { get; set; } - public virtual DbSet IdxAdminPAQ { get; set; } - public virtual DbSet MantenimientoBDDErrores { get; set; } - public virtual DbSet MantenimientoBDDProcesos { get; set; } - public virtual DbSet ModelosFinancieros { get; set; } - public virtual DbSet nubeEmpresas { get; set; } - public virtual DbSet SATBancos { get; set; } - public virtual DbSet SATClaveProdServ { get; set; } - public virtual DbSet SATEstaciones { get; set; } - public virtual DbSet SATFracciones { get; set; } - public virtual DbSet SATMonedas { get; set; } - public virtual DbSet SATUnidades { get; set; } - public virtual DbSet UsuariosActivos { get; set; } - public virtual DbSet UsuariosActivosBloqueos { get; set; } - public virtual DbSet MantenimientoBDDIndexTmps { get; set; } - public virtual DbSet ParametrosInicialesMto { get; set; } - - protected override void OnModelCreating(DbModelBuilder modelBuilder) - { - modelBuilder.Entity() - .Property(e => e.CNOMBRENATIVOTABLA) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CNOMBRENATIVOCAMPO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CNOMBREAMIGABLECAMPO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CNOMBRECONSULTA) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CSENTENCIASQL) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CNOMBREMODULO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CNOMBRENATIVOTABLA1) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CNOMBRENATIVOTABLA2) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CNOMBRERELACION) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CSENTENCIAENLACE) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CNOMBRENATIVOTABLA) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CNOMBREAMIGABLETABLA) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CVERSION) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CMENSAJE) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.TABLA) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.LARGO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CORTO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.TABLA) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.LARGO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CORTO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.NOMBREIDIOMA) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.NOMBREDLLAPP) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.NOMBREDLLERR) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.ARCHBDD) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.ARCHAYUDA) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.cGuidControl) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.cProcesoDescripcion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.cNombreLog) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.cEstatusProceso) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CNOMBREEMPRESA) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CRUTADATOS) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CRUTARESPALDOS) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CNOMBREEMPRESA) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CRUTAARCHIVOS) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CNOMBREETIQUETA) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CSUPLEMENTO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CFUENTENOMBREPRODUCTO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CTEXTONOMBREPRODUCTO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CFUENTEPRECIOPRODUCTO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CTEXTOPRECIOPRODUCTO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CFUENTECARACTERISTICA1) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CTEXTOCARACTERISTICA1) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CFUENTECARACTERISTICA2) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CTEXTOCARACTERISTICA2) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CFUENTECARACTERISTICA3) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CTEXTOCARACTERISTICA3) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CFUENTEIMPUESTO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CTEXTOIMPUESTO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CFUENTENUMEROLOTE) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CTEXTONUMEROLOTE) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CFUENTEFECHACADUCIDAD) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CTEXTOFECHACADUCIDAD) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CFUENTEFECHAFABRICACION) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CTEXTOFECHAFABRICACION) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CFUENTEPEDIMENTO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CTEXTOPEDIMENTO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CFUENTEADUANA) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CTEXTOADUANA) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CFUENTEFECHAPEDIMENTO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CTEXTOFECHAPEDIMENTO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CFUENTETIPOCAMBIO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CTEXTOTIPOCAMBIO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CFUENTESERIE) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CTEXTOSERIE) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CNOMBREHOJA) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CDESCRIPCION) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CNOMBRE) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CDESCRIPCIONEJEMPLO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.TABLA) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.NOMBRE) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.TIPO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.GRUPO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.DESCRIPCIO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.cGuidProceso) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.cAliasBDD) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.cDescripcionError) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.cGuidProceso) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CDESCRIPCION) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CRUTA) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CIDEMPRESA) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CEMPRESA) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CRFC) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CTIPO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CPROPIETARIO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CCLAVE) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CNOMBRE) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CDESCRIPCION) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CRFC) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CPAGINAWEB) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CCLAVE) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CDESCRIPCION) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CCLAVE) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CDESCRIPCION) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CTIPO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CNACIONALIDAD) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CEXTRA) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CCLAVE) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CUNIDAD) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CCODIGO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CNOMBRE) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CCLAVE) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CNOMBRE) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CDESCRIPCION) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CUSUARIO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CEMPRESA) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CUSUARIO) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.CEMPRESA) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.cNombreTabla) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.cNombreIndex) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.cDBTemplate) - .IsUnicode(false); - } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/ControlProcesos.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/ControlProcesos.cs deleted file mode 100644 index c9c286a4..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/ControlProcesos.cs +++ /dev/null @@ -1,34 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class ControlProcesos - { - [Key] - [StringLength(36)] - public string cGuidControl { get; set; } - - [StringLength(50)] - public string cProcesoDescripcion { get; set; } - - public int? cPorcentaje { get; set; } - - public DateTime? cFechaInicial { get; set; } - - public DateTime? cFechaFinal { get; set; } - - public int? cTotalExtraccion { get; set; } - - public int? cTotalProcesado { get; set; } - - [StringLength(50)] - public string cNombreLog { get; set; } - - [StringLength(50)] - public string cEstatusProceso { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/Empresas.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/Empresas.cs deleted file mode 100644 index 59e936fe..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/Empresas.cs +++ /dev/null @@ -1,27 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class Empresas - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDEMPRESA { get; set; } - - [Required] - [StringLength(150)] - public string CNOMBREEMPRESA { get; set; } - - [Required] - [StringLength(253)] - public string CRUTADATOS { get; set; } - - [Required] - [StringLength(253)] - public string CRUTARESPALDOS { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/EmpresasModelo.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/EmpresasModelo.cs deleted file mode 100644 index f0df22ce..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/EmpresasModelo.cs +++ /dev/null @@ -1,24 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("EmpresasModelo")] - public partial class EmpresasModelo - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDEMPRESA { get; set; } - - [Required] - [StringLength(150)] - public string CNOMBREEMPRESA { get; set; } - - [Required] - [StringLength(253)] - public string CRUTAARCHIVOS { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/Etiquetas.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/Etiquetas.cs deleted file mode 100644 index 7d57f193..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/Etiquetas.cs +++ /dev/null @@ -1,383 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class Etiquetas - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDETIQUETA { get; set; } - - [Required] - [StringLength(30)] - public string CNOMBREETIQUETA { get; set; } - - public int CIMPRIMIRCONTORNO { get; set; } - - public int CIDTIPOHOJA { get; set; } - - public int CPOSICIONCODIGOBARRASX { get; set; } - - public int CPOSICIONCODIGOBARRASY { get; set; } - - public int CFORMATOCODIGOBARRAS { get; set; } - - [Required] - [StringLength(5)] - public string CSUPLEMENTO { get; set; } - - public int CORIENTACION { get; set; } - - public int CCOLORCODIGOBARRAS { get; set; } - - public int CDENSIDADCODIGOBARRAS { get; set; } - - public int CALTURACODIGOBARRAS { get; set; } - - public int CANCHOCODIGOBARRAS { get; set; } - - public int CAPARECETEXTOCODIGO { get; set; } - - public int CAPARECENOMBREPRODUCTO { get; set; } - - public int CPOSICIONNOMBREPRODUCTOX { get; set; } - - public int CPOSICIONNOMBREPRODUCTOY { get; set; } - - [Required] - [StringLength(30)] - public string CFUENTENOMBREPRODUCTO { get; set; } - - public int CTAMNOMBREPRODUCTO { get; set; } - - public int CCOLORNOMBREPRODUCTO { get; set; } - - public int CESTILONOMBREPRODUCTO { get; set; } - - [Required] - [StringLength(30)] - public string CTEXTONOMBREPRODUCTO { get; set; } - - public int CALINEACIONNOMBREPRODUCTO { get; set; } - - public int CANCHONOMBREPRODUCTO { get; set; } - - public int CNUMLISTAPRECIOPRODUCTO { get; set; } - - public int CPOSICIONPRECIOPRODUCTOX { get; set; } - - public int CPOSICIONPRECIOPRODUCTOY { get; set; } - - [Required] - [StringLength(30)] - public string CFUENTEPRECIOPRODUCTO { get; set; } - - public int CTAMPRECIOPRODUCTO { get; set; } - - public int CCOLORPRECIOPRODUCTO { get; set; } - - public int CESTILOPRECIOPRODUCTO { get; set; } - - [Required] - [StringLength(30)] - public string CTEXTOPRECIOPRODUCTO { get; set; } - - public int CALINEACIONPRECIOPRODUCTO { get; set; } - - public int CANCHOPRECIOPRODUCTO { get; set; } - - public int CAPARECECARACTERISTICA1 { get; set; } - - public int CPOSICIONCARACTERISTICA1X { get; set; } - - public int CPOSICIONCARACTERISTICA1Y { get; set; } - - [Required] - [StringLength(30)] - public string CFUENTECARACTERISTICA1 { get; set; } - - public int CTAMCARACTERISTICA1 { get; set; } - - public int CCOLORCARACTERISTICA1 { get; set; } - - public int CESTILOCARACTERISTICA1 { get; set; } - - [Required] - [StringLength(30)] - public string CTEXTOCARACTERISTICA1 { get; set; } - - public int CALINEACIONCARACTERISTIC1 { get; set; } - - public int CANCHOCARACTERISTICA1 { get; set; } - - public int CAPARECECARACTERISTICA2 { get; set; } - - public int CPOSICIONCARACTERISTICA2X { get; set; } - - public int CPOSICIONCARACTERISTICA2Y { get; set; } - - [Required] - [StringLength(30)] - public string CFUENTECARACTERISTICA2 { get; set; } - - public int CTAMCARACTERISTICA2 { get; set; } - - public int CCOLORCARACTERISTICA2 { get; set; } - - public int CESTILOCARACTERISTICA2 { get; set; } - - [Required] - [StringLength(30)] - public string CTEXTOCARACTERISTICA2 { get; set; } - - public int CALINEACIONCARACTERISTIC2 { get; set; } - - public int CANCHOCARACTERISTICA2 { get; set; } - - public int CAPARECECARACTERISTICA3 { get; set; } - - public int CPOSICIONCARACTERISTICA3X { get; set; } - - public int CPOSICIONCARACTERISTICA3Y { get; set; } - - [Required] - [StringLength(30)] - public string CFUENTECARACTERISTICA3 { get; set; } - - public int CTAMCARACTERISTICA3 { get; set; } - - public int CCOLORCARACTERISTICA3 { get; set; } - - public int CESTILOCARACTERISTICA3 { get; set; } - - [Required] - [StringLength(30)] - public string CTEXTOCARACTERISTICA3 { get; set; } - - public int CALINEACIONCARACTERISTIC3 { get; set; } - - public int CANCHOCARACTERISTICA3 { get; set; } - - public int CNUMIMPUESTORETENCION { get; set; } - - public int CPOSICIONIMPUESTOX { get; set; } - - public int CPOSICIONIMPUESTOY { get; set; } - - [Required] - [StringLength(30)] - public string CFUENTEIMPUESTO { get; set; } - - public int CTAMIMPUESTO { get; set; } - - public int CCOLORIMPUESTO { get; set; } - - public int CESTILOIMPUESTO { get; set; } - - [Required] - [StringLength(30)] - public string CTEXTOIMPUESTO { get; set; } - - public int CALINEACIONIMPUESTO { get; set; } - - public int CANCHOIMPUESTO { get; set; } - - public int CAPARECENUMEROLOTE { get; set; } - - public int CPOSICIONNUMEROLOTEX { get; set; } - - public int CPOSICIONNUMEROLOTEY { get; set; } - - [Required] - [StringLength(30)] - public string CFUENTENUMEROLOTE { get; set; } - - public int CTAMNUMEROLOTE { get; set; } - - public int CCOLORNUMEROLOTE { get; set; } - - public int CESTILONUMEROLOTE { get; set; } - - [Required] - [StringLength(30)] - public string CTEXTONUMEROLOTE { get; set; } - - public int CALINEACIONNUMEROLOTE { get; set; } - - public int CANCHONUMEROLOTE { get; set; } - - public int CAPARECEFECHACADUCIDAD { get; set; } - - public int CPOSICIONFECHACADUCIDADX { get; set; } - - public int CPOSICIONFECHACADUCIDADY { get; set; } - - [Required] - [StringLength(30)] - public string CFUENTEFECHACADUCIDAD { get; set; } - - public int CTAMFECHACADUCIDAD { get; set; } - - public int CCOLORFECHACADUCIDAD { get; set; } - - public int CESTILOFECHACADUCIDAD { get; set; } - - [Required] - [StringLength(30)] - public string CTEXTOFECHACADUCIDAD { get; set; } - - public int CALINEACIONFECHACADUCIDAD { get; set; } - - public int CANCHOFECHACADUCIDAD { get; set; } - - public int CAPARECEFECHAFABRICACION { get; set; } - - public int CPOSICIONFECHAFABRICACIOX { get; set; } - - public int CPOSICIONFECHAFABRICACIOY { get; set; } - - [Required] - [StringLength(30)] - public string CFUENTEFECHAFABRICACION { get; set; } - - public int CTAMFECHAFABRICACION { get; set; } - - public int CCOLORFECHAFABRICACION { get; set; } - - public int CESTILOFECHAFABRICACION { get; set; } - - [Required] - [StringLength(30)] - public string CTEXTOFECHAFABRICACION { get; set; } - - public int CALINEACIONFECHAFABRICAC { get; set; } - - public int CANCHOFECHAFABRICACION { get; set; } - - public int CAPARECEPEDIMENTO { get; set; } - - public int CPOSICIONPEDIMENTOX { get; set; } - - public int CPOSICIONPEDIMENTOY { get; set; } - - [Required] - [StringLength(30)] - public string CFUENTEPEDIMENTO { get; set; } - - public int CTAMPEDIMENTO { get; set; } - - public int CCOLORPEDIMENTO { get; set; } - - public int CESTILOPEDIMENTO { get; set; } - - [Required] - [StringLength(30)] - public string CTEXTOPEDIMENTO { get; set; } - - public int CALINEACIONPEDIMENTO { get; set; } - - public int CANCHOPEDIMENTO { get; set; } - - public int CAPARECEADUANA { get; set; } - - public int CPOSICIONADUANAX { get; set; } - - public int CPOSICIONADUANAY { get; set; } - - [Required] - [StringLength(30)] - public string CFUENTEADUANA { get; set; } - - public int CTAMADUANA { get; set; } - - public int CCOLORADUANA { get; set; } - - public int CESTILOADUANA { get; set; } - - [Required] - [StringLength(30)] - public string CTEXTOADUANA { get; set; } - - public int CALINEACIONADUANA { get; set; } - - public int CANCHOADUANA { get; set; } - - public int CAPARECEFECHAPEDIMENTO { get; set; } - - public int CPOSICIONFECHAPEDIMENTOX { get; set; } - - public int CPOSICIONFECHAPEDIMENTOY { get; set; } - - [Required] - [StringLength(30)] - public string CFUENTEFECHAPEDIMENTO { get; set; } - - public int CTAMFECHAPEDIMENTO { get; set; } - - public int CCOLORFECHAPEDIMENTO { get; set; } - - public int CESTILOFECHAPEDIMENTO { get; set; } - - [Required] - [StringLength(30)] - public string CTEXTOFECHAPEDIMENTO { get; set; } - - public int CALINEACIONFECHAPEDIMENTO { get; set; } - - public int CANCHOFECHAPEDIMENTO { get; set; } - - public int CAPARECETIPOCAMBIO { get; set; } - - public int CPOSICIONTIPOCAMBIOX { get; set; } - - public int CPOSICIONTIPOCAMBIOY { get; set; } - - [Required] - [StringLength(30)] - public string CFUENTETIPOCAMBIO { get; set; } - - public int CTAMTIPOCAMBIO { get; set; } - - public int CCOLORTIPOCAMBIO { get; set; } - - public int CESTILOTIPOCAMBIO { get; set; } - - [Required] - [StringLength(30)] - public string CTEXTOTIPOCAMBIO { get; set; } - - public int CALINEACIONTIPOCAMBIO { get; set; } - - public int CANCHOTIPOCAMBIO { get; set; } - - public int CAPARECESERIE { get; set; } - - public int CPOSICIONSERIEX { get; set; } - - public int CPOSICIONSERIEY { get; set; } - - [Required] - [StringLength(30)] - public string CFUENTESERIE { get; set; } - - public int CTAMSERIE { get; set; } - - public int CCOLORSERIE { get; set; } - - public int CESTILOSERIE { get; set; } - - [Required] - [StringLength(30)] - public string CTEXTOSERIE { get; set; } - - public int CALINEACIONSERIE { get; set; } - - public int CANCHOSERIE { get; set; } - - public int CINCIVA { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/FormatosEtiquetas.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/FormatosEtiquetas.cs deleted file mode 100644 index 3b0338ea..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/FormatosEtiquetas.cs +++ /dev/null @@ -1,35 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class FormatosEtiquetas - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDTIPOHOJA { get; set; } - - [Required] - [StringLength(30)] - public string CNOMBREHOJA { get; set; } - - public double CLARGOPAPEL { get; set; } - - public double CANCHOPAPEL { get; set; } - - public double CMARGENIZQUIERDO { get; set; } - - public double CMARGENDERECHO { get; set; } - - public double CMARGENINFERIOR { get; set; } - - public double CMARGENSUPERIOR { get; set; } - - public int CNUMETIQUETAS { get; set; } - - public int CNUMRENGLONES { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/Formulas.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/Formulas.cs deleted file mode 100644 index 07ca5f46..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/Formulas.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class Formulas - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDFORMULA { get; set; } - - [Required] - [StringLength(150)] - public string CDESCRIPCION { get; set; } - - [Required] - [StringLength(50)] - public string CNOMBRE { get; set; } - - public int CAGRUPADOR { get; set; } - - [Column(TypeName = "text")] - public string CDESCRIPCIONEJEMPLO { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/IdxAdminPAQ.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/IdxAdminPAQ.cs deleted file mode 100644 index e94d02aa..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/IdxAdminPAQ.cs +++ /dev/null @@ -1,45 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("IdxAdminPAQ")] - public partial class IdxAdminPAQ - { - [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - public int CIDAUTOINCSQL { get; set; } - - [Key] - [Column(Order = 0)] - [StringLength(25)] - public string TABLA { get; set; } - - [Key] - [Column(Order = 1)] - [StringLength(50)] - public string NOMBRE { get; set; } - - [Key] - [Column(Order = 2)] - [StringLength(1)] - public string TIPO { get; set; } - - [Key] - [Column(Order = 3)] - [StringLength(1)] - public string GRUPO { get; set; } - - [Required] - [StringLength(253)] - public string DESCRIPCIO { get; set; } - - public byte CASE { get; set; } - - public byte UNIQUE { get; set; } - - public byte DESCENDING { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/MantenimientoBDDErrores.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/MantenimientoBDDErrores.cs deleted file mode 100644 index fdcb3d56..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/MantenimientoBDDErrores.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class MantenimientoBDDErrores - { - [Key] - [StringLength(36)] - public string cGuidProceso { get; set; } - - [Required] - [StringLength(150)] - public string cAliasBDD { get; set; } - - [StringLength(50)] - public string cDescripcionError { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/MantenimientoBDDIndexTmps.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/MantenimientoBDDIndexTmps.cs deleted file mode 100644 index 16ba220e..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/MantenimientoBDDIndexTmps.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class MantenimientoBDDIndexTmps - { - [Key] - [Column(Order = 0)] - [StringLength(50)] - public string cNombreTabla { get; set; } - - [Key] - [Column(Order = 1)] - [StringLength(50)] - public string cNombreIndex { get; set; } - - public int? cPorcentajeFragmentacion { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/MantenimientoBDDProcesos.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/MantenimientoBDDProcesos.cs deleted file mode 100644 index 9c0a6dfc..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/MantenimientoBDDProcesos.cs +++ /dev/null @@ -1,27 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class MantenimientoBDDProcesos - { - [Key] - [StringLength(36)] - public string cGuidProceso { get; set; } - - public DateTime? cFechaInicial { get; set; } - - public DateTime? cFechaFinal { get; set; } - - public int? cLogsEliminados { get; set; } - - public int? cIndicesReorganizados { get; set; } - - public int? cIndicesReconstruidos { get; set; } - - public int? cUpdStatix { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/ModelosFinancieros.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/ModelosFinancieros.cs deleted file mode 100644 index d5d8a461..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/ModelosFinancieros.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class ModelosFinancieros - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDMODELO { get; set; } - - public int CIDSISTEMA { get; set; } - - [Required] - [StringLength(60)] - public string CDESCRIPCION { get; set; } - - [Required] - [StringLength(253)] - public string CRUTA { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/ParametrosInicialesMto.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/ParametrosInicialesMto.cs deleted file mode 100644 index 64d976e4..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/ParametrosInicialesMto.cs +++ /dev/null @@ -1,30 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("ParametrosInicialesMto")] - public partial class ParametrosInicialesMto - { - [Key] - [StringLength(50)] - public string cDBTemplate { get; set; } - - public int? cLogSize { get; set; } - - public int? cLogLevel1 { get; set; } - - public int? cLogLevel2 { get; set; } - - public int? cLogLevel3 { get; set; } - - public int? cIdxLevel1 { get; set; } - - public int? cIdxLevel2 { get; set; } - - public int? cIdxLevel3 { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/SATBancos.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/SATBancos.cs deleted file mode 100644 index 7d8d549c..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/SATBancos.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class SATBancos - { - [Key] - [StringLength(3)] - public string CCLAVE { get; set; } - - [Required] - [StringLength(40)] - public string CNOMBRE { get; set; } - - [Required] - [StringLength(150)] - public string CDESCRIPCION { get; set; } - - [Required] - [StringLength(20)] - public string CRFC { get; set; } - - [Required] - [StringLength(250)] - public string CPAGINAWEB { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/SATClaveProdServ.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/SATClaveProdServ.cs deleted file mode 100644 index 9ad3ec77..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/SATClaveProdServ.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("SATClaveProdServ")] - public partial class SATClaveProdServ - { - [Key] - [StringLength(10)] - public string CCLAVE { get; set; } - - [Required] - [StringLength(152)] - public string CDESCRIPCION { get; set; } - - public int CESTATUS { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/SATEstaciones.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/SATEstaciones.cs deleted file mode 100644 index 5ce8517b..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/SATEstaciones.cs +++ /dev/null @@ -1,33 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class SATEstaciones - { - [Key] - [Column(Order = 0)] - [StringLength(16)] - public string CCLAVE { get; set; } - - [Required] - [StringLength(100)] - public string CDESCRIPCION { get; set; } - - [Key] - [Column(Order = 1)] - [StringLength(2)] - public string CTIPO { get; set; } - - [Required] - [StringLength(30)] - public string CNACIONALIDAD { get; set; } - - [Required] - [StringLength(20)] - public string CEXTRA { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/SATFracciones.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/SATFracciones.cs deleted file mode 100644 index dd57ed78..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/SATFracciones.cs +++ /dev/null @@ -1,19 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class SATFracciones - { - [Key] - [StringLength(10)] - public string CCLAVE { get; set; } - - [Required] - [StringLength(3)] - public string CUNIDAD { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/SATMonedas.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/SATMonedas.cs deleted file mode 100644 index bf3bfe3f..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/SATMonedas.cs +++ /dev/null @@ -1,21 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class SATMonedas - { - [Key] - [StringLength(3)] - public string CCODIGO { get; set; } - - [Required] - [StringLength(100)] - public string CNOMBRE { get; set; } - - public int CDECIMALES { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/SATUnidades.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/SATUnidades.cs deleted file mode 100644 index acb9eb47..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/SATUnidades.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class SATUnidades - { - [Key] - [StringLength(3)] - public string CCLAVE { get; set; } - - [Required] - [StringLength(100)] - public string CNOMBRE { get; set; } - - [Required] - [StringLength(512)] - public string CDESCRIPCION { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/UsuariosActivos.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/UsuariosActivos.cs deleted file mode 100644 index 06a2259d..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/UsuariosActivos.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class UsuariosActivos - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDUSUARIO { get; set; } - - [Required] - [StringLength(30)] - public string CUSUARIO { get; set; } - - [Required] - [StringLength(150)] - public string CEMPRESA { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/UsuariosActivosBloqueos.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/UsuariosActivosBloqueos.cs deleted file mode 100644 index ad420cea..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/UsuariosActivosBloqueos.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class UsuariosActivosBloqueos - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDUSUARIO { get; set; } - - [Required] - [StringLength(30)] - public string CUSUARIO { get; set; } - - [Required] - [StringLength(150)] - public string CEMPRESA { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/admVistasCampos.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/admVistasCampos.cs deleted file mode 100644 index 7e318d79..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/admVistasCampos.cs +++ /dev/null @@ -1,59 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admVistasCampos - { - [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - public int CIDAUTOINCSQL { get; set; } - - [Key] - [Column(Order = 0)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDSISTEMA { get; set; } - - [Key] - [Column(Order = 1)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDIDIOMA { get; set; } - - [Key] - [Column(Order = 2)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDMODULO { get; set; } - - [Key] - [Column(Order = 3)] - [StringLength(9)] - public string CNOMBRENATIVOTABLA { get; set; } - - [Key] - [Column(Order = 4)] - [StringLength(51)] - public string CNOMBRENATIVOCAMPO { get; set; } - - [Required] - [StringLength(51)] - public string CNOMBREAMIGABLECAMPO { get; set; } - - public int CANCHOCA01 { get; set; } - - public int CCAMPOOC01 { get; set; } - - public int CCAMPOOR01 { get; set; } - - public int CTIPOCAMPO { get; set; } - - public int CCALCULADO { get; set; } - - public int CDECIMALES { get; set; } - - public int CALINEAR { get; set; } - - public int CFORMATEAR { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/admVistasConsultas.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/admVistasConsultas.cs deleted file mode 100644 index 7d64b7d4..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/admVistasConsultas.cs +++ /dev/null @@ -1,32 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admVistasConsultas - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDCONSULTA { get; set; } - - public int CIDSISTEMA { get; set; } - - public int CIDIDIOMA { get; set; } - - public int CIDMODULO { get; set; } - - public int CTIPO { get; set; } - - public int CCOLUMNASOCULTAR { get; set; } - - [Required] - [StringLength(51)] - public string CNOMBRECONSULTA { get; set; } - - [Column(TypeName = "text")] - public string CSENTENCIASQL { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/admVistasPorModulo.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/admVistasPorModulo.cs deleted file mode 100644 index 2f94362e..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/admVistasPorModulo.cs +++ /dev/null @@ -1,34 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("admVistasPorModulo")] - public partial class admVistasPorModulo - { - [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - public int CIDAUTOINCSQL { get; set; } - - [Key] - [Column(Order = 0)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDMODULO { get; set; } - - [Key] - [Column(Order = 1)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDSISTEMA { get; set; } - - [Key] - [Column(Order = 2)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDIDIOMA { get; set; } - - [Required] - [StringLength(51)] - public string CNOMBREMODULO { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/admVistasRelaciones.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/admVistasRelaciones.cs deleted file mode 100644 index a3c1e0ff..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/admVistasRelaciones.cs +++ /dev/null @@ -1,35 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admVistasRelaciones - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDRELACION { get; set; } - - public int CIDSISTEMA { get; set; } - - public int CINDICEIDIOMA { get; set; } - - [Required] - [StringLength(9)] - public string CNOMBRENATIVOTABLA1 { get; set; } - - [Required] - [StringLength(9)] - public string CNOMBRENATIVOTABLA2 { get; set; } - - [Required] - [StringLength(51)] - public string CNOMBRERELACION { get; set; } - - [Required] - [StringLength(201)] - public string CSENTENCIAENLACE { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/admVistasTablas.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/admVistasTablas.cs deleted file mode 100644 index 52e7d887..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/admVistasTablas.cs +++ /dev/null @@ -1,38 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class admVistasTablas - { - [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - public int CIDAUTOINCSQL { get; set; } - - [Key] - [Column(Order = 0)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDSISTEMA { get; set; } - - [Key] - [Column(Order = 1)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDIDIOMA { get; set; } - - [Key] - [Column(Order = 2)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int CIDMODULO { get; set; } - - [Key] - [Column(Order = 3)] - [StringLength(9)] - public string CNOMBRENATIVOTABLA { get; set; } - - [Required] - [StringLength(51)] - public string CNOMBREAMIGABLETABLA { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/nubeEmpresas.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/nubeEmpresas.cs deleted file mode 100644 index 01f1a051..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Generales/nubeEmpresas.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace ARSoftware.Contpaqi.Comercial.Sql.EF6.Generales -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class nubeEmpresas - { - [Key] - [StringLength(253)] - public string CIDEMPRESA { get; set; } - - [Required] - [StringLength(253)] - public string CEMPRESA { get; set; } - - [Required] - [StringLength(20)] - public string CRFC { get; set; } - - [Required] - [StringLength(20)] - public string CTIPO { get; set; } - - [Required] - [StringLength(150)] - public string CPROPIETARIO { get; set; } - } -} diff --git a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Properties/AssemblyInfo.cs b/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Properties/AssemblyInfo.cs deleted file mode 100644 index 0b153747..00000000 --- a/src/ARSoftware.Contpaqi.Comercial.Sql.EF6/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("ARSoftware.Contpaqi.Comercial.Sql.EF6")] -[assembly: AssemblyDescription("Modelo de las bases de datos de CONTPAQi Comercial version 7.4.1")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("AR Software")] -[assembly: AssemblyProduct("ARSoftware.Contpaqi.Comercial.Sql.EF6")] -[assembly: AssemblyCopyright("Copyright © AR Software 2022")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("064993d8-a9fc-4c64-8b21-0f66fff85104")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] From fa65e8ebced55327b50d76d8b1466295e067b6ed Mon Sep 17 00:00:00 2001 From: Andres Ramos Date: Sun, 9 Apr 2023 15:25:23 -0500 Subject: [PATCH 12/14] refactor: bumps CommunityToolkit.Mvvm from 8.0.0 to 8.1.0 --- samples/Sdk.Extras.WpfApp/Sdk.Extras.WpfApp.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/Sdk.Extras.WpfApp/Sdk.Extras.WpfApp.csproj b/samples/Sdk.Extras.WpfApp/Sdk.Extras.WpfApp.csproj index b1d8cfc3..205f8607 100644 --- a/samples/Sdk.Extras.WpfApp/Sdk.Extras.WpfApp.csproj +++ b/samples/Sdk.Extras.WpfApp/Sdk.Extras.WpfApp.csproj @@ -40,7 +40,7 @@ - + From 45b6b8fe43011a7480db54a9d9e85f13f0615569 Mon Sep 17 00:00:00 2001 From: Andres Ramos Date: Sun, 9 Apr 2023 15:26:45 -0500 Subject: [PATCH 13/14] bump Microsoft.Extensions.Hosting from 7.0.0 to 7.0.1 --- samples/Sdk.ConsoleApp/Sdk.ConsoleApp.csproj | 2 +- samples/Sdk.Extras.ConsoleApp/Sdk.Extras.ConsoleApp.csproj | 2 +- samples/Sdk.Extras.WpfApp/Sdk.Extras.WpfApp.csproj | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/Sdk.ConsoleApp/Sdk.ConsoleApp.csproj b/samples/Sdk.ConsoleApp/Sdk.ConsoleApp.csproj index 0f8ee095..699d9a66 100644 --- a/samples/Sdk.ConsoleApp/Sdk.ConsoleApp.csproj +++ b/samples/Sdk.ConsoleApp/Sdk.ConsoleApp.csproj @@ -8,7 +8,7 @@ - + diff --git a/samples/Sdk.Extras.ConsoleApp/Sdk.Extras.ConsoleApp.csproj b/samples/Sdk.Extras.ConsoleApp/Sdk.Extras.ConsoleApp.csproj index 32e0d4c2..3a78ceaf 100644 --- a/samples/Sdk.Extras.ConsoleApp/Sdk.Extras.ConsoleApp.csproj +++ b/samples/Sdk.Extras.ConsoleApp/Sdk.Extras.ConsoleApp.csproj @@ -9,7 +9,7 @@ - + diff --git a/samples/Sdk.Extras.WpfApp/Sdk.Extras.WpfApp.csproj b/samples/Sdk.Extras.WpfApp/Sdk.Extras.WpfApp.csproj index 205f8607..5b87ae51 100644 --- a/samples/Sdk.Extras.WpfApp/Sdk.Extras.WpfApp.csproj +++ b/samples/Sdk.Extras.WpfApp/Sdk.Extras.WpfApp.csproj @@ -42,7 +42,7 @@ - + From d0fb14f435b179f69bf1f68896be5e1b5418aee5 Mon Sep 17 00:00:00 2001 From: Andres Ramos Date: Sun, 9 Apr 2023 15:30:42 -0500 Subject: [PATCH 14/14] updates Microsoft.Extensions.Hosting to 7.0.1 in Sql.Console --- samples/Sql.ConsoleApp/Sql.ConsoleApp.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/Sql.ConsoleApp/Sql.ConsoleApp.csproj b/samples/Sql.ConsoleApp/Sql.ConsoleApp.csproj index 6e4655f8..42570b45 100644 --- a/samples/Sql.ConsoleApp/Sql.ConsoleApp.csproj +++ b/samples/Sql.ConsoleApp/Sql.ConsoleApp.csproj @@ -8,7 +8,7 @@ - +