Added Postal Code Length to country provisioning
This commit is contained in:
@@ -473,6 +473,8 @@ namespace Swarmops.Site.Automation
|
||||
|
||||
private int geographyIdField;
|
||||
|
||||
private int postalCodeLengthField;
|
||||
|
||||
/// <remarks/>
|
||||
public int CountryId
|
||||
{
|
||||
@@ -480,6 +482,13 @@ namespace Swarmops.Site.Automation
|
||||
set { this.countryIdField = value; }
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public int PostalCodeLength
|
||||
{
|
||||
get { return this.postalCodeLengthField; }
|
||||
set { this.postalCodeLengthField = value; }
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public string Name
|
||||
{
|
||||
|
||||
@@ -400,7 +400,7 @@ public partial class Pages_v5_Init_Default : Page
|
||||
countryIdTranslation[country.Code] = SwarmDb.GetDatabaseForWriting().CreateCountry (country.Name,
|
||||
country.Code,
|
||||
country.Culture,
|
||||
rootGeographyId, 5,
|
||||
rootGeographyId, country.PostalCodeLength,
|
||||
string.Empty);
|
||||
|
||||
count++;
|
||||
|
||||
Reference in New Issue
Block a user