RelationalDatabase RelationalDatabase Class

Definition

The main interaction point between a context and the database provider.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

public class RelationalDatabase : Database, IDatabase
Public Class RelationalDatabase
    Inherits Database
    Implements IDatabase
Inheritance
System.ObjectSystem.Object
RelationalDatabaseRelationalDatabase
Implements

Constructors

RelationalDatabase(IQueryCompilationContextFactory, ICommandBatchPreparer, IBatchExecutor, IRelationalConnection) RelationalDatabase(IQueryCompilationContextFactory, ICommandBatchPreparer, IBatchExecutor, IRelationalConnection)

Initializes a new instance of the RelationalDatabase class.

Methods

CompileAsyncQuery<TResult>(QueryModel) CompileAsyncQuery(Of TResult)(QueryModel)

Translates a query model into a function that can be executed to asynchronously get query results from the database.

(Inherited from Database)
CompileQuery<TResult>(QueryModel) CompileQuery(Of TResult)(QueryModel)

Translates a query model into a function that can be executed to get query results from the database.

(Inherited from Database)
System.Object.Equals(System.Object) System.Object.Equals(System.Object) Inherited from System.Object
System.Object.Equals(System.Object, System.Object) System.Object.Equals(System.Object, System.Object) Inherited from System.Object
System.Object.GetHashCode() System.Object.GetHashCode() Inherited from System.Object
System.Object.GetType() System.Object.GetType() Inherited from System.Object
System.Object.MemberwiseClone() System.Object.MemberwiseClone() Inherited from System.Object
System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ReferenceEquals(System.Object, System.Object) Inherited from System.Object
SaveChanges(IReadOnlyList<IUpdateEntry>) SaveChanges(IReadOnlyList(Of IUpdateEntry))

Persists changes from the supplied entries to the database.

SaveChangesAsync(IReadOnlyList<IUpdateEntry>, CancellationToken) SaveChangesAsync(IReadOnlyList(Of IUpdateEntry), CancellationToken)

Asynchronously persists changes from the supplied entries to the database.

System.Object.ToString() System.Object.ToString() Inherited from System.Object