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.v20.2.dll

Declaration

bool TryGetDetailRelation(
    string name,
    out IRelation relation
)
Function TryGetDetailRelation(
    name As String,
    ByRef relation As IRelation
) As Boolean

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