コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Producto EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProducto(Producto producto)
 {
     base.AddObject("Producto", producto);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Producto object.
 /// </summary>
 /// <param name="idProducto">Initial value of the IdProducto property.</param>
 /// <param name="nombre">Initial value of the Nombre property.</param>
 /// <param name="estado">Initial value of the Estado property.</param>
 public static Producto CreateProducto(global::System.Int32 idProducto, global::System.String nombre, global::System.String estado)
 {
     Producto producto = new Producto();
     producto.IdProducto = idProducto;
     producto.Nombre = nombre;
     producto.Estado = estado;
     return producto;
 }