FederationMasterDetailInfo.GetDetailedDescription() Method
Creates a text description of the current relation.
Namespace: DevExpress.DataAccess.DataFederation
Assembly: DevExpress.DataAccess.v24.2.dll
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