mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-24 07:22:57 +08:00
Update unit test
This commit is contained in:
parent
5602ce77ec
commit
81a0da7361
@ -169,7 +169,7 @@ namespace OrmTest
|
|||||||
id = 1
|
id = 1
|
||||||
}});
|
}});
|
||||||
var data3= Db.Queryable<unitBools2>().First();
|
var data3= Db.Queryable<unitBools2>().First();
|
||||||
if (data3.false1 != false || data2.true1 != true || data2.null1 != null)
|
if (data3.false1 != null || data2.true1 != true || data2.null1 != null)
|
||||||
{
|
{
|
||||||
throw new Exception("uint error");
|
throw new Exception("uint error");
|
||||||
}
|
}
|
||||||
@ -179,11 +179,11 @@ namespace OrmTest
|
|||||||
{
|
{
|
||||||
[SqlSugar.SugarColumn(IsPrimaryKey = true)]
|
[SqlSugar.SugarColumn(IsPrimaryKey = true)]
|
||||||
public int id { get; set; }
|
public int id { get; set; }
|
||||||
[SqlSugar.SugarColumn(IsNullable = true)]
|
[SqlSugar.SugarColumn(IsNullable = true, ColumnDataType="bit")]
|
||||||
public bool? false1 { get; set; }
|
public bool? false1 { get; set; }
|
||||||
[SqlSugar.SugarColumn(IsNullable = true)]
|
[SqlSugar.SugarColumn(IsNullable = true, ColumnDataType = "bit")]
|
||||||
public bool? true1 { get; set; }
|
public bool? true1 { get; set; }
|
||||||
[SqlSugar.SugarColumn(IsNullable = true)]
|
[SqlSugar.SugarColumn(IsNullable = true, ColumnDataType = "bit")]
|
||||||
public bool? null1 { get; set; }
|
public bool? null1 { get; set; }
|
||||||
}
|
}
|
||||||
public class unitBools
|
public class unitBools
|
||||||
|
Loading…
Reference in New Issue
Block a user