dotnet / EntityFramework.Docs

Documentation for Entity Framework Core and Entity Framework 6
https://docs.microsoft.com/ef/
Creative Commons Attribution 4.0 International
1.59k stars 1.95k forks source link

Update Design-time services #3390

Open AndriySvyryd opened 2 years ago

AndriySvyryd commented 2 years ago

See https://github.com/dotnet/efcore/blob/main/src/EFCore.Design/Design/DesignTimeServiceCollectionExtensions.cs


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

roji commented 2 years ago

Out of curiosity, is there a reason we need to list the design-time services? We don't seem to list the non-design-time services anywhere, and I'm not sure why users need this...

bricelam commented 2 years ago

Listed here mostly to let users know they exist as extensibility points and can be reused to create custom design-time tools. (More do this than you’d expect.)

bricelam commented 2 years ago

I also think these are different than runtime services since there isn’t exactly a public API for them that enables the common scenarios

AndriySvyryd commented 2 years ago

Also document how to override CSharpHelper.ShouldUseFullName, see https://github.com/dotnet/efcore/pull/25605/files