/// <summary>
 /// Método desusado para agregar un nuevo objeto al EntitySet NotaDebito. Considere la posibilidad de usar el método .Add de la propiedad ObjectSet&lt;T&gt; asociada.
 /// </summary>
 public void AddToNotaDebito(NotaDebito notaDebito)
 {
     base.AddObject("NotaDebito", notaDebito);
 }
 /// <summary>
 /// Crear un nuevo objeto NotaDebito.
 /// </summary>
 /// <param name="numero">Valor inicial de la propiedad Numero.</param>
 /// <param name="idEmpresa">Valor inicial de la propiedad idEmpresa.</param>
 /// <param name="numeroDevolucionCompra">Valor inicial de la propiedad NumeroDevolucionCompra.</param>
 /// <param name="fecha">Valor inicial de la propiedad Fecha.</param>
 /// <param name="fechaModificacion">Valor inicial de la propiedad FechaModificacion.</param>
 /// <param name="subTotal">Valor inicial de la propiedad SubTotal.</param>
 /// <param name="descuento">Valor inicial de la propiedad Descuento.</param>
 /// <param name="idEstado">Valor inicial de la propiedad idEstado.</param>
 public static NotaDebito CreateNotaDebito(global::System.Int32 numero, global::System.Int32 idEmpresa, global::System.Int32 numeroDevolucionCompra, global::System.DateTime fecha, global::System.DateTime fechaModificacion, global::System.Int32 subTotal, global::System.Int32 descuento, global::System.Int32 idEstado)
 {
     NotaDebito notaDebito = new NotaDebito();
     notaDebito.Numero = numero;
     notaDebito.idEmpresa = idEmpresa;
     notaDebito.NumeroDevolucionCompra = numeroDevolucionCompra;
     notaDebito.Fecha = fecha;
     notaDebito.FechaModificacion = fechaModificacion;
     notaDebito.SubTotal = subTotal;
     notaDebito.Descuento = descuento;
     notaDebito.idEstado = idEstado;
     return notaDebito;
 }