Browse Source

-

pull/12/MERGE
sunkaixuan 8 years ago
parent
commit
8f7907d1ce
  1. 1
      SqlSugar/Abstract/DbFirstProvider/DbFirstProvider.cs

1
SqlSugar/Abstract/DbFirstProvider/DbFirstProvider.cs

@ -124,6 +124,7 @@ namespace SqlSugar
} }
public void CreateClassFile(string directoryPath, string nameSpace = "Models") public void CreateClassFile(string directoryPath, string nameSpace = "Models")
{ {
Check.ArgumentNullException(directoryPath, "directoryPath can't null");
this.Namespace = nameSpace; this.Namespace = nameSpace;
var classStringList = ToClassStringList(nameSpace); var classStringList = ToClassStringList(nameSpace);
if (classStringList.IsValuable()) if (classStringList.IsValuable())

Loading…
Cancel
Save