morrisjdev / FileContextCore

FileContextCore is a "Database"-Provider for Entity Framework Core and adds the ability to store information in files instead of being limited to databases.
Apache License 2.0
169 stars 45 forks source link

Custom ISerializer - binary file #16

Closed codemonkey85 closed 4 years ago

codemonkey85 commented 4 years ago

Hello,

I was wondering if you might consider opening the ISerializer interface and allowing UseFileContextDatabase() to accept a custom ISerializer. My specific aim is to use a custom binary serializer so I can use a binary file as my database. My DbContext would have DbSets of classes that have been written using StructLayout annotations.

morrisjdev commented 4 years ago

Good point. I'll take a look into it.

morrisjdev commented 4 years ago

Hi.

The version 3.3.0 of FileContextCore now supports custom ISerializer, IFileManager and IStoreManager. Feel free to take a look and let me know what you think about it.

Thank you for the idea.

Best regards

Morris

codemonkey85 commented 4 years ago

Very cool. Thank you!