Click or drag to resize

CountryRepository Class

Provides access to countries, states, and regions, which are found in iWeb under CRM->Address, Phone & Fax Setup->Address->Country Setup.
Inheritance Hierarchy
SystemObject
  Ignition.Framework.RepositoriesRepositoryReadOnlyCountry
    Ignition.CrmCountryRepository

Namespace: Ignition.Crm
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.28229
Syntax
public class CountryRepository : RepositoryReadOnly<Country>, 
	ICachingRepository

The CountryRepository type exposes the following members.

Constructors
 NameDescription
Public methodCountryRepository Default constructor
Top
Properties
 NameDescription
Public propertyCanada Convenience property to easily access the Country object that represents Canada.
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)
Public propertyUnitedStates Convenience property to easily access the Country object that represents the United States.
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 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 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 methodGetAllRegions Retrieves a list of all known regions.
Public methodGetAllRegionsTCustomEntity Retrieves a list of all known regions.
Public methodGetByCode(String) Retrieve a country by its country code.
Public methodGetByCodeTCustomEntity(String) Retrieve a country by its country code.
Public methodGetById(NetForumId) Retrieves a single entity by id
(Inherited from RepositoryReadOnlyT)
Protected methodInitializeSubEntities Populates any of the sub-entities of the passed top-level entity that were not already populated by Ignition's auto-population mechanisms.
(Inherited from RepositoryReadOnlyT)
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)
Top
See Also