添加项目文件。

This commit is contained in:
2026-03-16 10:36:47 +08:00
parent aa2e0d4a45
commit 54b11c9c84
309 changed files with 41803 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
using GroupLine.Com;
namespace GroupLine.App
{
public class FSqlContext
{
public static IFreeSql FDb = new FreeSql.FreeSqlBuilder()
.UseConnectionString(FreeSql.DataType.SqlServer, ConfigHelper.GetValue("connecting"))
.UseAutoSyncStructure(true) //自动同步实体结构到数据库
.Build(); //请务必定义成 Singleton 单例模式
}
}