CountryRepositoryGetByCodeTCustomEntity(String) Method

Retrieve a country by its country code.

Definition

Namespace: Ignition.Crm
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
public TCustomEntity GetByCode<TCustomEntity>(
	string countryCode
)
where TCustomEntity : new(), Country

Parameters

countryCode  String
Country code to look up

Type Parameters

TCustomEntity
An overridden entity type, as registered with the CustomEntityRegistrar

Return Value

TCustomEntity
The requested country

See Also