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