Table of Contents

Class PropertyData

Namespace
MASES.EntityFrameworkCore.KNet.Serialization.Json.Storage
Assembly
MASES.EntityFrameworkCore.KNet.Serialization.dll

This is a supporting class used from DefaultValueContainer<TKey>

public class PropertyData : IJsonOnDeserialized
Inheritance
PropertyData
Implements
Inherited Members

Constructors

PropertyData()

Initialize a new instance of PropertyData

public PropertyData()

Remarks

It is mainly used from the JSON serializer

PropertyData(IProperty, object)

Initialize a new instance of PropertyData

public PropertyData(IProperty property, object value)

Parameters

property IProperty

The IProperty to be stored into PropertyData associated to value

value object

The data, built from EFCore, to be stored in the PropertyData

Remarks

This constructor is mandatory and it is used from DefaultValueContainer<TKey>

Properties

ClrType

The full name of the CLR Type of the IProperty

public string? ClrType { get; set; }

Property Value

string

ManagedType

public PropertyData.ManagedTypes? ManagedType { get; set; }

Property Value

PropertyData.ManagedTypes?

PropertyName

The name of the IProperty

public string? PropertyName { get; set; }

Property Value

string

Value

The raw value associated to the IProperty

public object? Value { get; set; }

Property Value

object

Methods

OnDeserialized()

The method that is called after deserialization.

public void OnDeserialized()