mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 12:33:44 +08:00
Add unit test
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user