Skip to content

Commit 958b6c2

Browse files
committed
动态操作表结构相关的API
1 parent 43a8e8b commit 958b6c2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

FreeSql/Extensions/CodeFirstExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace FreeSql.Extensions
1212
public static class CodeFirstExtensions
1313
{
1414
/// <summary>
15-
/// 动态创建Class Type
15+
/// 动态构建Class Type
1616
/// </summary>
1717
/// <returns></returns>
1818
public static DynamicCompileBuilder DynamicEntity(this ICodeFirst codeFirst, string className, TableAttribute tableAttribute)
@@ -21,7 +21,7 @@ public static DynamicCompileBuilder DynamicEntity(this ICodeFirst codeFirst, str
2121
}
2222

2323
/// <summary>
24-
/// 根据动态构建的Class生成实例并进行属性赋值
24+
/// 根据动态构建的Class Type生成实例并进行属性赋值
2525
/// </summary>
2626
/// <param name="type"></param>
2727
/// <param name="porpertys"></param>

FreeSql/FreeSql.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

FreeSql/Internal/DynamicCompileBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public DynamicCompileBuilder SetClass(string className, TableAttribute tableAttr
3737
/// </summary>
3838
/// <param name="propertyName">属性名称</param>
3939
/// <param name="propertyType">属性类型</param>
40-
/// <param name="attributes">属性标记的特性[Column(IsPrimary = true)]</param>
40+
/// <param name="attributes">属性标记的特性-支持多个</param>
4141
/// <returns></returns>
4242
public DynamicCompileBuilder Property(string propertyName, Type propertyType, params Attribute [] attributes)
4343
{

0 commit comments

Comments
 (0)