Skip to content

Commit

Permalink
add input namespaces to usings. doesn't seem to work
Browse files Browse the repository at this point in the history
  • Loading branch information
rdavisau committed Jun 21, 2015
1 parent 947d21c commit 77e5037
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions JsonDataContextDriver/JsonDynamicDataContextDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ public override List<ExplorerItem> GetSchemaAndBuildAssembly(IConnectionInfo cxI
"using System.Web;\r\n" +
"using JsonDataContext;\r\n";

usings += String.Join("\r\n", classDefinitions.Select(c => String.Format("using {0};", c.Namespace)));

var contextProperties =
inputDefs.SelectMany(i => i.ContextProperties);

Expand Down

0 comments on commit 77e5037

Please sign in to comment.