This commit is contained in:
sunkaixuan
2017-11-01 14:10:18 +08:00
parent 70157d92e9
commit 6ea38fa85c

View File

@@ -78,8 +78,6 @@ namespace SqlSugar
{
var isAny = this.GetEntityInfo<T>().Columns.Any(it => it.PropertyName.Equals(propertyName, StringComparison.CurrentCultureIgnoreCase));
Check.Exception(!isAny, "Property " + propertyName + " is Invalid");
if (propertyName.Contains(','))
propertyName = propertyName.ToSqlFilter();
var typeName = typeof(T).Name;
if (this.Context.MappingColumns == null || this.Context.MappingColumns.Count == 0) return propertyName;
else