/// <summary> /// Deprecated Method for adding a new object to the Regions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRegions(Region region) { base.AddObject("Regions", region); }
/// <summary> /// Create a new Region object. /// </summary> /// <param name="regionID">Initial value of the RegionID property.</param> /// <param name="regionDescription">Initial value of the RegionDescription property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static Region CreateRegion(global::System.Int32 regionID, global::System.String regionDescription, global::System.Int32 rowVersion) { Region region = new Region(); region.RegionID = regionID; region.RegionDescription = regionDescription; region.RowVersion = rowVersion; return region; }