コード例 #1
0
 /// <summary>
 /// Método desusado para agregar un nuevo objeto al EntitySet NotaDebitoDet. Considere la posibilidad de usar el método .Add de la propiedad ObjectSet&lt;T&gt; asociada.
 /// </summary>
 public void AddToNotaDebitoDet(NotaDebitoDet notaDebitoDet)
 {
     base.AddObject("NotaDebitoDet", notaDebitoDet);
 }
コード例 #2
0
 /// <summary>
 /// Crear un nuevo objeto NotaDebitoDet.
 /// </summary>
 /// <param name="numero">Valor inicial de la propiedad Numero.</param>
 /// <param name="idEmpresa">Valor inicial de la propiedad idEmpresa.</param>
 /// <param name="linea">Valor inicial de la propiedad Linea.</param>
 /// <param name="idArticulo">Valor inicial de la propiedad idArticulo.</param>
 /// <param name="cantidad">Valor inicial de la propiedad Cantidad.</param>
 public static NotaDebitoDet CreateNotaDebitoDet(global::System.Int32 numero, global::System.Int32 idEmpresa, global::System.Int32 linea, global::System.Int32 idArticulo, global::System.Int32 cantidad)
 {
     NotaDebitoDet notaDebitoDet = new NotaDebitoDet();
     notaDebitoDet.Numero = numero;
     notaDebitoDet.idEmpresa = idEmpresa;
     notaDebitoDet.Linea = linea;
     notaDebitoDet.idArticulo = idArticulo;
     notaDebitoDet.Cantidad = cantidad;
     return notaDebitoDet;
 }