mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-04-22 18:52:50 +08:00
v3.2.664 #1155
This commit is contained in:
parent
5c427c0b6b
commit
5ac8b7dd7a
@ -9,7 +9,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<Version>3.2.663</Version>
|
||||
<Version>3.2.664</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -795,5 +795,14 @@
|
||||
<param name="that"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.FreeSqlRepositoryDependencyInjection.AddFreeRepository(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Action{FreeSql.FluentDataFilter},System.Reflection.Assembly[])">
|
||||
<summary>
|
||||
批量注入 Repository,可以参考代码自行调整
|
||||
</summary>
|
||||
<param name="services"></param>
|
||||
<param name="globalDataFilter"></param>
|
||||
<param name="assemblies"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
|
@ -648,14 +648,18 @@ namespace FreeSql.Internal
|
||||
{
|
||||
var cbs = LocalGetComment(prop.DeclaringType, level + 1);
|
||||
if (cbs != null && cbs.TryGetValue(prop.Name, out var otherComment) && string.IsNullOrEmpty(otherComment) == false)
|
||||
dic.Add(prop.Name, otherComment);
|
||||
{
|
||||
if (dic.ContainsKey(prop.Name)) dic[prop.Name] = otherComment;
|
||||
else dic.Add(prop.Name, otherComment);
|
||||
}
|
||||
}
|
||||
continue;
|
||||
}
|
||||
var comment = node.InnerXml.Trim(' ', '\r', '\n', '\t');
|
||||
if (string.IsNullOrEmpty(comment)) continue;
|
||||
|
||||
dic.Add(prop.Name, comment);
|
||||
if (dic.ContainsKey(prop.Name)) dic[prop.Name] = comment;
|
||||
else dic.Add(prop.Name, comment);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user