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
Represents the CLR type of the property in the EF Core schema of the EntityType, null for well-known types
public string ClrType { get; set; }
Property Value
ManagedType
Represents the internal KEFCore type associated to the property in the EF Core schema of the EntityType
public int ManagedType { get; set; }
Property Value
PropertyIndex
Represents the index of the property in the EF Core schema of the EntityType
public int? PropertyIndex { get; set; }
Property Value
- int?
PropertyName
Represents the name of the property in the EF Core schema of the EntityType
public string PropertyName { get; set; }
Property Value
Schema
Schema of this instance.
public virtual Schema Schema { get; }
Property Value
- Schema
SupportNull
true if the ManagedType shall support null, e.g. Nullable type in .NET
public bool SupportNull { get; set; }
Property Value
Value
public object Value { get; set; }
Property Value
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
fieldPosintPosition 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)