DatabaseLogFormatter-Klasse
[This page is specific to the Entity Framework version 6.0 Beta. The latest version is available as the 'Entity Framework' NuGet package. For more information, see Entity Framework Releases and Versioning.]
Vererbungshierarchie
System.Object
System.Data.Entity.Infrastructure.Interception.DatabaseLogFormatter
Namespace: System.Data.Entity.Infrastructure.Interception
Assembly: EntityFramework (in EntityFramework.dll)
Syntax
'Declaration
Public Class DatabaseLogFormatter _
Implements IDbCommandInterceptor, IDbInterceptor
'Usage
Dim instance As DatabaseLogFormatter
public class DatabaseLogFormatter : IDbCommandInterceptor,
IDbInterceptor
public ref class DatabaseLogFormatter : IDbCommandInterceptor,
IDbInterceptor
type DatabaseLogFormatter =
class
interface IDbCommandInterceptor
interface IDbInterceptor
end
public class DatabaseLogFormatter implements IDbCommandInterceptor, IDbInterceptor
Der DatabaseLogFormatter-Typ macht folgende Elemente verfügbar.
Konstruktoren
Name | Beschreibung | |
---|---|---|
DatabaseLogFormatter(Action<String>) | ||
DatabaseLogFormatter(DbContext, Action<String>) |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
Context | ||
Stopwatch |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
Equals | (Überschreibt Object.Equals(Object).) | |
Executed<TResult> | ||
Executing<TResult> | ||
Finalize | (Geerbt von Object.) | |
GetHashCode | (Überschreibt Object.GetHashCode().) | |
GetType | ||
LogCommand<TResult> | ||
LogParameter<TResult> | ||
LogResult<TResult> | ||
MemberwiseClone | (Geerbt von Object.) | |
NonQueryExecuted | ||
NonQueryExecuting | ||
ReaderExecuted | ||
ReaderExecuting | ||
ScalarExecuted | ||
ScalarExecuting | ||
ToString | (Überschreibt Object.ToString().) | |
Write |
Zum Anfang
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.