Share via


RelationalServiceCollectionExtensions.AddRelational Method

Definition

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