コード例 #1
0
ファイル: Model1.Designer.cs プロジェクト: sametson/Test
 /// <summary>
 /// Deprecated Method for adding a new object to the Birim EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBirim(Birim birim)
 {
     base.AddObject("Birim", birim);
 }
コード例 #2
0
ファイル: Model1.Designer.cs プロジェクト: sametson/Test
 /// <summary>
 /// Create a new Birim object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="adi">Initial value of the Adi property.</param>
 public static Birim CreateBirim(global::System.Int32 id, global::System.String adi)
 {
     Birim birim = new Birim();
     birim.Id = id;
     birim.Adi = adi;
     return birim;
 }