mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 04:18:16 +08:00
Merge branch 'master' of https://github.com/dotnetcore/FreeSql
This commit is contained in:
@ -351,8 +351,9 @@ namespace FreeSql.Internal.CommonProvider
|
||||
{
|
||||
var cols = columns.Distinct().ToDictionary(a => a);
|
||||
_ignore.Clear();
|
||||
IgnoreCanUpdate();
|
||||
foreach (var col in _table.Columns.Values)
|
||||
if (cols.ContainsKey(col.Attribute.Name) == true || cols.ContainsKey(col.CsName) == true)
|
||||
if (!_ignore.ContainsKey(col.Attribute.Name) && (cols.ContainsKey(col.Attribute.Name) == true || cols.ContainsKey(col.CsName) == true))
|
||||
_ignore.Add(col.Attribute.Name, true);
|
||||
return this;
|
||||
}
|
||||
|
@ -13,6 +13,7 @@ namespace FreeSql.Internal.Model
|
||||
/// <summary>
|
||||
/// 动态过滤条件
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class DynamicFilterInfo
|
||||
{
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user