MetaAssociation Class

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Represents an association relationship between two entity types.

Inheritance Hierarchy

System.Object
  System.Data.Linq.Mapping.MetaAssociation

Namespace:  System.Data.Linq.Mapping
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

Syntax

'Declaration
Public MustInherit Class MetaAssociation
public abstract class MetaAssociation

The MetaAssociation type exposes the following members.

Constructors

  Name Description
Protected methodSupported by Silverlight for Windows Phone MetaAssociation Initializes a new instance of the MetaAssociation class.

Top

Properties

  Name Description
Public propertySupported by Silverlight for Windows Phone DeleteOnNull Gets whether the object should be deleted when the association is set to null.
Public propertySupported by Silverlight for Windows Phone DeleteRule Gets the behavior when the child is deleted.
Public propertySupported by Silverlight for Windows Phone IsForeignKey Gets whether the other type is the parent of this type.
Public propertySupported by Silverlight for Windows Phone IsMany Gets whether the association represents a one-to-many relationship.
Public propertySupported by Silverlight for Windows Phone IsNullable Gets whether the association can be null.
Public propertySupported by Silverlight for Windows Phone IsUnique Gets whether the association is unique.
Public propertySupported by Silverlight for Windows Phone OtherKey Gets a list of members that represents the values on the other side of the association.
Public propertySupported by Silverlight for Windows Phone OtherKeyIsPrimaryKey Gets whether the OtherKey forms the identity of the other type.
Public propertySupported by Silverlight for Windows Phone OtherMember Gets the member on the other side of this association that represents the reverse association.
Public propertySupported by Silverlight for Windows Phone OtherType Gets the type on the other side of the association.
Public propertySupported by Silverlight for Windows Phone ThisKey Gets a list of members representing the values on this side of the association.
Public propertySupported by Silverlight for Windows Phone ThisKeyIsPrimaryKey Gets whether ThisKey forms the identity of this type.
Public propertySupported by Silverlight for Windows Phone ThisMember Gets the member on this side that represents the association.

Top

Methods

  Name Description
Public methodSupported by Silverlight for Windows Phone Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows Phone Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone GetType Gets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows Phone MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.