{"repo":"dualbios/FileBaseContext","free":true,"listed":false,"github":"https://github.com/dualbios/FileBaseContext","clone":"git clone https://github.com/dualbios/FileBaseContext.git","description":"FileBaseContext is a provider of Entity Framework 7 & 8 & 9 to store database information in files.","language":"C#","stars":46,"topics":["data","filedb","orm","database","entity-framework-core"],"license":"MIT","category":"databases-storage","readme_excerpt":"FileBaseContext FileBaseContext is an Entity Framework Core provider to store database records in files. It was built for rapid development purposes. All information that is stored in files that can be added, updated or deleted manually. Benefits - you don't need a database - rapid modeling - version control supported - supports all serializable .NET types - unit tests Download https://www.nuget.org/packages/FileBaseContext/ Provider Version EF Core Version ---------------- --------------- 1.0.x 7 2.0.x thru 4.0.x 8 5.0.x thru 5.1.x 9 6.0.x 10 Configure Database Context add database context to services or configure the database context itself Configure Provider Named database Custom location Unit testing Since version 2.1.0 FileBaseContext injects access to the file system through System.IO.Abstractions library. It allows the use of the provider in unit tests. If you need to use the provider in unit tests, you can change IFileSystem to MockFileSystem in OnConfiguring method in datacontext class. Please find an example in the SimplePositiveTests class in the test project Update for 6.0.0 Upgraded to .NET 10 and EF Core 10 Update for 5.1.0 You can now specify serialization options in UseFileBaseContextDatabase , for example adding a converter like GeoJSON4STJ. This will enable you to use Spatial Data with the addition of the NetTopologySuite library. Update for 5.0.0 Upgraded to .NET 9 and EF Core 9 New in 4.0.0 Since version 4.0.0 the provider supports persisting data in CSV f","default_branch":null,"files":null,"tree":[],"storefront":"/r/dualbios","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dualbios/FileBaseContext/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}