DataForge

Country Providers

Supported countries, their enum values, and what localization each provider applies.


A country provider localizes names, addresses, phone formats, postal codes, and national identifiers.

Available countries

csharp
Country.PT // Portugal
Country.ES // Spain
Country.FR // France
Country.DE // Germany
Country.GB // United Kingdom
Country.US // United States
Country.BR // Brazil

Selecting a provider

csharp
var order = DataForge
    .ForCountry(Country.DE)
    .Create<Order>();

The provider applies country-specific validation rules, so generated identifiers such as NIF or CPF match their real check-digit formats.