예제 #1
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);
 }
예제 #2
0
 /// <summary>
 /// Create a new District object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="displayName">Initial value of the DisplayName property.</param>
 /// <param name="order">Initial value of the Order property.</param>
 public static District CreateDistrict(global::System.Int32 id, global::System.String displayName, global::System.Int32 order)
 {
     District district = new District();
     district.ID = id;
     district.DisplayName = displayName;
     district.Order = order;
     return district;
 }