FederationMasterDetailInfo.GetDetailedDescription() Method
Creates a text description of the current relation.
Namespace: DevExpress.DataAccess.DataFederation
Assembly: DevExpress.DataAccess.v24.1.dll
NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap
Declaration
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