示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Regions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRegions(Region region)
 {
     base.AddObject("Regions", region);
 }
示例#2
0
 /// <summary>
 /// Create a new Region object.
 /// </summary>
 /// <param name="regionId">Initial value of the RegionId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="states">Initial value of the States property.</param>
 public static Region CreateRegion(global::System.Int32 regionId, global::System.String name, global::System.String states)
 {
     Region region = new Region();
     region.RegionId = regionId;
     region.Name = name;
     region.States = states;
     return region;
 }