Git Product home page Git Product logo

Comments (23)

maxtoroq avatar maxtoroq commented on July 23, 2024 2

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.

from dbextensions.

Gillardo avatar Gillardo commented on July 23, 2024 1

@maxtoroq i am guessing there is no nuget package for this yet? I have to build from source and reference in my project?

from dbextensions.

TwitchBronBron avatar TwitchBronBron commented on July 23, 2024 1

@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?

from dbextensions.

maxtoroq avatar maxtoroq commented on July 23, 2024 1

I've just published 6.2.0-preview1 which supports netcore2.1. Cannot do netstandard2.0 until it includes DbProviderFactories. @Gillardo @TwitchBronBron @damiensawyer

from dbextensions.

maxtoroq avatar maxtoroq commented on July 23, 2024 1

Leaning towards waiting for netstandard2.1

from dbextensions.

TwitchBronBron avatar TwitchBronBron commented on July 23, 2024 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 .

from dbextensions.

maxtoroq avatar maxtoroq commented on July 23, 2024 1

v6.2.0-preview3 now supports both .NET Core 2.1 and .NET Standard 2.1

from dbextensions.

maxtoroq avatar maxtoroq commented on July 23, 2024

Not using .net core anytime soon.

from dbextensions.

Worldcycler avatar Worldcycler commented on July 23, 2024

.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.

from dbextensions.

maxtoroq avatar maxtoroq commented on July 23, 2024

@Worldcycler ask your employer to support open source.

from dbextensions.

maxtoroq avatar maxtoroq commented on July 23, 2024

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.

from dbextensions.

maxtoroq avatar maxtoroq commented on July 23, 2024

Planning on supporting .NET Core 2.0, waiting for RTM. Need testers though.

from dbextensions.

Gillardo avatar Gillardo commented on July 23, 2024

Happy to be involved, whether means testing or coding.

from dbextensions.

maxtoroq avatar maxtoroq commented on July 23, 2024

@Gillardo Great. Stay tuned.

from dbextensions.

maxtoroq avatar maxtoroq commented on July 23, 2024

.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.

from dbextensions.

Gillardo avatar Gillardo commented on July 23, 2024

Thanks @maxtoroq will look at using this shortly

from dbextensions.

maxtoroq avatar maxtoroq commented on July 23, 2024

@Gillardo Yep.

from dbextensions.

maxtoroq avatar maxtoroq commented on July 23, 2024

@TwitchBronBron I'd be happy to pack a pre-release if someone does some testing to make sure it actually works.

from dbextensions.

TwitchBronBron avatar TwitchBronBron commented on July 23, 2024

@maxtoroq I'd be more than willing to do some testing to verify it actually works. Let me know how I can help!

from dbextensions.

maxtoroq avatar maxtoroq commented on July 23, 2024

@TwitchBronBron I just need someone to use it successfully in a real .NET Core project.

from dbextensions.

damiensawyer avatar damiensawyer commented on July 23, 2024

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".

from dbextensions.

doriant avatar doriant commented on July 23, 2024

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.

from dbextensions.

maxtoroq avatar maxtoroq commented on July 23, 2024

Shipped in v6.2.0

from dbextensions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.