Class SerializationMeta
Meta data for serialization like version, schema etc.
Inheritance
System.Object
SerializationMeta
Assembly: Eco.Core.dll
public class SerializationMeta : Object
Constructors
Declaration
public SerializationMeta()
Properties
Declaration
public ImmutableHashSet<string> AppliedMigrations { get; set; }
Property Value
Type |
Description |
System.Collections.Immutable.ImmutableHashSet<System.String> |
|
Declaration
public double OriginalVersion { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public string Schema { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public double Version { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public bool VersionOrSchemaChanged { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
Loads serialization meta from dataStore
.
Declaration
public static Task<SerializationMeta> LoadAsync(DataStore dataStore)
Parameters
Returns
Saves serialization meta to dataStore
.
Declaration
public Task SaveAsync(DataStore dataStore)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Extension Methods