mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 10:08:19 +08:00
Update CodeFirst
This commit is contained in:
@@ -106,6 +106,10 @@ namespace SqlSugar
|
|||||||
protected virtual void Execute(Type entityType)
|
protected virtual void Execute(Type entityType)
|
||||||
{
|
{
|
||||||
var entityInfo = this.Context.EntityMaintenance.GetEntityInfo(entityType);
|
var entityInfo = this.Context.EntityMaintenance.GetEntityInfo(entityType);
|
||||||
|
if (entityInfo.IsDisabledUpdateAll)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (this.DefultLength > 0)
|
if (this.DefultLength > 0)
|
||||||
{
|
{
|
||||||
foreach (var item in entityInfo.Columns)
|
foreach (var item in entityInfo.Columns)
|
||||||
|
Reference in New Issue
Block a user