Click or drag to resize

ProductsRepository Class

Repository class for Product objects
Inheritance Hierarchy

Namespace:  Aloe.EnterpriseOne.Model.General.Products
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public class ProductsRepository : EnterpriseOneEntityRepository

The ProductsRepository type exposes the following members.

Constructors
  NameDescription
Public methodProductsRepository
Initializes a new instance of the ProductsRepository 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.
(Overrides EntityRepositorySupportsObjectDuplication.)
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.
(Overrides EntityRepositoryDuplicateObject(EntityObject, ObjectTransaction).)
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 memberABCClassAttribute
Definition of the ABCClass data attribute
Public fieldStatic memberActiveAttribute
Definition of the Active data attribute
Public fieldStatic memberAllowVariableMeasurementRatiosAttribute
Definition of the AllowVariableMeasurementRatios data attribute
Public fieldStatic memberBaseMeasurementCategoryIdAttribute
Definition of the data attribute for BaseMeasurementCategory reference
Public fieldStatic memberBaseMeasurementCategoryReference
Definition of the BaseMeasurementCategory reference
Public fieldStatic memberCargoTypeIdAttribute
Definition of the data attribute for CargoType reference
Public fieldStatic memberCargoTypeReference
Definition of the CargoType reference
Public fieldStatic memberCatalogDescriptionHtmlAttribute
Definition of the CatalogDescriptionHtml data attribute
Public fieldStatic memberCodesChildCollectionDefinition
Definition of the Codes child list
Public fieldStatic memberCostingCurrencyIdAttribute
Definition of the data attribute for CostingCurrency reference
Public fieldStatic memberCostingCurrencyReference
Definition of the CostingCurrency reference
Public fieldStatic memberCostingMethodAttribute
Definition of the CostingMethod data attribute
Public fieldStatic memberCreationTimeAttribute
Definition of the CreationTime data attribute
Public fieldStatic memberCreationUserAttribute
Definition of the CreationUser data attribute
Public fieldStatic memberDefaultStoreBinsChildCollectionDefinition
Definition of the DefaultStoreBins child list
Public fieldStatic memberDescriptionAttribute
Definition of the Description data attribute
Public fieldStatic memberDimensionsChildCollectionDefinition
Definition of the Dimensions child list
Public fieldStatic memberDistributionChannelsChildCollectionDefinition
Definition of the DistributionChannels child list
Public fieldStatic memberDocumentAmountsChildCollectionDefinition
Definition of the DocumentAmounts child list
Public fieldStatic memberEnterpriseCompanyIdAttribute
Definition of the data attribute for EnterpriseCompany reference
Public fieldStatic memberEnterpriseCompanyReference
Definition of the EnterpriseCompany reference
Public fieldStatic memberExpiryPeriodDaysAttribute
Definition of the ExpiryPeriodDays data attribute
Public fieldStatic memberFlushingMethodAttribute
Definition of the FlushingMethod data attribute
Public fieldStatic memberGuaranteePeriodDaysAttribute
Definition of the GuaranteePeriodDays data attribute
Public fieldStatic memberIdAttribute
Definition of the Product identity attribute
Public fieldStatic memberIntrastatCommodityCodeIdAttribute
Definition of the data attribute for IntrastatCommodityCode reference
Public fieldStatic memberIntrastatCommodityCodeReference
Definition of the IntrastatCommodityCode reference
Public fieldStatic memberIntrastatSupplementaryUnitIdAttribute
Definition of the data attribute for IntrastatSupplementaryUnit reference
Public fieldStatic memberIntrastatSupplementaryUnitReference
Definition of the IntrastatSupplementaryUnit reference
Public fieldStatic memberIsFeaturedAttribute
Definition of the IsFeatured data attribute
Public fieldStatic memberIsSerializedAttribute
Definition of the IsSerialized data attribute
Public fieldStatic memberLineDiscountsChildCollectionDefinition
Definition of the LineDiscounts child list
Public fieldStatic memberLotsChildCollectionDefinition
Definition of the Lots child list
Public fieldStatic memberLotsIssueAttribute
Definition of the LotsIssue data attribute
Public fieldStatic memberManufacturingPolicyAttribute
Definition of the ManufacturingPolicy data attribute
Public fieldStatic memberMeasurementUnitIdAttribute
Definition of the data attribute for MeasurementUnit reference
Public fieldStatic memberMeasurementUnitReference
Definition of the MeasurementUnit reference
Public fieldStatic memberMinimalSalesPricePerLotAttribute
Definition of the MinimalSalesPricePerLot data attribute
Public fieldStatic memberMinimalSalesQuantityBaseAttribute
Definition of the MinimalSalesQuantityBase data attribute
Public fieldStatic memberNameAttribute
Definition of the Name data attribute
Public fieldStatic memberOriginCountryIdAttribute
Definition of the data attribute for OriginCountry reference
Public fieldStatic memberOriginCountryReference
Definition of the OriginCountry reference
Public fieldStatic memberPartNumberAttribute
Definition of the PartNumber data attribute
Public fieldStatic memberPicturesChildCollectionDefinition
Definition of the Pictures child list
Public fieldStatic memberPlanningDemandTimeFenceDaysAttribute
Definition of the PlanningDemandTimeFenceDays data attribute
Public fieldStatic memberPlanningHorizonDaysAttribute
Definition of the PlanningHorizonDays data attribute
Public fieldStatic memberPlanningTimeFenceDaysAttribute
Definition of the PlanningTimeFenceDays data attribute
Public fieldStatic memberPricesChildCollectionDefinition
Definition of the Prices child list
Public fieldStatic memberProductGroupIdAttribute
Definition of the data attribute for ProductGroup reference
Public fieldStatic memberProductGroupReference
Definition of the ProductGroup reference
Public fieldStatic memberProductTypeIdAttribute
Definition of the data attribute for ProductType reference
Public fieldStatic memberProductTypeReference
Definition of the ProductType reference
Public fieldStatic memberPurchaseMeasurementUnitIdAttribute
Definition of the data attribute for PurchaseMeasurementUnit reference
Public fieldStatic memberPurchaseMeasurementUnitReference
Definition of the PurchaseMeasurementUnit reference
Public fieldStatic memberPurchaseProductPricesChildCollectionDefinition
Definition of the PurchaseProductPrices child list
Public fieldStatic memberRepositoryName
The name of the repository
Public fieldStatic memberScrapRateAttribute
Definition of the ScrapRate data attribute
Public fieldStatic memberSerialNumbersChildCollectionDefinition
Definition of the SerialNumbers child list
Public fieldStatic memberShortNameAttribute
Definition of the ShortName data attribute
Public fieldStatic memberShowInCatalogAttribute
Definition of the ShowInCatalog data attribute
Public fieldStatic memberStandardCostPerLotAttribute
Definition of the StandardCostPerLot data attribute
Public fieldStatic memberStandardLotSizeBaseAttribute
Definition of the StandardLotSizeBase data attribute
Public fieldStatic memberStandardPricePerLotAttribute
Definition of the StandardPricePerLot data attribute
Public fieldStatic memberSupplySchemaIdAttribute
Definition of the SupplySchemaId data attribute
Public fieldStatic memberTableName
The primary storage table for Product objects
Public fieldStatic memberUpdateTimeAttribute
Definition of the UpdateTime data attribute
Public fieldStatic memberUpdateUserAttribute
Definition of the UpdateUser data attribute
Public fieldStatic memberUseLotsAttribute
Definition of the UseLots data attribute
Public fieldStatic memberValuationGroupIdAttribute
Definition of the data attribute for ValuationGroup reference
Public fieldStatic memberValuationGroupReference
Definition of the ValuationGroup reference
Public fieldStatic memberVariantsChildCollectionDefinition
Definition of the Variants child list
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