SqliteDbContextOptionsBuilder SqliteDbContextOptionsBuilder Class

Definition

Allows SQLite specific configuration to be performed on DbContextOptions.

Instances of this class are returned from a call to UseSqlite(DbContextOptionsBuilder, String, Action<SqliteDbContextOptionsBuilder>) and it is not designed to be directly constructed in your application code.

public class SqliteDbContextOptionsBuilder : RelationalDbContextOptionsBuilder<SqliteDbContextOptionsBuilder, SqliteOptionsExtension>
Public Class SqliteDbContextOptionsBuilder
    Inherits RelationalDbContextOptionsBuilder(Of SqliteDbContextOptionsBuilder, SqliteOptionsExtension)
Inheritance

Constructors

SqliteDbContextOptionsBuilder(DbContextOptionsBuilder) SqliteDbContextOptionsBuilder(DbContextOptionsBuilder)

Initializes a new instance of the SqliteDbContextOptionsBuilder class.

public SqliteDbContextOptionsBuilder(DbContextOptionsBuilder optionsBuilder)
Public Sub New(optionsBuilder As DbContextOptionsBuilder)
Parameters
optionsBuilder
DbContextOptionsBuilder DbContextOptionsBuilder

The options builder.

Methods

CloneExtension() CloneExtension()

Clones the configuration in this builder.

protected override SqliteOptionsExtension CloneExtension()
Protected Overrides Function CloneExtension As SqliteOptionsExtension
Returns
Overrides
Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<Microsoft.EntityFrameworkCore.Infrastructure.SqliteDbContextOptionsBuilder, Microsoft.EntityFrameworkCore.Infrastructure.Internal.SqliteOptionsExtension>.CloneExtension()Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<Microsoft.EntityFrameworkCore.Infrastructure.SqliteDbContextOptionsBuilder, Microsoft.EntityFrameworkCore.Infrastructure.Internal.SqliteOptionsExtension>.CloneExtension()

CloneExtension() CloneExtension()

Inherited from Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<Microsoft.EntityFrameworkCore.Infrastructure.SqliteDbContextOptionsBuilder, Microsoft.EntityFrameworkCore.Infrastructure.Internal.SqliteOptionsExtension>

CommandTimeout(Nullable) CommandTimeout(Nullable(Of Int32))

Inherited from Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<Microsoft.EntityFrameworkCore.Infrastructure.SqliteDbContextOptionsBuilder, Microsoft.EntityFrameworkCore.Infrastructure.Internal.SqliteOptionsExtension>

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

ExecutionStrategy(Func) ExecutionStrategy(Func(Of ExecutionStrategyContext, IExecutionStrategy))

Inherited from Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<Microsoft.EntityFrameworkCore.Infrastructure.SqliteDbContextOptionsBuilder, Microsoft.EntityFrameworkCore.Infrastructure.Internal.SqliteOptionsExtension>

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MaxBatchSize(Int32) MaxBatchSize(Int32)

Inherited from Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<Microsoft.EntityFrameworkCore.Infrastructure.SqliteDbContextOptionsBuilder, Microsoft.EntityFrameworkCore.Infrastructure.Internal.SqliteOptionsExtension>

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

MigrationsAssembly(String) MigrationsAssembly(String)

Inherited from Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<Microsoft.EntityFrameworkCore.Infrastructure.SqliteDbContextOptionsBuilder, Microsoft.EntityFrameworkCore.Infrastructure.Internal.SqliteOptionsExtension>

MigrationsHistoryTable(String, String) MigrationsHistoryTable(String, String)

Inherited from Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<Microsoft.EntityFrameworkCore.Infrastructure.SqliteDbContextOptionsBuilder, Microsoft.EntityFrameworkCore.Infrastructure.Internal.SqliteOptionsExtension>

OptionsBuilder OptionsBuilder

Inherited from Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<Microsoft.EntityFrameworkCore.Infrastructure.SqliteDbContextOptionsBuilder, Microsoft.EntityFrameworkCore.Infrastructure.Internal.SqliteOptionsExtension>

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

SetOption(Action) SetOption(Action(Of SqliteOptionsExtension))

Inherited from Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<Microsoft.EntityFrameworkCore.Infrastructure.SqliteDbContextOptionsBuilder, Microsoft.EntityFrameworkCore.Infrastructure.Internal.SqliteOptionsExtension>

SuppressForeignKeyEnforcement() SuppressForeignKeyEnforcement()

Suppresses enforcement of foreign keys in the database.

public virtual SqliteDbContextOptionsBuilder SuppressForeignKeyEnforcement()
Public Overridable Function SuppressForeignKeyEnforcement As SqliteDbContextOptionsBuilder
Returns

The same builder instance so that multiple calls can be chained.

ToString() ToString()

Inherited from System.Object

UseRelationalNulls() UseRelationalNulls()

Inherited from Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<Microsoft.EntityFrameworkCore.Infrastructure.SqliteDbContextOptionsBuilder, Microsoft.EntityFrameworkCore.Infrastructure.Internal.SqliteOptionsExtension>