Table of Contents

Class PropertyDataRecord

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

Represents the single container for Entity properties stored in AvroValueContainer and used from KEFCore

public class PropertyDataRecord : ISpecificRecord
Inheritance
PropertyDataRecord
Implements
ISpecificRecord
Inherited Members

Fields

_SCHEMA

public static Schema _SCHEMA

Field Value

Schema

Properties

ClrType

public string ClrType { get; set; }

Property Value

string

PropertyIndex

public int PropertyIndex { get; set; }

Property Value

int

PropertyName

public string PropertyName { get; set; }

Property Value

string

Schema

Schema of this instance.

public virtual Schema Schema { get; }

Property Value

Schema

Value

public object Value { get; set; }

Property Value

object

Methods

Get(int)

Return the value of a field given its position in the schema. This method is not meant to be called by user code, but only by Avro.Specific.SpecificDatumReader<T> implementations.

public virtual object Get(int fieldPos)

Parameters

fieldPos int

Position of the field.

Returns

object

Value of the field.

Put(int, object)

Set the value of a field given its position in the schema. This method is not meant to be called by user code, but only by Avro.Specific.SpecificDatumWriter<T> implementations.

public virtual void Put(int fieldPos, object fieldValue)

Parameters

fieldPos int

Position of the field.

fieldValue object

Value of the field.