Adjust code

This commit is contained in:
sunkaixuan 2023-05-31 12:34:51 +08:00
parent 56aff5201b
commit bf424f1959
4 changed files with 5 additions and 5 deletions

View File

@ -6,13 +6,13 @@ using System.Threading.Tasks;
namespace SqlSugar namespace SqlSugar
{ {
internal class ReSetValueBySqlExpListModel public class ReSetValueBySqlExpListModel
{ {
public string DbColumnName { get; set; } public string DbColumnName { get; set; }
public string Sql { get; set; } public string Sql { get; set; }
public ReSetValueBySqlExpListModelType? Type { get; set; } public ReSetValueBySqlExpListModelType? Type { get; set; }
} }
internal enum ReSetValueBySqlExpListModelType public enum ReSetValueBySqlExpListModelType
{ {
Default, Default,
List List

View File

@ -36,7 +36,7 @@ namespace SqlSugar
public List<string> UpdateColumns { get; set; } public List<string> UpdateColumns { get; set; }
public List<JoinQueryInfo> JoinInfos { get; set; } public List<JoinQueryInfo> JoinInfos { get; set; }
public string ShortName { get; set; } public string ShortName { get; set; }
internal Dictionary<string, ReSetValueBySqlExpListModel> ReSetValueBySqlExpList { get; set; } public Dictionary<string, ReSetValueBySqlExpListModel> ReSetValueBySqlExpList { get; set; }
public virtual string ReSetValueBySqlExpListType { get; set; } public virtual string ReSetValueBySqlExpListType { get; set; }
public virtual string SqlTemplate public virtual string SqlTemplate
{ {

View File

@ -412,7 +412,7 @@ namespace SqlSugar
} }
return N; return N;
} }
internal bool IsVarchar() public bool IsVarchar()
{ {
if (_Context.CurrentConnectionConfig.MoreSettings != null && _Context.CurrentConnectionConfig.MoreSettings.DisableNvarchar) if (_Context.CurrentConnectionConfig.MoreSettings != null && _Context.CurrentConnectionConfig.MoreSettings.DisableNvarchar)
{ {

View File

@ -30,6 +30,6 @@ namespace SqlSugar
public string InsertSql { get; set; } public string InsertSql { get; set; }
public bool UpdateServerTime { get; set; } public bool UpdateServerTime { get; set; }
public string UpdateSql { get; set; } public string UpdateSql { get; set; }
internal object SqlParameterDbType { get; set; } public object SqlParameterDbType { get; set; }
} }
} }