/// <summary>
 /// Create a new vStateProvinceCountryRegion object.
 /// </summary>
 /// <param name="stateProvinceID">Initial value of the StateProvinceID property.</param>
 /// <param name="stateProvinceCode">Initial value of the StateProvinceCode property.</param>
 /// <param name="isOnlyStateProvinceFlag">Initial value of the IsOnlyStateProvinceFlag property.</param>
 /// <param name="stateProvinceName">Initial value of the StateProvinceName property.</param>
 /// <param name="territoryID">Initial value of the TerritoryID property.</param>
 /// <param name="countryRegionCode">Initial value of the CountryRegionCode property.</param>
 /// <param name="countryRegionName">Initial value of the CountryRegionName property.</param>
 public static vStateProvinceCountryRegion CreatevStateProvinceCountryRegion(global::System.Int32 stateProvinceID, global::System.String stateProvinceCode, global::System.Boolean isOnlyStateProvinceFlag, global::System.String stateProvinceName, global::System.Int32 territoryID, global::System.String countryRegionCode, global::System.String countryRegionName)
 {
     vStateProvinceCountryRegion vStateProvinceCountryRegion = new vStateProvinceCountryRegion();
     vStateProvinceCountryRegion.StateProvinceID = stateProvinceID;
     vStateProvinceCountryRegion.StateProvinceCode = stateProvinceCode;
     vStateProvinceCountryRegion.IsOnlyStateProvinceFlag = isOnlyStateProvinceFlag;
     vStateProvinceCountryRegion.StateProvinceName = stateProvinceName;
     vStateProvinceCountryRegion.TerritoryID = territoryID;
     vStateProvinceCountryRegion.CountryRegionCode = countryRegionCode;
     vStateProvinceCountryRegion.CountryRegionName = countryRegionName;
     return vStateProvinceCountryRegion;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the vStateProvinceCountryRegions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTovStateProvinceCountryRegions(vStateProvinceCountryRegion vStateProvinceCountryRegion)
 {
     base.AddObject("vStateProvinceCountryRegions", vStateProvinceCountryRegion);
 }