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