CustomerRepositoryTCustomer, TAddress, TPhone, TFax, TEmail, TWebsite, TAffiliationGetByPrimaryEmailT(String) Method

Retrieves a single customer by their unique primary email address.

Definition

Namespace: Ignition.Crm
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
public T GetByPrimaryEmail<T>(
	string emailAddress
)
where T : new()

Parameters

emailAddress  String
The email address used for lookup. Must be unique.

Type Parameters

T

Return Value

T
The requested customer

Exceptions

IgnitionEntityNotFoundExceptionNo customer was found with the requested primary email address
InvalidOperationExceptionMultiple customers were found with the requested primary email address.

See Also