共用方式為


IEntity Members

Include Protected Members
Include Inherited Members

Represents an external content type such as Customer or Product, in a line-of-business (LOB) application.

The IEntity type exposes the following members.

Properties

  Name Description
Public property Catalog Gets the metadata catalog that contains this data class. (Inherited from IDataClass.)
Public property EstimatedInstanceCount Gets the number of expected external items of this external content type.
Public property Id Gets the identifier of the metadata object. (Inherited from IMetadataStruct.)
Public property IsCached Determines whether the metadata object is cached in memory. (Inherited from IMetadataStruct.)
Public property Name Gets the name of the metadata object. (Inherited from IMetadataStruct.)
Public property Namespace Gets the namespace of the given data class. (Inherited from IDataClass.)
Public property Version Gets the version of this external content type. (Inherited from IDataClass.)

Top

Methods

  Name Description
Public method Associate Associates the given source external items with the given destination external item.
Public method BulkEnumerateAssociatedIds(EntityInstanceCollection, IAssociation, ILobSystemInstance) Gets pairs of source identities and destination identity for existing associated external items with the default filters.
Public method BulkEnumerateAssociatedIds(EntityInstanceCollection, IAssociation, IFilterCollection, ILobSystemInstance) Gets pairs of source identities and destination identity for existing associated external items with the specified filter collection.
Public method BulkEnumerateIdentities Enumerates the given identities.
Public method CheckAccess Gets the access rights of the given external item identities for the given LobSystem instance.
Public method ContainsDefaultAction Returns a value that indicates whether the DataClass has a default action. (Inherited from IDataClass.)
Public method ContainsLocalizedDisplayName Determines whether this metadata object contains a localized display name. (Inherited from IMetadataObject.)
Public method Create(IFieldValueDictionary, ILobSystemInstance) Creates an external item.
Public method Create(IFieldValueDictionary, AssociationEntityInstancesDictionary, ILobSystemInstance) Creates an external item that is associated with other external items.
Public method Create(IFieldValueDictionary, Identity, ILobSystemInstance) Creates an external item.
Public method Create(IFieldValueDictionary, Identity, AssociationEntityInstancesDictionary, ILobSystemInstance) Creates an external item.
Public method CreateWithFields(IFieldValueDictionary, ILobSystemInstance) Creates an external item, and sets all fields of the external content type to the given values with an update.
Public method CreateWithFields(IFieldValueDictionary, ILobSystemInstance, OperationMode) Creates an external item with a external system instance, a specific operation mode, and sets all fields of the external content type to the given values with an update.
Public method CreateWithFields(IFieldValueDictionary, AssociationEntityInstancesDictionary, ILobSystemInstance) Creates an external item associated with other external items, and sets all fields of the external content type to the given values with an update.
Public method CreateWithFields(IFieldValueDictionary, Identity, ILobSystemInstance) Creates an external item with an assigned identity, and sets all fields of the external content type to the given values with an update.
Public method CreateWithFields(IFieldValueDictionary, AssociationEntityInstancesDictionary, ILobSystemInstance, OperationMode) Creates an external item, with a specific OperationMode object, associated with other external items, and sets all fields of the external content type to the given values with an update.
Public method CreateWithFields(IFieldValueDictionary, Identity, ILobSystemInstance, OperationMode) Creates an external item with an assigned identity and a specific OperationMode object, and sets all fields of the external content type to the given values with an update.
Public method CreateWithFields(IFieldValueDictionary, Identity, AssociationEntityInstancesDictionary, ILobSystemInstance) Creates an external item with a specific identity, associated with other external items, and sets all fields of the external content type to the given values with an update.
Public method CreateWithFields(IFieldValueDictionary, Identity, AssociationEntityInstancesDictionary, ILobSystemInstance, OperationMode) Creates an external item with a specific identity and OperationMode object, associated with other external item s, and sets all fields of the external content type to the given values with an update.
Public method Disassociate Disassociates the given source external items from the given destination external item.
Public method EnumerateChangedIdentities Enumerates the identities of changed external items.
Public method EnumerateDeletedIdentities Enumerates the external items that have been modified after the specified time.
Public method EnumerateIdentities Enumerates identities.
Public method Execute(IMethodInstance, ILobSystemInstance) Executes the given method instance against a given external system instance. (Inherited from IDataClass.)
Public method Execute(IMethodInstance, ILobSystemInstance, []) Executes the given method instance against a given external system instance with the given parameters. (Inherited from IDataClass.)
Public method ExecuteScalar Executes a scalar MethodInstance object with the given name, filters values, and the given LobSystemInstance object, and returns the result.
Public method FindAssociated(EntityInstanceCollection, IAssociation, ILobSystemInstance) Gets external items that are associated with the specified external items.
Public method FindAssociated(EntityInstanceCollection, IAssociation, ILobSystemInstance, OperationMode) Gets the external items that are associated with the specified source external items using the specified mode of operation..
Public method FindAssociated(EntityInstanceCollection, IAssociation, IFilterCollection, ILobSystemInstance) Gets the external items that are associated with the specified source external items and association, filtered by the specified criteria.
Public method FindAssociated(EntityInstanceCollection, IAssociation, IFilterCollection, ILobSystemInstance, OperationMode) Gets the external items that are associated with the specified source external items and association, filtered by the specified criteria, using the specified mode of operation.
Public method FindAssociatedMultiple(IList<EntityInstanceCollection>, IAssociation, ILobSystemInstance) Gets the external items that are associated to the given source external items.
Public method FindAssociatedMultiple(IList<EntityInstanceCollection>, IAssociation, ILobSystemInstance, OperationMode) Gets the external items that are associated to the given source external items by using the specified mode of operation.
Public method FindAssociatedMultiple(IList<EntityInstanceCollection>, IAssociation, IFilterCollection, ILobSystemInstance) Gets the external items that are associated to the given source external items by applying a specified filter collection.
Public method FindAssociatedMultiple(IList<EntityInstanceCollection>, IAssociation, IFilterCollection, ILobSystemInstance, OperationMode) Gets the external items that are associated to the given source external items by applying a specified filter collection and using the specified mode of operation.
Public method FindFiltered(IFilterCollection, ILobSystemInstance) Returns external items filtered by the given criteria using the default Finder.
Public method FindFiltered(IFilterCollection, String, ILobSystemInstance) Returns external items filtered by the given criteria using the specified Finder.
Public method FindFiltered(IFilterCollection, String, ILobSystemInstance, OperationMode) Returns external items filtered by the given criteria using the specified Finder and the specified mode of operation.
Public method FindSpecific(Identity, ILobSystemInstance) Gets the external item with the given identity for the default SpecificFinder MethodInstance object.
Public method FindSpecific(Identity, ILobSystemInstance, Boolean) Gets the external item with the given identity for the default SpecificFinder MethodInstance object with an option to read immediately or on the first function call that requires a read.
Public method FindSpecific(Identity, String, ILobSystemInstance) Gets the external item with the given identity for a SpecificFinder MethodInstance object.
Public method FindSpecific(Identity, String, ILobSystemInstance, OperationMode) Gets the external item with the given identity for a specific SpecificFinder MethodInstance object with the given OperationMode object.
Public method FindSpecific(Identity, String, ILobSystemInstance, Boolean) Gets the external item with the given identity for a specific SpecificFinder MethodInstance object and a given LobSystem instance, with an option to read the data immediately or read it on the first function call that requires a read.
Public method FindSpecific(Identity, String, ILobSystemInstance, OperationMode, Boolean) Gets the external item with the given identity for a specific SpecificFinder MethodInstance object and a given OperationMode object, with an option to read the data immediately or read it on the first function call that requires a read.
Public method FindSpecificMultiple(IList<Identity>, ILobSystemInstance) Gets a group of external items using the specified external item identities, the default OperationMode object, and the BulkSpecificFinder MethodInstance.
Public method FindSpecificMultiple(IList<Identity>, String, ILobSystemInstance) Gets a group of external items using the specified external item identities and the default OperationMode object.
Public method FindSpecificMultiple(IList<Identity>, String, ILobSystemInstance, OperationMode) Gets a group of external items using the external item identities.
Public method GetAccessControlList Retrieves the access control list (ACL) for this object. (Inherited from IAccessControlledMetadataObject.)
Public method GetActions Returns available actions associated with this DataClass. (Inherited from IDataClass.)
Public method GetAssociationGroups Gets all the association groups of this external content type.
Public method GetAssociationView Gets the View of the association.
Public method GetBulkIdentityEnumeratorView Gets the View for the BulkIdEnumerator.
Public method GetBulkSpecificFinderView Gets the View for the given BulkSpecificFinder.
Public method GetChangedIdentityEnumeratorView Gets the View for the ChangedIdEnumerator.
Public method GetCreatorView Gets the View for the given Creator or SpecificFinder.
Public method GetDefaultAction Returns the default action for the DataClass. (Inherited from IDataClass.)
Public method GetDefaultBulkSpecificFinderView Gets the View for the default BulkSpecificFinder .
Public method GetDefaultDisplayName Returns the default display name of this metadata object. (Inherited from IMetadataObject.)
Public method GetDefaultFinderFilters Gets the filters for the default Finder.
Public method GetDefaultOperationMode Gets the default OperationMode for this external content type.
Public method GetDefaultSpecificFinderView Gets the View for the default SpecificFinder .
Public method GetDeletedIdentityEnumeratorView Gets the View for the DeletedIdEnumerator.
Public method GetDestinationAssociations Gets the associations in which this external content type is a destination.
Public method GetFinderView Gets the View for the given Finder.
Public method GetIdentifierCount Gets the number of identifiers of this external content type.
Public method GetIdentifiers Gets identifiers of this external content type.
Public method GetIdentityEnumeratorView Gets the View for the IdEnumerator.
Public method GetLobSystem Gets the external system of this data class. (Inherited from IDataClass.)
Public method GetLocalizedDisplayName Returns the localized display name of this metadata object. (Inherited from IMetadataObject.)
Public method GetLocalizedNames Returns the localized names of this metadata object. (Inherited from IMetadataObject.)
Public method GetMethodInstance Gets the method instance with the specified name and stereotype. (Inherited from IDataClass.)
Public method GetMethodInstances() Gets the method instances of this data class. (Inherited from IDataClass.)
Public method GetMethodInstances(MethodInstanceType) Gets the method instances of this data class with the given stereotype. (Inherited from IDataClass.)
Public method GetMethods Gets the methods of this data class. (Inherited from IDataClass.)
Public method GetProperties Returns the properties of this metadata object. (Inherited from IMetadataObject.)
Public method GetSecurityDescriptor Gets the security descriptor of the external item with the given identity from the the given external system instance.
Public method GetSourceAssociations Gets the associations in which this external content type is a source.
Public method GetSpecificFinderView Gets the View for the given SpecificFinder.
Public method GetUpdaterView Gets the View for the given updater.

Top

See Also

Reference

IEntity Interface

Microsoft.BusinessData.MetadataModel Namespace