Registers extension extensionType for entity entityType.

Namespace: Xafari
Assembly: Xafari.XF (in Xafari.XF.dll)

Syntax

C#

public EntityExtensionInfo RegisterExtension(
   TypeentityType,
   TypeextensionType,
   stringpropertyName = null,
   stringbackPropertyName = null,
   ExpandObjectMembersexpandObjectMembers = ExpandObjectMembers.Never,
   boolautoCreate = true
)

Parameters

entityType

Type of entity

extensionType

Type of extension

propertyName

Specifies property name for extension

backPropertyName

Specifies entity back property name

expandObjectMembers

Specifies strategy to display extensions on entity detail view. By default, Never.

autoCreate

Specifies how eextension instance creating. By default, true.

 

 

 

See Also