Skip to main content
All docs
V26.1
  • FederationMasterDetailInfo.GetDetailedDescription() Method

    Creates a text description of the current relation.

    Namespace: DevExpress.DataAccess.DataFederation

    Assembly: DevExpress.DataAccess.v26.1.dll

    NuGet Package: DevExpress.DataAccess

    Declaration

    public string GetDetailedDescription()

    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