@ -14,7 +14,7 @@ namespace OrmTest.Models
{
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "ID")]
public int Id { get; set; }
public int SchoolId { get; set; }
public int? SchoolId { get; set; }
public string Name { get; set; }
public DateTime? CreateTime { get; set; }
[SugarColumn(IsIgnore=true)]
@ -130,7 +130,7 @@ namespace SqlSugar
++i;
}
pageIndex++;
batchInsetrSql.Append("\r\nGO\r\n");
batchInsetrSql.Append("\r\n;\r\n");
return batchInsetrSql.ToString();