@model GenDbTableDto @{ var className = Model.EntityName; var tableName = Model.TableName; var ignores = new string[] { "Id", "CreationTime", "CreatorUserId", "LastModificationTime", "LastModifierUserId" , "DeletionTime", "CreateAt", "UpdateAt", "CreateTime", "UpdateTime", "IsDeleted" }; var tableInfos = Model.TableInfos .Where(w => !ignores.Contains(w.ColumnName)) .OrderBy(w => (w.OrderById ?? 10)) .ToList() ; }