Click or drag to resize

EntityRelationSetAliases Method

Sets the aliases for the start entity and the end entity formed by the fields stored in this entityrelation. The start entity and end entity are determined based on the type of the relation and the primary key / foreign key fields. Mainly used by RelationCollection.Add().

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax
public void SetAliases(
	string aliasStartEntity,
	string aliasEndEntity
)

Parameters

aliasStartEntity
Type: SystemString
the alias for the start entity in the relation. Alias is case sensitive. An alias with solely spaces or an empty string is ignored.
aliasEndEntity
Type: SystemString
the alias for the end entity in the relation Alias is case sensitive. An alias with solely spaces or an empty string is ignored.

Implements

IEntityRelationSetAliases(String, String)
See Also