diff --git a/FreeSql/Extensions/CodeFirstExtensions.cs b/FreeSql/Extensions/CodeFirstExtensions.cs
index 6ccf08c5..818be04c 100644
--- a/FreeSql/Extensions/CodeFirstExtensions.cs
+++ b/FreeSql/Extensions/CodeFirstExtensions.cs
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
+using System.Reflection;
using System.Text;
using FreeSql.DataAnnotations;
using FreeSql.Internal;
@@ -7,30 +8,19 @@ using FreeSql.Internal;
namespace FreeSql.Extensions
{
#if net40 || NETSTANDARD2_0
- //不支持
#else
- public static class CodeFirstExtensions
+ public static class CodeFirstExtensions
{
///
/// 动态构建Class Type
///
///
- public static DynamicCompileBuilder DynamicEntity(this ICodeFirst codeFirst, string className, TableAttribute tableAttribute)
+ public static DynamicCompileBuilder DynamicEntity(this ICodeFirst codeFirst, string className,
+ TableAttribute tableAttribute)
{
return new DynamicCompileBuilder().SetClass(className, tableAttribute);
}
- ///
- /// 根据动态构建的Class Type生成实例并进行属性赋值
- ///
- ///
- ///
- ///
- public static object CreateDynamicEntityInstance(this Type type,
- Dictionary porpertys)
- {
- return DynamicCompileBuilder.CreateObjectByType(type, porpertys);
- }
}
#endif
-}
+}
\ No newline at end of file