Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SqlDataSourceUIHelper.ManageRelations(SqlDataSource) Method

Invokes the Master-Detail Relations Editor to specify the key data fields by which a pair of queries is related.

Namespace: DevExpress.DataAccess.UI.Sql

Assembly: DevExpress.DataAccess.v24.2.UI.dll

NuGet Package: DevExpress.DataAccess.UI

#Declaration

public static bool ManageRelations(
    this SqlDataSource sqlDataSource
)

#Parameters

Name Type Description
sqlDataSource SqlDataSource

A SqlDataSource object, specifying the database connection.

#Returns

Type Description
Boolean

true, if the dialog was finished by clicking the OK button; otherwise, false.

#Remarks

After adding two or more queries to a data connection, it becomes possible to configure their data relations by using the Master-Detail Relations Editor (invoked by calling the SqlDataSourceUIHelper.ManageRelations method of the SqlDataSourceUIHelper class).

data-access-sql-data-source-ui-master-detail-relation-editor

See Also