Comments (23)
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.
@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.
@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.
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.
Leaning towards waiting for netstandard2.1
from dbextensions.
@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.
v6.2.0-preview3 now supports both .NET Core 2.1 and .NET Standard 2.1
from dbextensions.
Not using .net core anytime soon.
from dbextensions.
.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.
@Worldcycler ask your employer to support open source.
from dbextensions.
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.
Planning on supporting .NET Core 2.0, waiting for RTM. Need testers though.
from dbextensions.
Happy to be involved, whether means testing or coding.
from dbextensions.
@Gillardo Great. Stay tuned.
from dbextensions.
.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.
Thanks @maxtoroq will look at using this shortly
from dbextensions.
@Gillardo Yep.
from dbextensions.
@TwitchBronBron I'd be happy to pack a pre-release if someone does some testing to make sure it actually works.
from dbextensions.
@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.
@TwitchBronBron I just need someone to use it successfully in a real .NET Core project.
from dbextensions.
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.
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.
Shipped in v6.2.0
from dbextensions.
Related Issues (20)
- Need to "extend" clause HOT 1
- Support explicit DbParameter on CreateCommand HOT 3
- Add support for CROSS_JOIN to SqlBuilder HOT 2
- Async support HOT 7
- CommandTimeout setting HOT 4
- Accessing CommandTimeout property HOT 1
- Support updates when using updatable keys HOT 1
- LIMIT and OFFSET incorrectly adding {0} instead of actual value. HOT 1
- Please create a DotNet Standard Version. HOT 1
- Compile with C# 8 to leverage nullable reference types annotations HOT 1
- Association with multiple keys HOT 4
- Error using SqlSet using depth path HOT 2
- Add support for .NetStandard 2.1 HOT 1
- Hitting SQL 2100 parameter limit HOT 3
- Use same parameter when value is the same HOT 6
- ColumnAttribute Name does not work HOT 8
- Expose table name metadata
- .NET 6 support? HOT 2
- [self-resolved] ._ForEach<T>() behaves differently depending on .NET environment ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbextensions.