简体   繁体   中英

Linq2sql queries on tab separated datafile

How to use Linq2SQL Queries on Tab separated data sources?

I like to create a generic code base, where 2 tsv files can contain any # of columns, and once the linq query is passed to the program, it outputs the resultant data.

You can't LINQ to SQL is for communicating with SQL server databases. Maybe you mean LINQ generically, in which case I would direct you to: http://www.codeproject.com/Articles/25133/LINQ-to-CSV-library

This is technically for comma separated values, but modifying it to use TSV should be pretty straight forward.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM