Optimizing error hints

This commit is contained in:
sunkaixuan
2017-08-30 14:25:15 +08:00
parent 975c71fb39
commit cd77614213
2 changed files with 2 additions and 1 deletions

View File

@@ -351,6 +351,7 @@ namespace SqlSugar
case "ToTime":
return this.Context.DbMehtods.ToTime(model);
case "ToString":
Check.Exception(model.Args.Count > 1, "ToString (Format) is not supported, Use ToString().If time formatting can be used it.Date.Year+\"-\"+it.Data.Month+\"-\"+it.Date.Day ");
return this.Context.DbMehtods.ToString(model);
case "ToDecimal":
return this.Context.DbMehtods.ToDecimal(model);

View File

@@ -2,7 +2,7 @@
<package >
<metadata>
<id>sqlSugar</id>
<version>4.5</version>
<version>4.5.0.1</version>
<title>SqlSugar Best ORM Fastest ORM Simple Easy ORM</title>
<authors>sun kaixuan</authors>
<owners>landa</owners>