版本260406

This commit is contained in:
2026-04-06 22:04:05 +08:00
parent 7dc5e73af7
commit 0b150470be
216 changed files with 98993 additions and 33 deletions

View File

@@ -0,0 +1,18 @@
namespace OrpaonVision.ConfigApp.Infrastructure.Persistence.Options;
/// <summary>
/// 持久化配置。
/// </summary>
public sealed class PersistenceOptions
{
/// <summary>
/// 数据库连接字符串。
/// </summary>
public string ConnectionString { get; set; } =
"Server=(localdb)\\MSSQLLocalDB;Database=OrpaonVisionDb;Trusted_Connection=True;TrustServerCertificate=True;";
/// <summary>
/// 启动时是否自动执行数据库初始化。
/// </summary>
public bool AutoInitializeOnStartup { get; set; } = true;
}