### Summary
Adds a generic entity persistence. This can be used to create new entity types that have a `Serial`.
Here is an example:
```cs
public class BOBEntries : GenericEntitySerialization<IBOBEntry>
{
public static void Configure()
{
Configure("BOBEntries");
}
}
```
The annotation tells the system what folder to serialize the entries to. The class/interface (`IBOBEntry`) is the root type that implements `ISerializable`.
16 lines
No EOL
367 B
JSON
Generated
16 lines
No EOL
367 B
JSON
Generated
{
|
|
"version": 1,
|
|
"type": "Server.Engines.BulkOrders.BOBLargeEntry",
|
|
"properties": [
|
|
{
|
|
"name": "Entries",
|
|
"type": "Server.Engines.BulkOrders.BOBLargeSubEntry[]",
|
|
"rule": "ArrayMigrationRule",
|
|
"ruleArguments": [
|
|
"Server.Engines.BulkOrders.BOBLargeSubEntry",
|
|
"RawSerializableMigrationRule",
|
|
""
|
|
]
|
|
}
|
|
]
|
|
} |