Skip to content

Commit 647c93f

Browse files
2881028810
authored andcommitted
update debug
1 parent a791feb commit 647c93f

File tree

4 files changed

+9
-139
lines changed

4 files changed

+9
-139
lines changed

Extensions/FreeSql.Extensions.EfCoreFluentApi/FreeSql.Extensions.EfCoreFluentApi.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

FreeSql.DbContext/FreeSql.DbContext.xml

Lines changed: 0 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

FreeSql/DataAnnotations/TableFluent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public ColumnFluent Property<TProto>(Expression<Func<T, TProto>> column)
137137
}
138138
public ColumnFluent Property(string proto)
139139
{
140-
if (_properties.TryGetValue(proto, out var tryProto)) throw new KeyNotFoundException($"找不到属性名 {proto}");
140+
if (_properties.TryGetValue(proto, out var tryProto) == false) throw new KeyNotFoundException($"找不到属性名 {proto}");
141141
var col = _table._columns.GetOrAdd(tryProto.Name, name => new ColumnAttribute { Name = proto });
142142
return new ColumnFluent(col);
143143
}

FreeSql/FreeSql.xml

Lines changed: 0 additions & 131 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)