Classe DatabaseLogFormatter
[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.]
Gerarchia di ereditarietà
System.Object
System.Data.Entity.Infrastructure.Interception.DatabaseLogFormatter
Spazio dei nomi System.Data.Entity.Infrastructure.Interception
Assembly: EntityFramework (in EntityFramework.dll)
Sintassi
'Dichiarazione
Public Class DatabaseLogFormatter _
Implements IDbCommandInterceptor, IDbInterceptor
'Utilizzo
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
Nel tipo DatabaseLogFormatter sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
DatabaseLogFormatter(Action<String>) | ||
DatabaseLogFormatter(DbContext, Action<String>) |
In alto
Proprietà
Nome | Descrizione | |
---|---|---|
Context | ||
Stopwatch |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
Equals | Esegue l'override di Object.Equals(Object). | |
Executed<TResult> | ||
Executing<TResult> | ||
Finalize | Ereditato da Object. | |
GetHashCode | Esegue l'override di Object.GetHashCode(). | |
GetType | ||
LogCommand<TResult> | ||
LogParameter<TResult> | ||
LogResult<TResult> | ||
MemberwiseClone | Ereditato da Object. | |
NonQueryExecuted | ||
NonQueryExecuting | ||
ReaderExecuted | ||
ReaderExecuting | ||
ScalarExecuted | ||
ScalarExecuting | ||
ToString | Esegue l'override di Object.ToString(). | |
Write |
In alto
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.
Vedere anche
Riferimento
Spazio dei nomi System.Data.Entity.Infrastructure.Interception