Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Region EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRegion(Region region)
 {
     base.AddObject("Region", region);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Region object.
 /// </summary>
 /// <param name="cityID">Initial value of the CityID property.</param>
 public static Region CreateRegion(global::System.Int32 cityID)
 {
     Region region = new Region();
     region.CityID = cityID;
     return region;
 }