Click or drag to resize
DbContextSerializerReadJson Method
Read DbContextSerializer Json and convert into a Context with a deserialized backing database.

Namespace: ErrorUnit.JsonSerializer
Assembly: ErrorUnit (in ErrorUnit.dll) Version: 1.3.0
Syntax
C#
public override Object ReadJson(
	JsonReader reader,
	Type objectType,
	Object existingValue,
	JsonSerializer serializer
)

Parameters

reader
Type: JsonReader
the JsonReader reading the serialized json.
objectType
Type: SystemType
The DbContext type
existingValue
Type: SystemObject
existing value
serializer
Type: JsonSerializer
JsonSerializer to use

Return Value

Type: Object
Deserialized DbContext
See Also