mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 10:08:19 +08:00
Intelligence Ignore
This commit is contained in:
@@ -509,7 +509,8 @@ namespace OrmTest.Demo
|
||||
.Select((st, sc) => sc)
|
||||
.Take(1).ToList();
|
||||
|
||||
var s9 = db.Queryable<Student>().Select(it=>it.Name).First();
|
||||
var s9 = db.Queryable<Student>().Select(it=>new Student() { Id=it.Id, TestId=1, Name=it.Name, CreateTime=it.CreateTime }).First();
|
||||
var s10 = db.Queryable<Student>().Select(it => new Student() { Id = it.Id}).First();
|
||||
}
|
||||
private static void Sqlable()
|
||||
{
|
||||
|
@@ -117,7 +117,7 @@ namespace SqlSugar
|
||||
}
|
||||
}
|
||||
}
|
||||
if (IsIgnore(type, propertyInfo))
|
||||
if (IsIgnore(type, propertyInfo)&&!this.ReaderKeys.Any(it=>it==fileName))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user