Skip to main content

MasterDetailInfo.GenerateName() Method

Generates the default name for the master-detail relationship.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v24.1.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

public string GenerateName()

Returns

Type Description
String

A String value, specifying the relationship name.

Remarks

If the MasterDetailInfo.HasCustomName property returns true, the relationship name is specified via the MasterDetailInfo.Name property.

If the MasterDetailInfo.HasCustomName property returns false, the GenerateName method is called internally to create the relationship name.

See Also