Git Product home page Git Product logo

Comments (11)

divega avatar divega commented on July 18, 2024 1

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

weshaggard avatar weshaggard commented on July 18, 2024

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.

stephentoub avatar stephentoub commented on July 18, 2024

we've haven't included DbProviderFactories for examples, which I think we should

What would it do in .NET Core?

from standard.

divega avatar divega commented on July 18, 2024

Related: #356.

from standard.

layer07 avatar layer07 commented on July 18, 2024

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.

layer07 avatar layer07 commented on July 18, 2024

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.

terrajobst avatar terrajobst commented on July 18, 2024

@divega outside of DbProviderFactories -- which we added -- are we missing anything critical? If not, let's close.

from standard.

divega avatar divega commented on July 18, 2024

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

roji avatar roji commented on July 18, 2024

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.

bgrainger avatar bgrainger commented on July 18, 2024

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

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.

terrajobst avatar terrajobst commented on July 18, 2024

Since this is just tracking doing the diff -- which we just did -- we can close this.

from standard.

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.