RelationalOptionsExtension RelationalOptionsExtension Class

Definition

public abstract class RelationalOptionsExtension : IDbContextOptionsExtension
Public MustInherit Class RelationalOptionsExtension
    Implements IDbContextOptionsExtension
Inheritance
System.ObjectSystem.Object
RelationalOptionsExtensionRelationalOptionsExtension
Implements

Inherited Members

System.Object

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

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?
Value
System.Nullable<System.Int32> System.Nullable(Of System.Int32)

Connection Connection

public virtual DbConnection Connection { get; set; }
Public Overridable Property Connection As DbConnection
Value
System.Data.Common.DbConnection System.Data.Common.DbConnection

ConnectionString ConnectionString

public virtual string ConnectionString { get; set; }
Public Overridable Property ConnectionString As String
Value
System.String System.String

ExecutionStrategyFactory ExecutionStrategyFactory

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

MaxBatchSize MaxBatchSize

public virtual int ? MaxBatchSize { get; set; }
Public Overridable Property MaxBatchSize As Integer?
Value
System.Nullable<System.Int32> System.Nullable(Of System.Int32)

MigrationsAssembly MigrationsAssembly

public virtual string MigrationsAssembly { get; set; }
Public Overridable Property MigrationsAssembly As String
Value
System.String System.String

MigrationsHistoryTableName MigrationsHistoryTableName

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

MigrationsHistoryTableSchema MigrationsHistoryTableSchema

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

UseRelationalNulls UseRelationalNulls

public virtual bool UseRelationalNulls { get; set; }
Public Overridable Property UseRelationalNulls As Boolean
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