Skip to content

Commit dfa42db

Browse files
committed
Merge branch 'master' of https://github.com/Ahoo-Wang/SmartCode
2 parents 432a4ba + f20da94 commit dfa42db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/SmartCode.Db/Entity/Table.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public TableType Type
3030
}
3131
}
3232
public Column PKColumn { get { return Columns.FirstOrDefault(m => m.IsPrimaryKey); } }
33+
public bool HasColNameNotEqConvertedName { get { return Columns.Any(m => m.Name != m.ConvertedName); } }
3334
public bool AutoIncrement { get { return Columns.Any(m => m.AutoIncrement); } }
3435
/// <summary>
3536
/// 描述

0 commit comments

Comments
 (0)