RelationalServiceCollectionExtensions.AddRelational Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the base services required by a relational database provider.
This method is typically used by database providers (and other extensions). It is generally not used in application code.
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRelational (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddRelational : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddRelational (services As IServiceCollection) As IServiceCollection
Parameters
- services
- IServiceCollection
The IServiceCollection to add services to.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework