Table of Contents

Class KEFCoreComplexTypeConverterAttribute

Namespace
MASES.EntityFrameworkCore.KNet.Metadata
Assembly
MASES.EntityFrameworkCore.KNet.dll

Associates a IComplexTypeConverter implementation with this complex type, registering it in IComplexTypeConverterFactory at model finalization time.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct, AllowMultiple = false)]
public sealed class KEFCoreComplexTypeConverterAttribute : Attribute
Inheritance
KEFCoreComplexTypeConverterAttribute
Inherited Members

Remarks

Equivalent to calling HasKEFCoreComplexTypeConverter() via fluent API. The converter type must implement IComplexTypeConverter.

Constructors

KEFCoreComplexTypeConverterAttribute(Type)

Initializes a new instance of KEFCoreComplexTypeConverterAttribute.

public KEFCoreComplexTypeConverterAttribute(Type converterType)

Parameters

converterType Type

The Type implementing IComplexTypeConverter.

Properties

ConverterType

The converter type to register.

public Type ConverterType { get; }

Property Value

Type