test RereadSql/RewriteSql #614

This commit is contained in:
2881099
2020-12-21 23:35:56 +08:00
parent c9052789f0
commit 960da5a2c2
8 changed files with 277 additions and 8 deletions

View File

@ -495,6 +495,7 @@ namespace FreeSql.Internal
col.DbPrecision = (byte)size;
col.DbScale = scale;
}
trytb.IsRereadSql = trytb.Columns.Where(a => string.IsNullOrWhiteSpace(a.Value.Attribute.RereadSql) == false).Any();
tbc.AddOrUpdate(entity, trytb, (oldkey, oldval) => trytb);
#region virtual