Comments (11)
@layer07 what issues exactly? By 2019 you mean this year? DbProviderFactories on .NET Framework relies on configuration to store provider registrations, and there was never public API to register factories. In .NET Core registration exist only in memory and the API to register provider factories is really needed to make the rest of the methods return something. We donβt have plans at this stage to add this API to .NET Framework.
from standard.
Also there are some things we added to core like DbColumn which are excluded because the don't exist in netfx461. This is a special case of it was supported on top of a older netstandard version but wasn't part of netstandard itself, we may need to take a closer look at such APIs all up for things we are folding into netstandard.
from standard.
we've haven't included DbProviderFactories for examples, which I think we should
What would it do in .NET Core?
from standard.
Related: #356.
from standard.
DbProviderFactories.RegisterFactory is indeed bringing a lot of issues (2019). I am unable to find any documentation on this. Ideally it would be agnostic between .NET and .netcore.
from standard.
Hi! @divega, Sorry, basically 99% of all the codes I've seem breaking between .netcore and .net is because of DbProviderFactories.RegisterFactory does not exist under .Net Framework. I am still confused why it does not exist on .Net Framework (for instance 4.7.2). But maybe I am not meant to understand it now.
Thank you for your time
from standard.
@divega outside of DbProviderFactories
-- which we added -- are we missing anything critical? If not, let's close.
from standard.
@terrajobst I am not aware of any other System.Data classes or methods missing in .NET Standard 2.1 that exist in .NET Framework. I would prefer to double-check. Can you suggest any easy way to do a diff?
cc @roji in case he is aware of other cases.
from standard.
Of the top of my head, I'm not aware of anything (did a quick git log on the corefx src/System.Data.Common directory to confirm).
Unless I'm mistaken the new DbDataReader schema API, which was added for .NET Core 1.x (including DbColumn which is mentioned above), was already added to .NET Standard 2.0 so no problem there. Aside from that I don't think there are any leftovers.
Obviously there are several things we're adding to .NET Core 3.0 (and Standard 2.1), but I'm assuming those don't make it back into .NET Framework.
from standard.
Looking at https://docs.microsoft.com/en-us/dotnet/api/system.data?view=netstandard-2.1 vs https://docs.microsoft.com/en-us/dotnet/api/system.data?view=netframework-4.8 there are a few types in the latter that aren't listed in the former. (Sorry if I've misunderstood and that's not what you're actually asking about.)
- class
DataRowComparer<TRow>
- class
DataRowExtensions
- interface
IExtendedDataRecord
- others (not an exhaustive list)
For System.Data.Common (https://docs.microsoft.com/en-us/dotnet/api/system.data.common?view=netstandard-2.1 vs https://docs.microsoft.com/en-us/dotnet/api/system.data.common?view=netframework-4.8) there's DataRecordInfo
and various other types from System.Data.Entity.dll.
from standard.
Since this is just tracking doing the diff -- which we just did -- we can close this.
from standard.
Related Issues (20)
- Build issues when referencing project that targets multiple frameworks C# WPF HOT 1
- Questions about tagging within this repository / future versions HOT 1
- System.Drawing.Printing.PrinterSettings slow HOT 1
- Support with Universal Windows Platform HOT 2
- How to build .NET Standard based library for ARM architecture HOT 6
- Update docs to reflect the status of .NET Standard in 2020 HOT 2
- [BUG] [UWP] GetManifestResourceInfo doesn't work on UWP HOT 3
- Value Tuple Could not load file or assembly 'System.ValueTuple, Version=4.0.1.0, HOT 1
- mono and .NET5+ HOT 8
- Security Vulnerability due to System.Text.RegularExpressions HOT 4
- Issue with resolving between .NET Standard 2.0 and .NET Standard 2.1 HOT 3
- Class ValueTask has different definitions between .Net Standard 2.1 and .Net 5 HOT 1
- Strong name signature not valid HOT 5
- Assembly version for DispatchProxy shim is too low resulting in duplicate types for DispatchProxy HOT 10
- linq using GetValueOrDefault in Where clause problem HOT 3
- DbCommand.ExecuteReaderAsync throws TaskCanceledException with wrong CancellationToken HOT 2
- [Feature Request] Allow Static Method In Interface HOT 3
- [question] Will Garbage Collector Collect Memebers, When Object Is Casted To Parent Type, That Is Now Inaccessible On The Type Of Reference? HOT 2
- [Feature Request] Support for MultiSet & MultiMap in System.Collections.Generic HOT 3
- Support of 'IAsyncComparer' for Linq operations. HOT 3
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 standard.