Skip to content

Commit 77e5037

Browse files
committed
add input namespaces to usings. doesn't seem to work
1 parent 947d21c commit 77e5037

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

JsonDataContextDriver/JsonDynamicDataContextDriver.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ public override List<ExplorerItem> GetSchemaAndBuildAssembly(IConnectionInfo cxI
114114
"using System.Web;\r\n" +
115115
"using JsonDataContext;\r\n";
116116

117+
usings += String.Join("\r\n", classDefinitions.Select(c => String.Format("using {0};", c.Namespace)));
118+
117119
var contextProperties =
118120
inputDefs.SelectMany(i => i.ContextProperties);
119121

0 commit comments

Comments
 (0)