mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-30 22:10:22 +08:00
Add unit test
This commit is contained in:
parent
3a2a97f56f
commit
333a32733e
@ -20,7 +20,7 @@ namespace ICrewApi.Entity
|
|||||||
/// Default:
|
/// Default:
|
||||||
/// Nullable:True
|
/// Nullable:True
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[SugarColumn(SqlParameterDbType = System.Data.DbType.Date)]
|
[SugarColumn(SqlParameterDbType = System.Data.DbType.Date,SqlParameterSize =10)]
|
||||||
public DateTime? FROM_DATE {get;set;}
|
public DateTime? FROM_DATE {get;set;}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -29,6 +29,10 @@ namespace OrmTest
|
|||||||
{
|
{
|
||||||
throw new Exception("unit error");
|
throw new Exception("unit error");
|
||||||
}
|
}
|
||||||
|
if (result1.Value.First().Size != 10)
|
||||||
|
{
|
||||||
|
throw new Exception("unit error");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user