Relations Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets a collection of relations that link tables and allow navigation from parent tables to child tables.

Namespace:  Microsoft.CommerceServer.Orders
Assembly:  Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)

Syntax

'Declaration
Public ReadOnly Property Relations As DataRelationCollection
'Usage
Dim instance As RegionCodeDataSet
Dim value As DataRelationCollection

value = instance.Relations
public DataRelationCollection Relations { get; }
public:
property DataRelationCollection^ Relations {
    DataRelationCollection^ get ();
}
public function get Relations () : DataRelationCollection

Property Value

Type: System.Data..::.DataRelationCollection
A DataRelationCollection containing the Relations within the orders system. An empty collection is returned if no DataRelation objects exist.

Remarks

Returns a DataRelationCollection object that enables navigation between related parent/child DataTable objects. Each relationship within the collection describes a parent-child relationship between objects.

Permissions

See Also

Reference

RegionCodeDataSet Class

RegionCodeDataSet Members

Microsoft.CommerceServer.Orders Namespace