Click or drag to resize

BasePersistenceProvider Class

Provides basic persistence and behavior functionality of the model. Uses only data access commands to access the data source.
Inheritance Hierarchy
SystemObject
  Aloe.SystemFrameworks.DomainRepositorySource
    Aloe.EnterpriseOne.Model.CoreBasePersistenceProvider

Namespace:  Aloe.EnterpriseOne.Model.Core
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public abstract class BasePersistenceProvider : RepositorySource

The BasePersistenceProvider type exposes the following members.

Constructors
  NameDescription
Public methodBasePersistenceProvider
Initializes a new instance of the BasePersistenceProvider class.
Top
Properties
  NameDescription
Public propertyAllCalculatedAttributes
Gets all calculated attributes.
Public propertyAllUserBusinessRules
Gets all user business rules.
Public propertyDocumentVersioningSystem
Gets the document versioning system.
Public propertyHost
Gets the domain system host, which provides various host-specific functionality.
(Inherited from RepositorySource.)
Public propertyLoadCustomProperties
Gets or sets a value indicating whether to load the custom properties of the repositories.
Public propertyRepositories
Returns all repositories
(Overrides RepositorySourceRepositories.)
Public propertyRepositoryAttributtesInitGate
Synchonization gate, used on repository attributtes initialization.
(Inherited from RepositorySource.)
Public propertyRepositoryBusinessEventHandlerInitGate
Synchonization gate, used on repository business event handler initialization.
(Inherited from RepositorySource.)
Top
Methods
  NameDescription
Public methodEnumerateEntityObjects
Enumerates and returns (as dictionary) all entity objects in all tables of the buffer.
(Inherited from RepositorySource.)
Public methodGetLicenseCount
Gets the count of the installed licenses for the specified license code.
Public methodGetRepositoryByEntityName
Gets the repository, which has the specified table as its primary table.
(Inherited from RepositorySource.)
Public methodGetRepositoryByEntityNameOrDefault
Returns the repository, handling the specified tableName
(Inherited from RepositorySource.)
Public methodGetRepositoryByName
Gets the repository with the specified name.
(Inherited from RepositorySource.)
Public methodGetRepositoryByObjectType(Type)
Gets the repository for the specified domain object type.
(Inherited from RepositorySource.)
Public methodGetRepositoryByObjectTypeTObject
Returns the repository for the specified domain object type
(Inherited from RepositorySource.)
Public methodGetRepositoryByObjectTypeName
Gets the repository with the specified name.
(Overrides RepositorySourceGetRepositoryByObjectTypeName(String).)
Public methodIsBusinessRuleRevoked
Determines whether the specified business rule is revoked by the user.
Public methodRegisterConditionalBusinessRules
Register the conditional business rules to the specified repository.
Public methodRegisterUserBusinessRules
Registers the user business rules.
Top
Remarks

The base provider contains only business logic, common to both front and back end. The specialized front and back end providers contain more specific logic for these environments.

The basic persistence provider tends to be chatty with the data source and is not intended for deployment with remote connections. For remote deployments checkout specialized remote persistence providers, which use different remote call technologies in order to avoid the chattiness of the basic provider.

The basic provider can be used on servers as persistence provider, but for best performance check out the specialized server providers, which usually call stored procedures for performance optimization.

The basic provider contains domain logic and is best used for test by comparison for other specialized providers. It is also used as the base place for stating the required domain logic.

See Also