예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Товары EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToТовары(Товары товары)
 {
     base.AddObject("Товары", товары);
 }
예제 #2
0
 /// <summary>
 /// Create a new Товары object.
 /// </summary>
 /// <param name="id_товара">Initial value of the id_товара property.</param>
 /// <param name="наименование">Initial value of the Наименование property.</param>
 /// <param name="цена">Initial value of the Цена property.</param>
 public static Товары CreateТовары(global::System.Int32 id_товара, global::System.String наименование, global::System.Double цена)
 {
     Товары товары = new Товары();
     товары.id_товара = id_товара;
     товары.Наименование = наименование;
     товары.Цена = цена;
     return товары;
 }