Database Database 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 abstract class Database : IDatabase
Public MustInherit Class Database
    Implements IDatabase
Inheritance
System.ObjectSystem.Object
DatabaseDatabase
Implements

Constructors

Database(IQueryCompilationContextFactory) Database(IQueryCompilationContextFactory)

Initializes a new instance of the Database 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.

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.

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