Click or drag to resize
RelationshipNameInfoProviderEnsureAdHocRelationshipNameInfo Method
Returns the ad-hoc relationship name object. Creates new if doesn't exist.

Namespace: CMS.Relationships
Assembly: CMS.Relationships (in CMS.Relationships.dll) Version: 9.0.0
Syntax
C#
public static RelationshipNameInfo EnsureAdHocRelationshipNameInfo(
	DataClassInfo classInfo,
	IField field
)

Parameters

classInfo
Type: CMS.DataEngineDataClassInfo
Data class info
field
Type: CMS.DataEngineIField
Field for ad-hoc relationship name

Return Value

Type: RelationshipNameInfo
See Also