CountryRepositoryGetByCodeTCustomEntity(String) Method
Retrieve a country by its country code.
Namespace: Ignition.CrmAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
public TCustomEntity GetByCode<TCustomEntity>(
string countryCode
)
where TCustomEntity : new(), Country
Public Function GetByCode(Of TCustomEntity As {New, Country}) (
countryCode As String
) As TCustomEntity
public:
generic<typename TCustomEntity>
where TCustomEntity : gcnew(), Country
virtual TCustomEntity GetByCode(
String^ countryCode
) sealed
abstract GetByCode :
countryCode : string -> 'TCustomEntity when 'TCustomEntity : new() and Country
override GetByCode :
countryCode : string -> 'TCustomEntity when 'TCustomEntity : new() and Country
- countryCode String
- Country code to look up
- TCustomEntity
- An overridden entity type, as registered with the CustomEntityRegistrar
TCustomEntityThe requested country