diff --git a/Src/Asp.Net/MySqlTest/UnitTest/Insert.cs b/Src/Asp.Net/MySqlTest/UnitTest/Insert.cs index 251fe8b5b..5fcb18a35 100644 --- a/Src/Asp.Net/MySqlTest/UnitTest/Insert.cs +++ b/Src/Asp.Net/MySqlTest/UnitTest/Insert.cs @@ -103,7 +103,7 @@ new List() { ); - db.IgnoreColumns = new IgnoreComumnList(); + db.IgnoreColumns = new IgnoreColumnList(); db.IgnoreColumns.Add("TestId", "Student"); //Insert List diff --git a/Src/Asp.Net/SqlServerTest/UnitTest/Insert.cs b/Src/Asp.Net/SqlServerTest/UnitTest/Insert.cs index bfee6b6fa..27a5027ba 100644 --- a/Src/Asp.Net/SqlServerTest/UnitTest/Insert.cs +++ b/Src/Asp.Net/SqlServerTest/UnitTest/Insert.cs @@ -103,7 +103,7 @@ new List() { ); - db.IgnoreColumns = new IgnoreComumnList(); + db.IgnoreColumns = new IgnoreColumnList(); db.IgnoreColumns.Add("TestId", "Student"); //Insert List diff --git a/Src/Asp.Net/SqlSugar/Entities/Mapping/IgnoreComumn.cs b/Src/Asp.Net/SqlSugar/Entities/Mapping/IgnoreComumn.cs index ade0b1d9c..58cb337ef 100644 --- a/Src/Asp.Net/SqlSugar/Entities/Mapping/IgnoreComumn.cs +++ b/Src/Asp.Net/SqlSugar/Entities/Mapping/IgnoreComumn.cs @@ -6,7 +6,7 @@ using System.Threading.Tasks; namespace SqlSugar { - public class IgnoreComumn + public class IgnoreColumn { public string EntityName { get; set; } public string PropertyName { get; set; } diff --git a/Src/Asp.Net/SqlSugar/Entities/SugarList.cs b/Src/Asp.Net/SqlSugar/Entities/SugarList.cs index 315831ff4..90985889a 100644 --- a/Src/Asp.Net/SqlSugar/Entities/SugarList.cs +++ b/Src/Asp.Net/SqlSugar/Entities/SugarList.cs @@ -23,12 +23,12 @@ namespace SqlSugar } } - public class IgnoreComumnList : List + public class IgnoreColumnList : List { public void Add(string propertyName, string EntityName) { this.RemoveAll(it =>it.EntityName==EntityName&&it.PropertyName.Equals(propertyName, StringComparison.CurrentCultureIgnoreCase)); - this.Add(new IgnoreComumn() { PropertyName = propertyName, EntityName = EntityName }); + this.Add(new IgnoreColumn() { PropertyName = propertyName, EntityName = EntityName }); } public new void Clear() diff --git a/Src/Asp.Net/SqlSugar/ExpressionsToSql/ExpressionContext.cs b/Src/Asp.Net/SqlSugar/ExpressionsToSql/ExpressionContext.cs index 89786c712..3babbc7dd 100644 --- a/Src/Asp.Net/SqlSugar/ExpressionsToSql/ExpressionContext.cs +++ b/Src/Asp.Net/SqlSugar/ExpressionsToSql/ExpressionContext.cs @@ -39,7 +39,7 @@ namespace SqlSugar public int ParameterIndex { get; set; } public MappingColumnList MappingColumns { get; set; } public MappingTableList MappingTables { get; set; } - public IgnoreComumnList IgnoreComumnList { get; set; } + public IgnoreColumnList IgnoreComumnList { get; set; } public bool IsSingle { get diff --git a/Src/Asp.Net/SqlSugar/Interface/ILambdaExpressions.cs b/Src/Asp.Net/SqlSugar/Interface/ILambdaExpressions.cs index 34286f6c7..ae05d433d 100644 --- a/Src/Asp.Net/SqlSugar/Interface/ILambdaExpressions.cs +++ b/Src/Asp.Net/SqlSugar/Interface/ILambdaExpressions.cs @@ -10,7 +10,7 @@ namespace SqlSugar { MappingColumnList MappingColumns { get; set; } MappingTableList MappingTables { get; set; } - IgnoreComumnList IgnoreComumnList { get; set; } + IgnoreColumnList IgnoreComumnList { get; set; } List JoinQueryInfos { get; set; } bool IsSingle { get; set; } SqlSugarClient Context { get; set; } diff --git a/Src/Asp.Net/SqlSugar/SqlSugarAccessory.cs b/Src/Asp.Net/SqlSugar/SqlSugarAccessory.cs index 2b38245ea..86e24178a 100644 --- a/Src/Asp.Net/SqlSugar/SqlSugarAccessory.cs +++ b/Src/Asp.Net/SqlSugar/SqlSugarAccessory.cs @@ -16,7 +16,7 @@ namespace SqlSugar public Guid ContextID { get; set; } public MappingTableList MappingTables = new MappingTableList(); public MappingColumnList MappingColumns = new MappingColumnList(); - public IgnoreComumnList IgnoreColumns = new IgnoreComumnList(); + public IgnoreColumnList IgnoreColumns = new IgnoreColumnList(); #endregion #region Fields @@ -89,7 +89,7 @@ namespace SqlSugar if (this.MappingColumns == null) this.MappingColumns = new MappingColumnList(); if (this.IgnoreColumns == null) - this.IgnoreColumns = new IgnoreComumnList(); + this.IgnoreColumns = new IgnoreColumnList(); if (!this.MappingTables.Any(it => it.EntityName == entityInfo.EntityName)) { if (entityInfo.DbTableName != entityInfo.EntityName && entityInfo.DbTableName.IsValuable()) diff --git a/Src/Asp.Net/SqliteTest/UnitTest/Insert.cs b/Src/Asp.Net/SqliteTest/UnitTest/Insert.cs index 910f96bd1..74f21583f 100644 --- a/Src/Asp.Net/SqliteTest/UnitTest/Insert.cs +++ b/Src/Asp.Net/SqliteTest/UnitTest/Insert.cs @@ -103,7 +103,7 @@ new List() { ); - db.IgnoreColumns = new IgnoreComumnList(); + db.IgnoreColumns = new IgnoreColumnList(); db.IgnoreColumns.Add("TestId", "Student"); //Insert List