mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
新增首页、文档页的静态页面
This commit is contained in:
13
Examples/website/FreeSql.Site.DAL/Db.cs
Normal file
13
Examples/website/FreeSql.Site.DAL/Db.cs
Normal file
@ -0,0 +1,13 @@
|
||||
using System;
|
||||
|
||||
namespace FreeSql.Site.DAL
|
||||
{
|
||||
public class Db
|
||||
{
|
||||
|
||||
public static IFreeSql mysql = new FreeSql.FreeSqlBuilder()
|
||||
.UseConnectionString(FreeSql.DataType.MySql, AppSettingsManager.Get("ConnectionStrings:DefaultDbContext"))
|
||||
.Build();
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user