ServantSoftware.EFCore.Csv
1.0.0.222
See the version list below for details.
dotnet add package ServantSoftware.EFCore.Csv --version 1.0.0.222
NuGet\Install-Package ServantSoftware.EFCore.Csv -Version 1.0.0.222
<PackageReference Include="ServantSoftware.EFCore.Csv" Version="1.0.0.222" />
paket add ServantSoftware.EFCore.Csv --version 1.0.0.222
#r "nuget: ServantSoftware.EFCore.Csv, 1.0.0.222"
// Install ServantSoftware.EFCore.Csv as a Cake Addin #addin nuget:?package=ServantSoftware.EFCore.Csv&version=1.0.0.222 // Install ServantSoftware.EFCore.Csv as a Cake Tool #tool nuget:?package=ServantSoftware.EFCore.Csv&version=1.0.0.222
ServantSoftware.EFCore.Csv
ServantSoftware.EFCore.Csv
is an EF Core provider that allows you to use CSV files as a data source. It's currently in an alpha state, primarily focusing on specific "happy paths" needed for our main product. We encourage community contributions to enhance its features and cover a broader range of scenarios.
Features
- Seamless integration with EF Core.
- Allows CSV files to act as data sources for EF Core.
- Optimized for specific scenarios to support the main product.
- Easy setup and configuration.
Getting Started
Prerequisites
- .NET 7.0 or later.
- EF Core compatible version.
Installation
Install the ServantSoftware.EFCore.Csv
provider using NuGet:
dotnet add package ServantSoftware.EFCore.Csv
Usage
After installing the package, you can configure your DbContext
to use the CSV provider:
public class MyDbContext : DbContext
{
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
var connectionString = new FileConnectionString() { DataSource = "path/to/your/data.json" };
optionsBuilder.UseCsv(connectionString);
}
}
This allows you to perform standard EF Core operations on your CSV data source. This provider is based on the CSV ADO.NET Provider. Refer to it for details connection string options.
Contributing
We're open to contributions! Please read contributing guidelines for details on our code of conduct, and the process for submitting pull requests.
Limitations
Being in its alpha state, the ServantSoftware.EFCore.Csv
provider primarily addresses specific scenarios vital for our product MockDB. Some advanced EF Core features might not be fully supported yet. We are eagerly awaiting community contributions to improve and extend its capabilities.
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
Acknowledgments
- Thanks to the .NET Foundation and EF Core teams for providing an exceptional framework.
- Huge thanks to all who are considering contributing to this nascent project!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- ServantSoftware.Data.Csv (>= 1.0.0.222)
- ServantSoftware.EFCore.FileBasedProviders.Common (>= 1.0.0.222)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0.268 | 39 | 11/1/2024 |
1.0.0.267 | 27 | 11/1/2024 |
1.0.0.266 | 27 | 11/1/2024 |
1.0.0.265 | 32 | 11/1/2024 |
1.0.0.264 | 29 | 11/1/2024 |
1.0.0.263 | 79 | 10/6/2024 |
1.0.0.262 | 108 | 10/6/2024 |
1.0.0.261 | 87 | 10/2/2024 |
1.0.0.260 | 83 | 10/2/2024 |
1.0.0.259 | 186 | 6/8/2024 |
1.0.0.258 | 164 | 4/17/2024 |
1.0.0.257 | 110 | 4/17/2024 |
1.0.0.256 | 109 | 4/17/2024 |
1.0.0.254 | 107 | 4/15/2024 |
1.0.0.253 | 90 | 4/15/2024 |
1.0.0.252 | 111 | 4/14/2024 |
1.0.0.251 | 101 | 4/14/2024 |
1.0.0.250 | 99 | 4/13/2024 |
1.0.0.249 | 107 | 4/13/2024 |
1.0.0.248 | 103 | 4/11/2024 |
1.0.0.247 | 98 | 4/11/2024 |
1.0.0.246 | 113 | 4/1/2024 |
1.0.0.245 | 105 | 4/1/2024 |
1.0.0.242 | 100 | 3/27/2024 |
1.0.0.241 | 98 | 3/27/2024 |
1.0.0.240 | 114 | 3/27/2024 |
1.0.0.239 | 105 | 3/27/2024 |
1.0.0.238 | 129 | 3/16/2024 |
1.0.0.237 | 117 | 3/16/2024 |
1.0.0.236 | 159 | 2/14/2024 |
1.0.0.235 | 182 | 12/20/2023 |
1.0.0.233 | 213 | 10/23/2023 |
1.0.0.232 | 121 | 10/23/2023 |
1.0.0.231 | 129 | 10/23/2023 |
1.0.0.230 | 123 | 10/23/2023 |
1.0.0.229 | 131 | 10/23/2023 |
1.0.0.228 | 136 | 10/22/2023 |
1.0.0.227 | 120 | 10/22/2023 |
1.0.0.226 | 139 | 10/22/2023 |
1.0.0.225 | 135 | 10/22/2023 |
1.0.0.224 | 132 | 10/22/2023 |
1.0.0.223 | 134 | 10/22/2023 |
1.0.0.222 | 126 | 10/22/2023 |
1.0.0.221 | 141 | 10/22/2023 |
1.0.0.220 | 133 | 10/21/2023 |
1.0.0.219 | 131 | 10/21/2023 |
1.0.0.218 | 130 | 10/21/2023 |
1.0.0.217 | 146 | 10/21/2023 |
1.0.0.216 | 120 | 10/21/2023 |
1.0.0.215 | 116 | 10/21/2023 |
1.0.0.214 | 124 | 10/21/2023 |
1.0.0.213 | 128 | 10/21/2023 |
1.0.0.212 | 126 | 10/21/2023 |
1.0.0.211 | 136 | 10/20/2023 |
1.0.0.210 | 128 | 10/20/2023 |
1.0.0.209 | 119 | 10/20/2023 |
1.0.0.208 | 128 | 10/20/2023 |
1.0.0.207 | 123 | 10/20/2023 |
1.0.0.206 | 144 | 10/20/2023 |
1.0.0.205 | 116 | 10/20/2023 |
1.0.0.204 | 127 | 10/19/2023 |
1.0.0.203 | 115 | 10/17/2023 |
1.0.0.202 | 123 | 10/10/2023 |
1.0.0.201 | 149 | 10/7/2023 |
1.0.0.200 | 137 | 10/3/2023 |
1.0.0.199 | 143 | 10/2/2023 |
1.0.0.198 | 139 | 10/2/2023 |
1.0.0.195 | 127 | 9/27/2023 |
1.0.0.194 | 129 | 9/27/2023 |
1.0.0.193 | 131 | 9/27/2023 |
1.0.0.192 | 136 | 9/27/2023 |
1.0.0.191 | 144 | 9/26/2023 |
1.0.0.189 | 133 | 9/22/2023 |
1.0.0.188 | 116 | 9/22/2023 |
1.0.0.187 | 134 | 9/22/2023 |
1.0.0.186 | 137 | 9/19/2023 |
1.0.0.185 | 131 | 9/18/2023 |
1.0.0.184 | 150 | 9/17/2023 |
1.0.0.183 | 145 | 9/17/2023 |
1.0.0.182 | 134 | 9/16/2023 |
1.0.0.181 | 127 | 9/15/2023 |
1.0.0.179 | 144 | 9/14/2023 |
1.0.0.178 | 155 | 9/14/2023 |
1.0.0.176 | 147 | 9/13/2023 |
1.0.0.175 | 160 | 9/9/2023 |
1.0.0.174 | 146 | 9/8/2023 |
1.0.0.173 | 155 | 9/1/2023 |
1.0.0.172 | 157 | 9/1/2023 |
1.0.0.171 | 137 | 8/31/2023 |
1.0.0.170 | 139 | 8/25/2023 |
1.0.0.169 | 144 | 8/24/2023 |