RegisterExtensionAttribute Class

Specifies register entity extension parameters.

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

  • c#
  • VB

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)] public class RegisterExtensionAttribute : RegisterEntityAttribute

<AttributeUsage(AttributeTargets.[Class] Or AttributeTargets.[Interface])> _
Public Class RegisterExtensionAttribute
  Inherits RegisterEntityAttribute
End Class

Name Description
msdn2017/pubproperty AutoCreate Specifies how extension instance creating. By default, true.
msdn2017/pubproperty BackPropertyName Specifies entity back reference property name which will be added to extension.
msdn2017/pubproperty BaseType Specifies base type for generated persistent class. (inherited from RegisterEntityAttribute).
msdn2017/pubproperty EntityName Specifies entity table name. Type name is used by default. (inherited from RegisterEntityAttribute).
msdn2017/pubproperty EntityType Specifies entity Type.
msdn2017/pubproperty ExpandObjectMembers Specifies strategy to display extensions on entity detail view. By default, Never.
msdn2017/pubproperty Namespace Specifies namespace for entity table. (inherited from RegisterEntityAttribute).
msdn2017/pubproperty PropertyName Specifies extension reference property name which will be added to entity.
msdn2017/pubproperty StaticExtensionsType Specifies the static method extensions Type which used by entity-extension navigation.
Top

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1