Skip to main content

ITable.TryGetDetailRelation(String, out IRelation) Method

Returns a master-detail relation with the specified name using the relation parameter.

Namespace: DevExpress.DataAccess.Sql.DataApi

Assembly: DevExpress.DataAccess.v24.2.dll

Declaration

bool TryGetDetailRelation(
    string name,
    out IRelation relation
)

Parameters

Name Type Description
name String

A String value that specifies the name of the master-detail relation.

relation IRelation

An object implementing the IRelation interface that is the master-detail relation with the specified name.

Returns

Type Description
Boolean

true, if the master-detail relation with the specified name exists; otherwise, false.

See Also