コード例 #1
0
ファイル: Model.Designer.cs プロジェクト: dianaoprean/Zimbor
 /// <summary>
 /// Deprecated Method for adding a new object to the TipProdus EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTipProdus(TipProdu tipProdu)
 {
     base.AddObject("TipProdus", tipProdu);
 }
コード例 #2
0
ファイル: Model.Designer.cs プロジェクト: dianaoprean/Zimbor
 /// <summary>
 /// Create a new TipProdu object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="nume">Initial value of the Nume property.</param>
 public static TipProdu CreateTipProdu(global::System.Int32 id, global::System.String nume)
 {
     TipProdu tipProdu = new TipProdu();
     tipProdu.ID = id;
     tipProdu.Nume = nume;
     return tipProdu;
 }