ServantSoftware.EFCore.Csv 1.0.0.277

There is a newer version of this package available.
See the version list below for details.
dotnet add package ServantSoftware.EFCore.Csv --version 1.0.0.277                
NuGet\Install-Package ServantSoftware.EFCore.Csv -Version 1.0.0.277                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ServantSoftware.EFCore.Csv" Version="1.0.0.277" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ServantSoftware.EFCore.Csv --version 1.0.0.277                
#r "nuget: ServantSoftware.EFCore.Csv, 1.0.0.277"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ServantSoftware.EFCore.Csv as a Cake Addin
#addin nuget:?package=ServantSoftware.EFCore.Csv&version=1.0.0.277

// Install ServantSoftware.EFCore.Csv as a Cake Tool
#tool nuget:?package=ServantSoftware.EFCore.Csv&version=1.0.0.277                

ServantSoftware.EFCore.Csv

Nuget

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 SettingsOnEF and our main product, MockDB. 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 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.298 75 1/8/2025
1.0.0.297 80 1/7/2025
1.0.0.296 132 12/18/2024
1.0.0.295 79 12/18/2024
1.0.0.294 87 12/18/2024
1.0.0.293 82 12/18/2024
1.0.0.289 95 12/17/2024
1.0.0.288 87 12/16/2024
1.0.0.287 97 12/16/2024
1.0.0.286 88 12/14/2024
1.0.0.285 86 12/14/2024
1.0.0.284 91 12/11/2024
1.0.0.283 80 12/11/2024
1.0.0.282 79 12/10/2024
1.0.0.281 77 12/10/2024
1.0.0.280 79 12/10/2024
1.0.0.279 107 11/18/2024
1.0.0.278 97 11/15/2024
1.0.0.277 89 11/15/2024
1.0.0.276 89 11/15/2024
1.0.0.275 97 11/13/2024
1.0.0.274 96 11/13/2024
1.0.0.273 98 11/12/2024
1.0.0.272 104 11/11/2024
1.0.0.271 92 11/5/2024
1.0.0.270 104 11/5/2024
1.0.0.269 100 11/5/2024
1.0.0.268 108 11/1/2024
1.0.0.267 88 11/1/2024
1.0.0.266 89 11/1/2024
1.0.0.265 104 11/1/2024
1.0.0.264 88 11/1/2024
1.0.0.263 97 10/6/2024
1.0.0.262 144 10/6/2024
1.0.0.261 105 10/2/2024
1.0.0.260 101 10/2/2024
1.0.0.259 215 6/8/2024
1.0.0.258 179 4/17/2024
1.0.0.257 125 4/17/2024
1.0.0.256 119 4/17/2024
1.0.0.254 118 4/15/2024
1.0.0.253 101 4/15/2024
1.0.0.252 124 4/14/2024
1.0.0.251 113 4/14/2024
1.0.0.250 113 4/13/2024
1.0.0.249 119 4/13/2024
1.0.0.248 118 4/11/2024
1.0.0.247 111 4/11/2024
1.0.0.246 126 4/1/2024
1.0.0.245 116 4/1/2024
1.0.0.242 111 3/27/2024
1.0.0.241 109 3/27/2024
1.0.0.240 126 3/27/2024
1.0.0.239 115 3/27/2024
1.0.0.238 142 3/16/2024
1.0.0.237 128 3/16/2024
1.0.0.236 173 2/14/2024
1.0.0.235 191 12/20/2023
1.0.0.233 227 10/23/2023
1.0.0.232 130 10/23/2023
1.0.0.231 138 10/23/2023
1.0.0.230 132 10/23/2023
1.0.0.229 140 10/23/2023
1.0.0.228 145 10/22/2023
1.0.0.227 133 10/22/2023
1.0.0.226 148 10/22/2023
1.0.0.225 144 10/22/2023
1.0.0.224 141 10/22/2023
1.0.0.223 145 10/22/2023
1.0.0.222 135 10/22/2023
1.0.0.221 150 10/22/2023
1.0.0.220 142 10/21/2023
1.0.0.219 142 10/21/2023
1.0.0.218 139 10/21/2023
1.0.0.217 155 10/21/2023
1.0.0.216 131 10/21/2023
1.0.0.215 125 10/21/2023
1.0.0.214 133 10/21/2023
1.0.0.213 137 10/21/2023
1.0.0.212 135 10/21/2023
1.0.0.211 150 10/20/2023
1.0.0.210 138 10/20/2023
1.0.0.209 129 10/20/2023
1.0.0.208 138 10/20/2023
1.0.0.207 135 10/20/2023
1.0.0.206 155 10/20/2023
1.0.0.205 125 10/20/2023
1.0.0.204 136 10/19/2023
1.0.0.203 124 10/17/2023
1.0.0.202 134 10/10/2023
1.0.0.201 158 10/7/2023
1.0.0.200 147 10/3/2023
1.0.0.199 153 10/2/2023
1.0.0.198 149 10/2/2023
1.0.0.195 136 9/27/2023
1.0.0.194 140 9/27/2023
1.0.0.193 142 9/27/2023
1.0.0.192 145 9/27/2023
1.0.0.191 153 9/26/2023
1.0.0.189 143 9/22/2023
1.0.0.188 126 9/22/2023
1.0.0.187 146 9/22/2023
1.0.0.186 147 9/19/2023
1.0.0.185 143 9/18/2023
1.0.0.184 163 9/17/2023
1.0.0.183 157 9/17/2023
1.0.0.182 144 9/16/2023
1.0.0.181 142 9/15/2023
1.0.0.179 156 9/14/2023
1.0.0.178 165 9/14/2023
1.0.0.176 162 9/13/2023
1.0.0.175 171 9/9/2023
1.0.0.174 157 9/8/2023
1.0.0.173 166 9/1/2023
1.0.0.172 167 9/1/2023
1.0.0.171 147 8/31/2023
1.0.0.170 149 8/25/2023
1.0.0.169 154 8/24/2023