mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-09 02:44:58 +08:00
-
This commit is contained in:
@@ -17,14 +17,24 @@ namespace SqlSugar
|
||||
this.RemoveAll(it => it.EntityName.Equals(entityName, StringComparison.CurrentCultureIgnoreCase));
|
||||
this.Add(new MappingTable() { EntityName = entityName, DbTableName = dbTableName, DbShortTaleName = dbTableShortName });
|
||||
}
|
||||
public new void Clear()
|
||||
{
|
||||
this.RemoveAll(it=>true);
|
||||
}
|
||||
}
|
||||
|
||||
public class IgnoreComumnList : List<IgnoreComumn> {
|
||||
public class IgnoreComumnList : List<IgnoreComumn>
|
||||
{
|
||||
public void Add(string EntityPropertyName, string EntityName)
|
||||
{
|
||||
this.RemoveAll(it => it.EntityPropertyName.Equals(EntityPropertyName, StringComparison.CurrentCultureIgnoreCase));
|
||||
this.Add(new IgnoreComumn() { EntityPropertyName = EntityPropertyName, EntityName = EntityName });
|
||||
}
|
||||
|
||||
public new void Clear()
|
||||
{
|
||||
this.RemoveAll(it => true);
|
||||
}
|
||||
}
|
||||
|
||||
public class MappingColumnList : List<MappingColumn>
|
||||
@@ -34,5 +44,9 @@ namespace SqlSugar
|
||||
this.RemoveAll(it => it.EntityPropertyName.Equals(EntityPropertyName, StringComparison.CurrentCultureIgnoreCase));
|
||||
this.Add(new MappingColumn() { EntityPropertyName = EntityPropertyName, DbColumnName = dbColumnName, DbTableName = dbTableName });
|
||||
}
|
||||
public new void Clear()
|
||||
{
|
||||
this.RemoveAll(it => true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user