21 lines
675 B
C#
21 lines
675 B
C#
// <copyright file="ConfigurationContext.cs" company="MUnique">
|
|
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
|
|
// </copyright>
|
|
|
|
namespace MUnique.OpenMU.Persistence.EntityFramework;
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
/// <summary>
|
|
/// Context to access the game configuration (read-only).
|
|
/// </summary>
|
|
public class ConfigurationContext : EntityDataContext
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="ConfigurationContext"/> class.
|
|
/// </summary>
|
|
public ConfigurationContext()
|
|
{
|
|
this.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
|
|
}
|
|
} |