markrendle / Simple.Data

A light-weight, dynamic data access component for C# 4.0
MIT License
1.33k stars 303 forks source link

Support .NET Core #389

Open jpsingleton opened 8 years ago

jpsingleton commented 8 years ago

This is just to track support for .NET Core as it's been talked about here and here but I couldn't find an open issue tracking it.

If there are any updates then please send a PR to https://github.com/jpsingleton/ANCLAFS and I'll update https://anclafs.com.

Cheers

h0wXD commented 5 years ago

In one of the articles is mentioned porting 0.19 to core would be a mammoth task, this is no longer true. I got Simple.Data master running on .net core 2.1 for SqlServer within a very short time (1 hour~). Someone may look at fully porting it properly as I just wanted to know if it would work out of the box and it does.

For people interested in what changes were needed, have a look here: https://github.com/h0wXD/Simple.Data/commit/fffc3c9eed3ac42977d1e3b84b4ab40bfdacd387

Thanks for this awesome library!

jdscolam commented 5 years ago

This is nearly the last thing that is keeping us from adopting .NET Core.

j-hudecek commented 5 years ago

I've made some more conversions and managed to get most of the tests to pass - I had to remove SQL CE (no one uses it anyway) though:

https://github.com/j-hudecek/Simple.Data/commit/671262aaeef88cd200875248adf5210c46342744

santoshbhor commented 4 years ago

Guys I was able to get everything working with .Net core (2.1,2.2,3.0 preview 9) Please check my repo: https://github.com/santoshbhor/Simple.Data.Core... Currently Following adapters were ported and tested as well SQLServer,Oracle,Npgsql, RawSql