Export (0) Print
Expand All

DataRelation Members

DataRelation overview

Public Constructors

public constructorDataRelation Constructor

Supported by the .NET Compact Framework.

Overloaded. Initializes a new instance of the DataRelation class.

Public Properties

public propertyChildColumns

Supported by the .NET Compact Framework.

Gets the child DataColumn objects of this relation.
public propertyChildKeyConstraint

Supported by the .NET Compact Framework.

Gets the ForeignKeyConstraint for the relation.
public propertyChildTable

Supported by the .NET Compact Framework.

Gets the child table of this relation.
public propertyDataSet

Supported by the .NET Compact Framework.

Gets the DataSet to which the DataRelation belongs.
public propertyExtendedProperties

Supported by the .NET Compact Framework.

Gets the collection that stores customized properties.
public propertyNested

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether DataRelation objects are nested.
public propertyParentColumns

Supported by the .NET Compact Framework.

Gets an array of DataColumn objects that are the parent columns of this DataRelation.
public propertyParentKeyConstraint

Supported by the .NET Compact Framework.

Gets the UniqueConstraint that ensures values in the parent column of a DataRelation are unique.
public propertyParentTable

Supported by the .NET Compact Framework.

Gets the parent DataTable of this DataRelation.
public propertyRelationName

Supported by the .NET Compact Framework.

Gets or sets the name used to retrieve a DataRelation from the DataRelationCollection.

Public Methods

public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodToString

Supported by the .NET Compact Framework.

Overridden. Gets the RelationName, if one exists.

Protected Methods

protected methodCheckStateForProperty

Supported by the .NET Compact Framework.

Ensures that the DataRelation is a valid object.
protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

DataRelation Class | System.Data Namespace

Show:
© 2014 Microsoft