5529858edd
properly hide broadcast failure messages if ignore connection lost is turned on fix concurent issue for update stats history that happened with new event processing make get/set additional property thread safe add ellipse to truncated chat messages on home
18 lines
578 B
C#
18 lines
578 B
C#
using SharedLibraryCore.Database;
|
|
|
|
namespace SharedLibraryCore.Interfaces
|
|
{
|
|
/// <summary>
|
|
/// describes the capabilities of the database context factory
|
|
/// </summary>
|
|
public interface IDatabaseContextFactory
|
|
{
|
|
/// <summary>
|
|
/// create or retrieves an existing database context instance
|
|
/// </summary>
|
|
/// <param name="enableTracking">indicated if entity tracking should be enabled</param>
|
|
/// <returns>database context instance</returns>
|
|
DatabaseContext CreateContext(bool? enableTracking = true);
|
|
}
|
|
}
|