RelationalOptionsExtension RelationalOptionsExtension Class

Syntax

Declaration

public abstract class RelationalOptionsExtension : IDbContextOptionsExtensionPublic MustInherit Class RelationalOptionsExtension
    Implements IDbContextOptionsExtension

Inheritance Hierarchy

  • System.Object
    System.Object
  • RelationalOptionsExtension
    RelationalOptionsExtension

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

Constructors summary

Properties summary

Methods summary

Constructors

  • RelationalOptionsExtension()
    RelationalOptionsExtension()
    protected RelationalOptionsExtension()Protected Sub New
  • RelationalOptionsExtension(RelationalOptionsExtension)
    RelationalOptionsExtension(RelationalOptionsExtension)
    protected RelationalOptionsExtension(RelationalOptionsExtension copyFrom)Protected Sub New(copyFrom As RelationalOptionsExtension)

    Parameters

Properties

  • CommandTimeout
    CommandTimeout
    public virtual int ? CommandTimeout { get; set; }Public Overridable Property CommandTimeout As Integer?

    Property Value

    • System.Nullable<T><System.Int32>
      System.Nullable<T>(Of System.Int32)
  • Connection
    Connection
    public virtual DbConnection Connection { get; set; }Public Overridable Property Connection As DbConnection

    Property Value

    • System.Data.Common.DbConnection
      System.Data.Common.DbConnection
  • ConnectionString
    ConnectionString
    public virtual string ConnectionString { get; set; }Public Overridable Property ConnectionString As String

    Property Value

    • System.String
      System.String
  • ExecutionStrategyFactory
    ExecutionStrategyFactory
    public virtual Func<ExecutionStrategyContext, IExecutionStrategy> ExecutionStrategyFactory { get; set; }Public Overridable Property ExecutionStrategyFactory As Func(Of ExecutionStrategyContext, IExecutionStrategy)

    Property Value

  • MaxBatchSize
    MaxBatchSize
    public virtual int ? MaxBatchSize { get; set; }Public Overridable Property MaxBatchSize As Integer?

    Property Value

    • System.Nullable<T><System.Int32>
      System.Nullable<T>(Of System.Int32)
  • MigrationsAssembly
    MigrationsAssembly
    public virtual string MigrationsAssembly { get; set; }Public Overridable Property MigrationsAssembly As String

    Property Value

    • System.String
      System.String
  • MigrationsHistoryTableName
    MigrationsHistoryTableName
    public virtual string MigrationsHistoryTableName { get; set; }Public Overridable Property MigrationsHistoryTableName As String

    Property Value

    • System.String
      System.String
  • MigrationsHistoryTableSchema
    MigrationsHistoryTableSchema
    public virtual string MigrationsHistoryTableSchema { get; set; }Public Overridable Property MigrationsHistoryTableSchema As String

    Property Value

    • System.String
      System.String
  • UseRelationalNulls
    UseRelationalNulls
    public virtual bool UseRelationalNulls { get; set; }Public Overridable Property UseRelationalNulls As Boolean

    Property Value

    • System.Boolean
      System.Boolean

Methods

  • ApplyServices(IServiceCollection)
    ApplyServices(IServiceCollection)
    public abstract void ApplyServices(IServiceCollection services)Public MustOverride Sub ApplyServices(services As IServiceCollection)

    Parameters

    • services
      IServiceCollection
      IServiceCollection
  • Extract(IDbContextOptions)
    Extract(IDbContextOptions)
    public static RelationalOptionsExtension Extract(IDbContextOptions options)Public Shared Function Extract(options As IDbContextOptions) As RelationalOptionsExtension

    Parameters

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll