Closed Gillardo closed 4 years ago
Not using .net core anytime soon.
.net core is now allready RC2 and supported by Microsoft on production environments. It would be great if there could be a .Net Core version.
@Worldcycler ask your employer to support open source.
I plan on supporting .NET Core on v6 , but only including SqlBuilder, SqlSet and Database. SqlTable depends on System.Data.Linq.Mapping, if anyone wants to fork it from referencesource and make it work on .NET Core then I'd be happy to use it . Just released preview2 of v6, including its own (forked from System.Data.Linq.Mapping) metadata implementation and attributes. Now waiting for next .NET Core release for some missing APIs.
Planning on supporting .NET Core 2.0, waiting for RTM. Need testers though.
Happy to be involved, whether means testing or coding.
@Gillardo Great. Stay tuned.
.NET Standard 2.0 does not include DbProviderFactories
, see dotnet/corefx#20903 and dotnet/standard#356
Need to investigate what other ORMs are doing as a workaround, or keep waiting.
Using convention-based DbProviderFactories
. Will work for most providers.
@Gillardo The dev-netstd
branch has a new project called DbExtensions.netstd
. Give it a try and let me know how it goes.
Thanks @maxtoroq will look at using this shortly
@maxtoroq i am guessing there is no nuget package for this yet? I have to build from source and reference in my project?
@Gillardo Yep.
@maxtoroq if I did the work to set up appveyor scripts, would you be open to publishing nightly prerelease dotnet core versions of this library to nuget or myget so we don't have to pull down and compile ourselves?
@TwitchBronBron I'd be happy to pack a pre-release if someone does some testing to make sure it actually works.
@maxtoroq I'd be more than willing to do some testing to verify it actually works. Let me know how I can help!
@TwitchBronBron I just need someone to use it successfully in a real .NET Core project.
If anyone is interested, I 'think' that I got it working ish in netstandard 2.0. I've not published a nuget, however the code is https://github.com/damiensawyer/dbextensionscore/commits/master Basically I created a netstandard2.0 project, copied in the code, deleted anything that wouldn't compile, added it to our other project and all our tests passed. I have no idea what the code did that I deleted... but what remains "works for us with the basics".
I've just published 6.2.0-preview1 which supports netcore2.1
. Cannot do netstandard2.0
until it includes DbProviderFactories
. @Gillardo @TwitchBronBron @damiensawyer
Leaning towards waiting for netstandard2.1
@maxtoroq we've been using 6.2.0-preview1 at work for a few weeks now (in development), and it seems to be working great with the parts we use. Thanks for getting that put together .
Hello! Can anybody help me? I use the DbExtensions framework in my plugin for NopCommerce 4.10 which uses the .net core 2.1 platform. I installed the DbExtensions (v6.2.0-preview2) from the Package Manager console and added the appropriate namespace in my class. Visual Studio sees DbExtensions but when I try to call a class from it ('Database' for example), I get an exception: 'Could not load file or assembly 'DbExtensions, Version=6.2.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.' Maybe I missed something? Thanks.
v6.2.0-preview3 now supports both .NET Core 2.1 and .NET Standard 2.1
Shipped in v6.2.0
Is there going to be a version of this created that will support dotnet core?