mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-29 18:04:41 +08:00
-
This commit is contained in:
@@ -19,7 +19,10 @@ namespace OrmTest.UnitTest
|
||||
public void Init() {
|
||||
|
||||
var db = GetInstance();
|
||||
db.IgnoreColumns.Add("1", "1");
|
||||
var s1= db.Queryable<Student>().Where(it=>it.Id==1).ToSql();
|
||||
|
||||
var x2 = GetInstance();
|
||||
}
|
||||
|
||||
public SqlSugarClient GetInstance()
|
||||
|
||||
@@ -111,7 +111,6 @@ namespace SqlSugar
|
||||
var sugarColumn = property.GetCustomAttributes(typeof(SugarColumn), true)
|
||||
.Where(it => it is SugarColumn)
|
||||
.Select(it => (SugarColumn)it)
|
||||
.Where(it => it.ColumnName.IsValuable())
|
||||
.FirstOrDefault();
|
||||
column.DbTableName = result.DbTableName;
|
||||
column.EnitytName = result.EntityName;
|
||||
|
||||
Reference in New Issue
Block a user