/// <summary> /// Create a new Regions object. /// </summary> /// <param name="regionID">Initial value of the RegionID property.</param> /// <param name="regionDescription">Initial value of the RegionDescription property.</param> public static Regions CreateRegions(global::System.Int32 regionID, global::System.String regionDescription) { Regions regions = new Regions(); regions.RegionID = regionID; regions.RegionDescription = regionDescription; return regions; }
/// <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(Regions regions) { base.AddObject("Regions", regions); }