FederationMasterDetailInfo.GetDetailedDescription() Method

Creates a text description of the current relation.

Namespace: DevExpress.DataAccess.DataFederation

Assembly: DevExpress.DataAccess.v20.2.dll

Declaration

public string GetDetailedDescription()
Public Function GetDetailedDescription As String

Returns

Type Description
String

A String that describes the relation.

Remarks

The code snippet below calls the GetDetailedDescription method to display the following relation information:

Orders master-detailed OrderDetail on OrderDetail.OrderID = Orders.OrderID

var relation = new FederationMasterDetailInfo()
{
    MasterQueryName = "Orders",
    DetailQueryName = "OrderDetail",
    KeyColumns = {
        new FederationRelationColumnInfo(){
            ParentKeyColumn="OrderID",
            NestedKeyColumn ="OrderID",
            ConditionOperator= FederationConditionType.Equal
            }
        }
};
Console.WriteLine(relation.GetDetailedDescription());
See Also