コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Provinces EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProvinces(Province province)
 {
     base.AddObject("Provinces", province);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Province object.
 /// </summary>
 /// <param name="provinceID">Initial value of the provinceID property.</param>
 /// <param name="province1">Initial value of the province1 property.</param>
 public static Province CreateProvince(global::System.Int32 provinceID, global::System.String province1)
 {
     Province province = new Province();
     province.provinceID = provinceID;
     province.province1 = province1;
     return province;
 }