diff --git a/Falcon.ModelSP/DataExtend.cs b/Falcon.ModelSP/DataExtend.cs index 9389bea..9e1ca78 100644 --- a/Falcon.ModelSP/DataExtend.cs +++ b/Falcon.ModelSP/DataExtend.cs @@ -5,7 +5,7 @@ using System.Linq; using System.Reflection; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; - +using System; namespace Falcon.ModelSP { @@ -109,7 +109,7 @@ namespace Falcon.ModelSP for(var i = 0;i < columnSchema.Count;i++) { var name = dr.GetName(i); var value = dr.IsDBNull(i) ? null : dr.GetValue(i); - var pi = typeof(TR).GetProperty(name); + var pi = getProperty