Skip to end of metadata
Go to start of metadata

Represents log service for entity framework.

Definition

public class EntityFrameworkLogService : IEntityFrameworkLogService

Summary

The following table summarizes the members exposed in this class.

Public Constructors

Public Properties

ConnectionString Gets or sets the connection string.
LogService Gets the log writer service.
LogSource Gets the log source.
TableName Gets or sets the name of the table.
TraceListener Gets the trace listener.

Public Constructors

public EntityFrameworkLogService(string connectionString)

Initializes a new instance of the EntityFrameworkLogService class.

Parameters

connectionString The connection string.

public EntityFrameworkLogService(string connectionString, string tableName)

Initializes a new instance of the EntityFrameworkLogService class.

Parameters

connectionString The connection string.
tableName Name of the table.

Public Properties

public string ConnectionString { get; set; }

Gets or sets the connection string.

public ILogWriterService LogService { get; }

Gets the log writer service.

public EntityFrameworkLogSource LogSource { get; }

Gets the log source.

public string TableName { get; set; }

Gets or sets the name of the table.

public EntityFrameworkTraceListener TraceListener { get; }

Gets the trace listener.

  • No labels