Description
This library makes it easy to use CSV files with LINQ queries. Its features include:
Follows the most common rules for CSV files. Correctly handles data fields that contain commas and line breaks.
In addition to comma, most delimiting characters can be used, including the tab for tab delimited fields.
Can be used with an IEnumarable of an anonymous class - which is often returned by a LINQ query.
Supports deferred reading.
Supports processing files with international date and number formats.
Supports different character encodings if you need them.
Recognises a wide variety of date and number formats when reading files.
Provides fine control of date and number formats when writing files.
Robust error handling, allowing you to quickly find and fix problems in large input files.
LINQtoCSV alternatives and similar packages
Based on the "ORM" category.
Alternatively, view LINQtoCSV alternatives based on common mentions on social networks and blogs.
-
TypeORM
Data-Mapper ORM for TypeScript and JavaScript (ES7, ES6, ES5). Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, WebSQL databases. Works in Node.js and Browser. -
Entity Framework
Object-relational mapper that enables .NET developers to work with relational data using domain-specific objects -
FreeSql
FreeSql is the ORM in .NetCore, .NetFramework, And Xamarin. It supports Mysql, Postgresql, SqlServer, Oracle, Sqlite, Odbc, 达梦, And MsAccess. -
Fluent NHibernate
Fluent, XML-less, compile safe, automated, convention-based mappings for NHibernate. -
LINQ to DB
The fastest LINQ database access library offering a simple, light, fast, and type-safe layer between your POCO objects and your database. -
Dapper Extensions
Small library that complements Dapper by adding basic CRUD operations (Get, Insert, Update, Delete) for your POCOs -
Entity Framework 6
Object-relational mapper that enables .NET developers to work with relational data using domain-specific objects -
NPoco
Simple microORM that maps the results of a query onto a POCO object. Based on Schotime's branch of PetaPoco -
SmartSql
SmartSql = MyBatis + Cache(Memory | Redis)+ ZooKeeper + R / W Splitting + Dynamic Repository .... -
SQLProvider
A general F# SQL database erasing type provider, supporting LINQ queries, schema exploration, individuals, CRUD operations and much more besides. -
MongoDB Repository pattern implementation
Repository abstraction layer on top of Official MongoDB C# driver -
DbExtensions
Data-access framework with a strong focus on query composition, granularity and code aesthetics. -
JsonFlatFileDataStore
Simple JSON flat file data store with support for typed and dynamic data. -
NReco.Data
Lightweight provider-independent DAL for .NET Core: abstract query, SQL command builder, CRUD operations, object mapping.. -
MicroLite ORM
MicroLite ORM is a micro Object Relational Mapper for the .NET framework. It is designed to be easy to use, extensible and testable. -
Linq.Expression.Optimizer
System.Linq.Expression expressions optimizer. -
EntityFramework.DatabaseMigrator
EntityFramework.DatabaseMigrator is a WinForms utility to help manage Entity Framework 6.0+ migrations. -
Entity Framework Core
Object-relational mapper that enables .NET developers to work with relational data using domain-specific objects -
LLBLGen Pro
Entity Modeling solution for Entity Framework, NHibernate, Linq to SQL and its own ORM framework: LLBLGen Pro Runtime Framework. [$][Free Lite version]
Pixel-Perfect Multi-Platform Applications with C# and XAML
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of LINQtoCSV or a related project?
README
LINQtoCSV
This library makes it easy to use CSV files with LINQ queries. Its features include:
- Follows the most common rules for CSV files. Correctly handles data fields that contain commas and line breaks.
- In addition to comma, most delimiting characters can be used, including tab for tab delimited fields.
- Can be used with an IEnumarable of an anonymous class - which is often returned by a LINQ query.
- Supports deferred reading.
- Supports processing files with international date and number formats.
- Supports different character encodings if you need them.
- Recognizes a wide variety of date and number formats when reading files.
- Provides fine control of date and number formats when writing files.
- Robust error handling, allowing you to quickly find and fix problems in large input files.
Full documentation is at http://www.codeproject.com/Articles/25133/LINQ-to-CSV-library
License
Contributors welcome
All contributions are welcome, whether those are new features or bug fixes.
Before you invest time in your feature or bug fix, please first raise the issue in the issues list to get feedback about your idea: https://github.com/mperdeck/LINQtoCSV/issues
For bugs, show how the bug can be reproduced. For features, show why it would be useful to the wider community.
Introducing a new feature involves more than simply coding the new feature. For every new feature, the following needs to be done:
- Code the feature (obviously);
- Update the documentation in the article.htm file, including the history section at the end;
- Add unit tests to the LINQtoCSV project, to ensure future code changes don't break your feature.
*Note that all licence references and agreements mentioned in the LINQtoCSV README section above
are relevant to that project's source code only.