/// <summary> /// Create a new Region object. /// </summary> /// <param name="regionID">Initial value of the RegionID property.</param> /// <param name="regionName">Initial value of the RegionName property.</param> /// <param name="timeZoneID">Initial value of the TimeZoneID property.</param> /// <param name="regionFullName">Initial value of the RegionFullName property.</param> public static Region CreateRegion(global::System.Int32 regionID, global::System.String regionName, global::System.Int32 timeZoneID, global::System.String regionFullName) { Region region = new Region(); region.RegionID = regionID; region.RegionName = regionName; region.TimeZoneID = timeZoneID; region.RegionFullName = regionFullName; return region; }
private bool FilterRegion(Region entity) { return (entity.RegionID == this.RegionID); }
/// <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); }