Files
AdamuSw/src/Persistence/EntityFramework/ConfigurationContext.cs
2026-07-14 19:00:35 +03:00

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;
}
}