Ejemplo n.º 1
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>
 /// <param name="строение">Initial value of the Строение 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.String лошадиные_силы, global::System.String строение, global::System.String тип_топлива, global::System.String тип_двигателя)
 {
     Двигатели двигатели = new Двигатели();
     двигатели.id_товара = id_товара;
     двигатели.Объем = объем;
     двигатели.Лошадиные_силы = лошадиные_силы;
     двигатели.Строение = строение;
     двигатели.Тип_топлива = тип_топлива;
     двигатели.Тип_двигателя = тип_двигателя;
     return двигатели;
 }
Ejemplo n.º 2
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("Двигатели", двигатели);
 }