SqliteDbContextOptionsBuilder SqliteDbContextOptionsBuilder Class

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.

Syntax

Declaration

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

Inheritance Hierarchy

Inherited Members

OptionsBuilder,
OptionsBuilder,
CloneExtension(),
CloneExtension(),
MaxBatchSize(Int32),
MaxBatchSize(Int32),
CommandTimeout(Nullable<Int32>),
CommandTimeout(Nullable(Of Int32)),
MigrationsAssembly(String),
MigrationsAssembly(String),
MigrationsHistoryTable(String, String),
MigrationsHistoryTable(String, String),
UseRelationalNulls(),
UseRelationalNulls(),
ExecutionStrategy(Func<ExecutionStrategyContext, IExecutionStrategy>),
ExecutionStrategy(Func(Of ExecutionStrategyContext, IExecutionStrategy)),
SetOption(Action<SqliteOptionsExtension>),
SetOption(Action(Of SqliteOptionsExtension)),
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

Initializes a new instance of the SqliteDbContextOptionsBuilder class.

Methods summary

Clones the configuration in this builder.

Suppresses enforcement of foreign keys in the database.

Constructors

  • SqliteDbContextOptionsBuilder(DbContextOptionsBuilder)
    SqliteDbContextOptionsBuilder(DbContextOptionsBuilder)

    Initializes a new instance of the SqliteDbContextOptionsBuilder class.

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

    Parameters

Methods

  • CloneExtension()
    CloneExtension()

    Clones the configuration in this builder.

    protected override SqliteOptionsExtension CloneExtension()Protected Overrides Function CloneExtension As SqliteOptionsExtension

    Returns

  • SuppressForeignKeyEnforcement()
    SuppressForeignKeyEnforcement()

    Suppresses enforcement of foreign keys in the database.

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

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.Sqlite.dll