Share via


Association Members

Include Protected Members
Include Inherited Members

Represents a relationship between two or more related entities.

The Association type exposes the following members.

Properties

  Name Description
Public property DefaultDisplayName Gets the default display name of the metadata object. (Inherited from MetadataObject.)
Public property DestinationEntity Gets the destination entity in an association.
Public property Id Gets the unique ID of the metadata object from the metadata repository. (Inherited from MetadataObject.)
Public property IsCached Indicates whether this metadata object is cached or not. (Inherited from MetadataObject.)
Public property LocalizedDisplayName Gets or sets the localized display name for the metadata object. (Inherited from MetadataObject.)
Public property LocalizedDisplayNames Gets all the localized display names available for this metadata object. (Inherited from MetadataObject.)
Public property Method Returns the method the method instance belongs to. (Inherited from MethodInstance.)
Public property MethodId Returns the ID of the method the method instance belongs to. (Inherited from MethodInstance.)
Public property MethodInstanceType Sets or gets the type of the method instance. (Inherited from MethodInstance.)
Public property Name Gets or sets the name of the metadata object. (Inherited from MetadataObject.)
Public property Properties Gets all the properties that belong to this metadata object. (Inherited from MetadataObject.)
Public property ReturnTypeDescriptor Gets or sets the return TypeDescriptor of the association method. (Overrides MethodInstance.ReturnTypeDescriptor.)
Public property SourceEntities Gets the source entities in an association.

Top

Methods

  Name Description
Public method ContainsLocalizedDisplayName Indicates whether the metadata object contains a localized display name. (Inherited from MetadataObject.)
Public method CopyAclAcrossChildren A virtual method that is designed to copy the list of access control entries (ACEs) associated with the metadata object to all of its children metadata objects. Each individually securable metadata object inherits from this class and provides its own implementation of this method. (Inherited from IndividuallySecurableMetadataObject.)
Public methodStatic member Create
Public method Delete Deletes an association object. (Overrides MethodInstance.Delete().)
Protected method DeleteInternal When overridden in a derived class, deletes the metadata object and all of its children as per the specified SQL command. (Inherited from MetadataObject.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAccessControlList A virtual method that is designed to return the list of access control entries (ACEs) associated with the metadata object registered in the Business Data Catalog. Each individually securable metadata object inherits from this class and provides its own implementation of this method. (Inherited from IndividuallySecurableMetadataObject.)
Public methodStatic member GetById Gets an Association object given its ID.
Public methodStatic member GetByName
Public method GetHashCode (Inherited from Object.)
Protected method GetIndividuallySecurableMetadataObjectChildren Returns the individually securable metadata objects. (Inherited from MethodInstance.)
Protected method GetNearestIndividuallySecurableMetadataObjectAncestor Returns the nearest individually securable ancestor. Of the 13 metadata objects, only LobSystem, Entity, Method, and MethodInstance have their own individually securable access control list (ACL). Other metadata objects inherit the ACL from their immediate individually securable parent. (Inherited from IndividuallySecurableMetadataObject.)
Public method GetType (Inherited from Object.)
Protected method IsPrimitive Indicates whether the metadata object is of the specified primitive type. (Inherited from MetadataObject.)
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member MergeXml
Public method Read Reads an Association object from the metadata database, overwriting the current value of the fields of the object with whatever was present in the database. (Overrides MethodInstance.Read().)
Protected method ReadInternal When overridden in a derived class, reads the metadata object from the metadata repository and creates an object. (Inherited from MetadataObject.)
Public methodStatic member ReadXml Reads an Association object from an XML stream.
Public method SetAccessControlList Sets the access control list for an individually securable metadata object. (Inherited from IndividuallySecurableMetadataObject.)
Public method ToString (Inherited from Object.)
Public method Update Updates changes in the fields of an Association object by writing them to the metadata database. (Overrides MethodInstance.Update().)
Protected method UpdateInternal Infrastructure. (Inherited from MethodInstance.)
Public method WriteXml Writes an Association object to the XML stream. (Overrides MethodInstance.WriteXml(XmlWriter, PackageContents).)
Public method WriteXmlLocalizedNames Writes the specified XML fragment containing localized names in the metadata repository. (Inherited from MetadataObject.)
Public method WriteXmlProperties Writes the specified XML fragment containing properties in the metadata repository. (Inherited from MetadataObject.)
Public method WriteXmlSecurity(XmlWriter) Writes the XML fragment containing security information to the metadata repository. (Inherited from IndividuallySecurableMetadataObject.)
Public method WriteXmlSecurity(XmlWriter, PackageContents) Writes the XML fragment containing security information. (Inherited from AccessControlledMetadataObject.)

Top

Fields

  Name Description
Public fieldStatic member EntityRoleDestination A constant that represents a destination entity.
Public fieldStatic member EntityRoleSource A constant that represents a source entity.
Protected field version Represents the version number of the metadata object. (Inherited from MetadataObject.)

Top

See Also

Reference

Association Class

Microsoft.Office.Server.ApplicationRegistry.Administration Namespace