RelationalServiceCollectionExtensions RelationalServiceCollectionExtensions Class

Relational database specific extension methods for .

Syntax

Declaration

public static class RelationalServiceCollectionExtensionsPublic Module RelationalServiceCollectionExtensions

Inheritance Hierarchy

  • System.Object
    System.Object
  • RelationalServiceCollectionExtensions
    RelationalServiceCollectionExtensions

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Methods summary

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.

Methods

  • AddRelational(IServiceCollection)
    AddRelational(IServiceCollection)

    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 IServiceCollection AddRelational(this IServiceCollection services)<ExtensionAttribute>
    Public Shared Function AddRelational(services As IServiceCollection) As IServiceCollection

    Parameters

    • services
      IServiceCollection
      IServiceCollection

      The to add services to.

    Returns

    • IServiceCollection
      IServiceCollection

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll