Merge pull request #15 from lampo1024/dev

fixed a bug in RewritableMethod.cs file.
This commit is contained in:
sunkaixuan
2017-05-27 11:34:42 +08:00
committed by GitHub
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>