Browse Source

Adjust code

pull/33/head
sunkaixuan 2 years ago
parent
commit
bf424f1959
  1. 4
      Src/Asp.NetCore2/SqlSugar/Abstract/SqlBuilderProvider/Entities.cs
  2. 2
      Src/Asp.NetCore2/SqlSugar/Abstract/SqlBuilderProvider/UpdateBuilder.cs
  3. 2
      Src/Asp.NetCore2/SqlSugar/Abstract/SugarProvider/SqlSugarAccessory.cs
  4. 2
      Src/Asp.NetCore2/SqlSugar/Entities/DbColumnInfo.cs

4
Src/Asp.NetCore2/SqlSugar/Abstract/SqlBuilderProvider/Entities.cs

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

2
Src/Asp.NetCore2/SqlSugar/Abstract/SqlBuilderProvider/UpdateBuilder.cs

@ -36,7 +36,7 @@ namespace SqlSugar
public List<string> UpdateColumns { get; set; }
public List<JoinQueryInfo> JoinInfos { 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 SqlTemplate
{

2
Src/Asp.NetCore2/SqlSugar/Abstract/SugarProvider/SqlSugarAccessory.cs

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

2
Src/Asp.NetCore2/SqlSugar/Entities/DbColumnInfo.cs

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

Loading…
Cancel
Save