- 增加 神州通用 ShenTong 实现;#325

This commit is contained in:
28810
2020-06-10 02:07:55 +08:00
parent 7cd7e665da
commit 49aa899f81
51 changed files with 11714 additions and 22 deletions

View File

@ -0,0 +1,17 @@
using FreeSql;
using FreeSql.ShenTong.Curd;
using System;
using System.Linq.Expressions;
public static partial class FreeSqlShenTongGlobalExtensions
{
/// <summary>
/// 特殊处理类似 string.Format 的使用方法,防止注入,以及 IS NULL 转换
/// </summary>
/// <param name="that"></param>
/// <param name="args"></param>
/// <returns></returns>
public static string FormatShenTong(this string that, params object[] args) => _shentongAdo.Addslashes(that, args);
static FreeSql.ShenTong.ShenTongAdo _shentongAdo = new FreeSql.ShenTong.ShenTongAdo();
}