Click or drag to resize

CustomersRepository Class

Repository class for Customer objects
Inheritance Hierarchy

Namespace:  Aloe.EnterpriseOne.Model.Crm
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public class CustomersRepository : EnterpriseOneEntityRepository

The CustomersRepository type exposes the following members.

Constructors
  NameDescription
Public methodCustomersRepository
Initializes a new instance of the CustomersRepository class with specific RepositorySource
Top
Properties
  NameDescription
Public propertyAggregateParentRepository
Gets the aggregate parent repository.
(Inherited from Repository.)
Public propertyAllowTrackChanges
Gets a value indicating whether this repository allows tracking changes.
(Inherited from EnterpriseOneEntityRepository.)
Public propertyAttributes
List of Attributes of the container
(Inherited from Repository.)
Public propertyCalculatedAttributes
Gets the calculated attributes.
(Inherited from EnterpriseOneEntityRepository.)
Public propertyChildCollections
List of collections of child objects
(Inherited from EntityRepository.)
Public propertyEntityName
Gets the name of the entity.
(Inherited from EntityRepository.)
Public propertyGhostObjectType
Gets the type of the ghost object.
(Inherited from EntityRepository.)
Public propertyLocalizedName
Gets the name of the repository in the current UI culture.
(Inherited from Repository.)
Public propertyName
The name of the repository, including the name-space.
(Inherited from Repository.)
Public propertyObjectType
Gets the type of the domain objects, which are managed by the repository.
(Overrides RepositoryObjectType.)
Public propertyParentRepository
Gets the parent repository or null if there is no parent repository.
(Inherited from Repository.)
Public propertyPrimaryTableName
The name of the primary storage table, used to persist the domain objects
(Inherited from DataAccessRepository.)
Public propertyReferences
List of references to entity objects
(Inherited from Repository.)
Public propertyRepositorySource
The RepositorySource of this repository
(Inherited from EnterpriseOneEntityRepository.)
Public propertyRules
Gets the repository rules.
(Inherited from EditableRepository.)
Public propertySettings
Gets the entity settings. Can be null.
(Inherited from EnterpriseOneEntityRepository.)
Public propertySupportsObjectDuplication
Gets a value indicating whether the repository supports object duplication.
(Inherited from EntityRepository.)
Public propertySystemTrackChangesLevel
Gets the system default track changes level for the repository.
(Overrides EnterpriseOneEntityRepositorySystemTrackChangesLevel.)
Public propertyTrackChangesLevel
Gets a value indicating whether track changes is enabled for this repository. This property is checked for aggregate roots.
(Inherited from EnterpriseOneEntityRepository.)
Top
Methods
  NameDescription
Public methodConsumeObjects
Consumes and returns the objects found in the specified buffer.
(Inherited from EntityRepository.)
Public methodCreateDataAccessQuery
Creates a new data access query for the repository, with the specified filter
(Inherited from DataAccessRepository.)
Public methodCreateQueryT
Returns IQueryable that can be used in LINQ expressions which query the repository
(Inherited from DataAccessRepository.)
Public methodDuplicateObject
Duplicates the object.
(Inherited from EntityRepository.)
Public methodEnsureFullyLoaded
Ensures that the specified objects are fully loaded.
(Inherited from Repository.)
Public methodEnumerateObjects
Enumerates and returns the objects found in the specified buffer.
(Inherited from EntityRepository.)
Public methodExecuteBusinessRules
Validates the specified object for the specified business event.
(Inherited from EditableRepository.)
Public methodGetAggregateRootRepository
Gets the aggregate root repository. If AggregateParentRepository is null the aggregate root is this repository.
(Inherited from Repository.)
Public methodGetGhostObject
Gets the ghost object of the current repository.
(Inherited from EntityRepository.)
Public methodGetIdAttribute
Returns the attribute, which gets the Id of entity objects
(Overrides EntityRepositoryGetIdAttribute.)
Public methodGetLocalObjectByKey
Finds local object with the specified repository-specific key. Returns null if the object is not found in the local buffer.
(Inherited from EntityRepository.)
Public methodGetObjectByKey
Finds or loads object with the specified repository-specific key. The object is loaded as lazy as possible.
(Inherited from EntityRepository.)
Public methodGetObjectByPrimaryKey
Gets or loads the object with the specified primary key.
(Inherited from EntityRepository.)
Public methodGetObjectByRow
Finds or creates an object, referencing the specified buffer row.
(Inherited from DataAccessRepository.)
Public methodGetObjectKeys
Gets the repository-specific object keys from the objects in the specified buffer.
(Inherited from EntityRepository.)
Public methodGetObjectsByKeys
Find or loads objects with the specified repository-specific keys. The objects are eagerly mass loaded.
(Inherited from EntityRepository.)
Public methodGetObjectsByPrimaryKeys
Gets or loads the objects with the specified primary keys. The objects are eagerly mass loaded.
(Inherited from EntityRepository.)
Public methodGetObjectsByRows
Finds or creates objects, referencing the specified buffer row.
(Inherited from DataAccessRepository.)
Public methodGetParentReference
Gets the parent ownership reference.
(Inherited from Repository.)
Public methodGetReferenceTObject, TResult
Gets the backing reference of the member, specified in the expression. The expression should be in the format 's => s.Member'.
(Inherited from Repository.)
Public methodGetScalarAttributes
Gets the scalar attributes.
(Inherited from EnterpriseOneEntityRepository.)
Public methodInstantiateNewObject
Creates a new domain object of the type, managed by the repository.
(Inherited from EditableRepository.)
Public methodIsAggregateRoot
Returns true if this repository is aggregate root.
(Inherited from Repository.)
Public methodReadToBuffer
Executes the query and returns the result in a buffer
(Inherited from DataAccessRepository.)
Public methodRefreshAttributes
Refreshes the attributes collection.
(Inherited from EnterpriseOneEntityRepository.)
Public methodRegisterRevocableRule
Registers a business rule, which can be revoked by user config option.
(Inherited from EnterpriseOneEntityRepository.)
Public methodRegisterRule
Registers a constraint for the specified validation events.
(Inherited from EditableRepository.)
Public methodRegisterRuleForTBusinessEvent
Registers the rule for all events of the specified event type.
(Inherited from EditableRepository.)
Public methodRegisterRuleForAttributeChanged(String, IBusinessRule)
Registers a rule for the AttributeChangedBusinessEvent event.
(Inherited from EditableRepository.)
Public methodRegisterRuleForAttributeChanged(IDataAttribute, IBusinessRule)
Registers a rule for the AttributeChangedBusinessEvent event.
(Inherited from EditableRepository.)
Public methodRegisterRuleForAttributeChanging
Registers a rule for the AttributeChangingBusinessEvent event.
(Inherited from EditableRepository.)
Public methodRegisterRuleForCommit
Registers a constraint for the Commit validation event. For more information, ValidationEvent.
(Inherited from EditableRepository.)
Public methodRegisterRuleForObjectReferenceChanged
Registers a rule for the ObjectReferenceChangedBusinessEvent event.
(Inherited from EditableRepository.)
Top
Fields
  NameDescription
Public fieldStatic memberActiveAttribute
Definition of the Active data attribute
Public fieldStatic memberAllowUseAsPrimaryCustomerAttribute
Definition of the AllowUseAsPrimaryCustomer data attribute
Public fieldStatic memberAllowUseAsShipToCustomerAttribute
Definition of the AllowUseAsShipToCustomer data attribute
Public fieldStatic memberCollectionsResponsibleEmployeeIdAttribute
Definition of the data attribute for CollectionsResponsibleEmployee reference
Public fieldStatic memberCollectionsResponsibleEmployeeReference
Definition of the CollectionsResponsibleEmployee reference
Public fieldStatic memberCreationTimeAttribute
Definition of the CreationTime data attribute
Public fieldStatic memberCreationUserAttribute
Definition of the CreationUser data attribute
Public fieldStatic memberCreditLimitAttribute
Definition of the CreditLimit data attribute
Public fieldStatic memberCustomerTypeIdAttribute
Definition of the data attribute for CustomerType reference
Public fieldStatic memberCustomerTypeReference
Definition of the CustomerType reference
Public fieldStatic memberDefaultCurrencyIdAttribute
Definition of the data attribute for DefaultCurrency reference
Public fieldStatic memberDefaultCurrencyReference
Definition of the DefaultCurrency reference
Public fieldStatic memberDefaultDeliveryTermDaysAttribute
Definition of the DefaultDeliveryTermDays data attribute
Public fieldStatic memberDefaultDistributionChannelIdAttribute
Definition of the data attribute for DefaultDistributionChannel reference
Public fieldStatic memberDefaultDistributionChannelReference
Definition of the DefaultDistributionChannel reference
Public fieldStatic memberDefaultPaymentAccountIdAttribute
Definition of the data attribute for DefaultPaymentAccount reference
Public fieldStatic memberDefaultPaymentAccountReference
Definition of the DefaultPaymentAccount reference
Public fieldStatic memberDefaultPaymentStartDaysAttribute
Definition of the DefaultPaymentStartDays data attribute
Public fieldStatic memberDefaultPaymentTermDaysAttribute
Definition of the DefaultPaymentTermDays data attribute
Public fieldStatic memberDefaultPaymentTypeIdAttribute
Definition of the data attribute for DefaultPaymentType reference
Public fieldStatic memberDefaultPaymentTypeReference
Definition of the DefaultPaymentType reference
Public fieldStatic memberDefaultPriceListIdAttribute
Definition of the data attribute for DefaultPriceList reference
Public fieldStatic memberDefaultPriceListReference
Definition of the DefaultPriceList reference
Public fieldStatic memberEnterpriseCompanyIdAttribute
Definition of the data attribute for EnterpriseCompany reference
Public fieldStatic memberEnterpriseCompanyReference
Definition of the EnterpriseCompany reference
Public fieldStatic memberFromDateAttribute
Definition of the FromDate data attribute
Public fieldStatic memberGracePeriodDaysAttribute
Definition of the GracePeriodDays data attribute
Public fieldStatic memberIdAttribute
Definition of the Customer identity attribute
Public fieldStatic memberNumberAttribute
Definition of the Number data attribute
Public fieldStatic memberPartyIdAttribute
Definition of the data attribute for Party reference
Public fieldStatic memberPartyReference
Definition of the Party reference
Public fieldStatic memberPersistSalesOrdersLotsAttribute
Definition of the PersistSalesOrdersLots data attribute
Public fieldStatic memberProductsChildCollectionDefinition
Definition of the Products child list
Public fieldStatic memberRepositoryName
The name of the repository
Public fieldStatic memberSalesPersonIdAttribute
Definition of the data attribute for SalesPerson reference
Public fieldStatic memberSalesPersonReference
Definition of the SalesPerson reference
Public fieldStatic memberServicedByEnterpriseCompanyLocationIdAttribute
Definition of the data attribute for ServicedByEnterpriseCompanyLocation reference
Public fieldStatic memberServicedByEnterpriseCompanyLocationReference
Definition of the ServicedByEnterpriseCompanyLocation reference
Public fieldStatic memberTableName
The primary storage table for Customer objects
Public fieldStatic memberThruDateAttribute
Definition of the ThruDate data attribute
Public fieldStatic memberUpdateTimeAttribute
Definition of the UpdateTime data attribute
Public fieldStatic memberUpdateUserAttribute
Definition of the UpdateUser data attribute
Top
Extension Methods
  NameDescription
Public Extension MethodGetExpressionDependencies
Gets the data attributes and references (from the repository) on which the expression depends.
(Defined by RepositoryExtensions.)
Top
See Also