VOOZH about

URL: https://www.nuget.org/packages/ServantSoftware.EFCore.Csv/

⇱ NuGet Gallery | ServantSoftware.EFCore.Csv 1.0.1




ServantSoftware.EFCore.Csv 1.0.1

dotnet add package ServantSoftware.EFCore.Csv --version 1.0.1
 
 
NuGet\Install-Package ServantSoftware.EFCore.Csv -Version 1.0.1
 
 
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.1" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ServantSoftware.EFCore.Csv" Version="1.0.1" />
 
Directory.Packages.props
<PackageReference Include="ServantSoftware.EFCore.Csv" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ServantSoftware.EFCore.Csv --version 1.0.1
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ServantSoftware.EFCore.Csv, 1.0.1"
 
 
#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.
#:package ServantSoftware.EFCore.Csv@1.0.1
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ServantSoftware.EFCore.Csv&version=1.0.1
 
Install as a Cake Addin
#tool nuget:?package=ServantSoftware.EFCore.Csv&version=1.0.1
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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 . Refer to it for details connection string options.

Contributing

We're open to contributions! Please read 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 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 net10.0 net10.0 is compatible.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.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.1 95 6/12/2026
1.0.0.432 105 6/12/2026
1.0.0.431 136 5/17/2026
1.0.0.430 97 5/17/2026
1.0.0.429 98 5/17/2026
1.0.0.428 92 5/17/2026
1.0.0.427 99 5/17/2026
1.0.0.426 341 4/6/2026
1.0.0.425 111 4/6/2026
1.0.0.424 104 4/5/2026
1.0.0.423 184 3/23/2026
1.0.0.422 102 3/23/2026
1.0.0.421 99 3/23/2026
1.0.0.420 96 3/23/2026
1.0.0.419 99 3/22/2026
1.0.0.418 94 3/22/2026
1.0.0.417 100 3/22/2026
1.0.0.416 113 3/22/2026
1.0.0.415 101 3/22/2026
1.0.0.414 101 3/22/2026
Loading failed