示例#1
0
 /// <summary>
 /// Create a new Region object.
 /// </summary>
 /// <param name="regionID">Initial value of the RegionID property.</param>
 public static Region CreateRegion(global::System.Int32 regionID)
 {
     Region region = new Region();
     region.RegionID = regionID;
     return region;
 }
示例#2
0
 private bool FilterRegion(Region entity)
 {
     return (entity.RegionID == this.RegionID);
 }
示例#3
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);
 }