Compatible with .NET CORE

This commit is contained in:
sunkaixuan
2017-07-01 12:47:58 +08:00
parent e1aedf4732
commit 3f375cc304
5 changed files with 26 additions and 8 deletions

View File

@@ -5,7 +5,6 @@ using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
@@ -633,7 +632,7 @@ namespace SqlSugar
{
if (result.IsValuable())
{
if (entityType.GetTypeInfo().BaseType.IsValuable() && entityType.GetTypeInfo().BaseType == PubConst.ModelType)
if (entityType.BaseType.IsValuable() && entityType.BaseType == PubConst.ModelType)
{
foreach (var item in result)
{