mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 01:58:13 +08:00
Update MySql
This commit is contained in:
@@ -6,12 +6,13 @@ using System.Text;
|
||||
|
||||
namespace OrmTest.Demo
|
||||
{
|
||||
[SugarTable("CodeTable", " CodeTable test ")]
|
||||
public class CodeTable
|
||||
{
|
||||
|
||||
[SugarColumn(IsNullable =false ,IsPrimaryKey =true,IsIdentity =true)]
|
||||
[SugarColumn(IsNullable =false ,IsPrimaryKey =true,IsIdentity =true,ColumnDescription ="test")]
|
||||
public int Id { get; set; }
|
||||
[SugarColumn(Length = 21,OldColumnName = "Name2")]
|
||||
[SugarColumn(Length = 21,OldColumnName = "Name2",ColumnDescription ="name")]
|
||||
public string Name{ get; set; }
|
||||
[SugarColumn(IsNullable = true,Length =11)]
|
||||
public string IsOk { get; set; }
|
||||
|
Reference in New Issue
Block a user