/// <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="createdDate">Initial value of the CreatedDate property.</param> public static Region CreateRegion(global::System.Int16 regionId, global::System.String regionName, global::System.DateTime createdDate) { Region region = new Region(); region.RegionId = regionId; region.RegionName = regionName; region.CreatedDate = createdDate; return region; }
/// <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); }