fixed a bug in RewritableMethod.cs file.

This commit is contained in:
Liubo
2017-05-27 10:18:33 +08:00
parent 1c6918218c
commit 5247cae878
2 changed files with 2 additions and 2 deletions

View File

@@ -96,7 +96,7 @@ namespace SqlSugar
{
addValue = Guid.Empty;
}
else if (item.PropertyType == PubConst.GuidType)
else if (item.PropertyType == PubConst.DateType)
{
addValue = DateTime.MinValue;
}

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectView>ShowAllFiles</ProjectView>
<ProjectView>ProjectFiles</ProjectView>
</PropertyGroup>
</Project>