Modern Data Access with Entity Framework Core by Holger Schwichtenberg

Modern Data Access with Entity Framework Core by Holger Schwichtenberg

Author:Holger Schwichtenberg
Language: eng
Format: epub, pdf
Publisher: Apress, Berkeley, CA


if (Assembly.GetAssembly(typeof(Microsoft.EntityFrameworkCore.DbContext)).GetName().Version.Major == 1 || (this._EventIDs != null && (this._EventIDs.Contains(eventId.Id) || this._EventIDs.Count == 0)))

{

Count++;

string text = $"{Count:000}:{logLevel} #{eventId.Id} {eventId.Name}:{formatter(state, exception)}";

// Call log method now

logMethod(text);

}

}

public IDisposable BeginScope<TState>(TState state)

{

return null;

}

}

/// <summary>

/// No Logging

/// </summary>

private class NullLogger : ILogger

{

public bool IsEnabled(LogLevel logLevel) => false;



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.