Click or drag to resize

CustomerRepositoryTCustomer, TAddress, TPhone, TFax, TEmail, TWebsite, TAffiliation Class

Provides access to various types of customer
Inheritance Hierarchy
SystemObject
  Ignition.Framework.RepositoriesRepositoryReadOnlyTCustomer
    Ignition.CrmCustomerRepositoryTCustomer, TAddress, TPhone, TFax, TEmail, TWebsite, TAffiliation
      Ignition.CrmIndividualRepository
      Ignition.CrmOrganizationRepository

Namespace: Ignition.Crm
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.28229
Syntax
public abstract class CustomerRepository<TCustomer, TAddress, TPhone, TFax, TEmail, TWebsite, TAffiliation> : RepositoryReadOnly<TCustomer>, 
	ICachingRepository
where TCustomer : new(), Customer<TAddress, TPhone, TFax, TEmail, TWebsite, TAffiliation>
where TAddress : CustomerAddress
where TPhone : CustomerPhone
where TFax : CustomerFax
where TEmail : CustomerEmail
where TWebsite : CustomerWebsite
where TAffiliation : new(), CustomerAffiliation

Type Parameters

TCustomer
Customer type
TAddress
Address-x-customer relationship type
TPhone
Phone-x-customer relationship type
TFax
Fax-x-customer relationship type
TEmail
Email type
TWebsite
Website type
TAffiliation
Affiliation type

The CustomerRepositoryTCustomer, TAddress, TPhone, TFax, TEmail, TWebsite, TAffiliation type exposes the following members.

Properties
 NameDescription
Protected propertyConfigurationListProvider A way to access configuration lists defined in netFORUM
(Inherited from RepositoryReadOnlyT)
Protected propertyGeneralRepository A general repository available for use in all underlying entity and sub-entity operations
(Inherited from RepositoryReadOnlyT)
Protected propertySettings Settings specifying how this repository should behave with regard to both entity and sub-entity management
(Inherited from RepositoryReadOnlyT)
Protected propertyValueTypeProviderObsolete.
A ValueTypeProvider available for use in pulling any required value type sub-entities
(Inherited from RepositoryReadOnlyT)
Top
Methods
 NameDescription
Protected methodClearAuxiliaryCaches Clears any additional cached data associated with this repository
(Inherited from RepositoryReadOnlyT)
Public methodClearCache Clears all cached data associated with this repository, for both top-level entities and all sub-entities
(Inherited from RepositoryReadOnlyT)
Public methodDelete Delete a customer
Public methodFind(ExpressionFuncT, Boolean, GetAllOptions) Retrieves a list of all entities matching a given set of search criteria
(Inherited from RepositoryReadOnlyT)
Public methodFind(ExpressionFuncT, Boolean, ExpressionFuncT, IEnumerableNetForumEntity) Retrieves a list of all entities matching a given set of search criteria
(Inherited from RepositoryReadOnlyT)
Public methodFindByPrimaryEmail(String) Retrieves all customers sharing a primary email address.
Public methodFindByPrimaryEmailT(String) Retrieves all customers sharing a primary email address.
Public methodGetAddressHoldTypes Retrieves a list of all known Address Hold Types
Public methodGetAddressTypes Retrieves a list of all known Address Types
Public methodGetAll(ExpressionFuncT, IEnumerableNetForumEntity) Retrieves a list of all known entities managed by this repository
(Inherited from RepositoryReadOnlyT)
Public methodGetAll(GetAllOptions) Retrieves a list of all known entities managed by this repository
(Inherited from RepositoryReadOnlyT)
Public methodGetById(NetForumId) Retrieves a single entity by id
(Inherited from RepositoryReadOnlyT)
Public methodGetByPrimaryEmail(String) Retrieves a single customer by their unique primary email address.
Public methodGetByPrimaryEmailT(String) Retrieves a single customer by their unique primary email address.
Public methodGetByRecordNumber(Int32) Retrieves a single customer by their record number.
Public methodGetByRecordNumberT(Int32) Retrieves a single customer by their record number.
Public methodGetByWebLogin(String) Retrieves a single customer by their web login.
Public methodGetByWebLoginT(String) Retrieves a single customer by their web login.
Public methodGetEmailTypes Retrieves a list of all known Email Types
Public methodGetFaxTypes Retrieves a list of all known Fax Types
Public methodGetMembershipStatuses Retrieves a list of all known Membership Statuses
Public methodGetMembershipTypes Retrieves a list of all known Membership Types
Public methodGetNamePrefixes Retrieves a list of all known Name Prefixes
Public methodGetNameSuffixes Retrieves a list of all known Name Suffixes
Public methodGetPhoneTypes Retrieves a list of all known Phone Types
Public methodGetPreferredCommunicationMethods Retrieves a list of all known Communication Methods
Public methodGetRelationshipTypes Retrieves a list of all known Relationship Types
Public methodGetWebsiteTypes Retrieves a list of all known Website Types
Protected methodInitializeSubEntities
(Overrides RepositoryReadOnlyTInitializeSubEntities(T))
Public methodIsEmailAvailable Determines if a given email address is currently unused, and thus available for use.
Public methodIsWebLoginAvailable Determines if a given web login is currently unused across all customers (including any soft-deleted customers), and thus available for use.
Public methodPrimeCache Retrieves and caches the set of all known entities managed by this repository, in order to increase the performance of future GetAll(GetAllOptions) and GetById(NetForumId) requests. Performance of Find(ExpressionFuncT, Boolean, GetAllOptions) requests will not be improved.
(Inherited from RepositoryReadOnlyT)
Protected methodRemoveFromCache Removes the entity with the specified id from the top-level entity cache if caching is enabled
(Inherited from RepositoryReadOnlyT)
Public methodSave Save a customer
Top
See Also