Table of Contents

Class ValueConverterAttribute

Namespace
NextORM.Core
Assembly
nextorm.core.dll

Declares the IPropertyValueConverter applied to a mapped property. The converter type must be a non-abstract class implementing IPropertyValueConverter with a public parameterless constructor.

[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public sealed class ValueConverterAttribute : Attribute
Inheritance
ValueConverterAttribute
Inherited Members
Extension Methods

Constructors

ValueConverterAttribute(Type)

Creates the attribute for the given converter type.

public ValueConverterAttribute(Type converterType)

Parameters

converterType Type

The converter type; a non-abstract IPropertyValueConverter implementation.

Properties

ConverterType

The converter type applied to the property.

public Type ConverterType { get; }

Property Value

Type