// TODO: If I had a smarter Linq provider, I might be able to
		public static List<ExplorerItem> GetSchemaAndBuildAssembly(DB2Properties properties, AssemblyName name, ref string nameSpace, ref string typeName, string dllPath)
		{
			var tables = new TableInfoList(properties);
			var schema = new DatabaseExplorerInfoList(tables).ToList();

			var code = new DataContextCodeGenerator(tables, nameSpace, typeName).Generate();
			BuildAssembly(code, name, dllPath);

			return schema;
		}
		/// <summary>Returns the text to display in the root Schema Explorer node for a given connection info.</summary>
		public override string GetConnectionDescription(IConnectionInfo cxInfo)
		{
			var props = new DB2Properties(cxInfo);
			return $"{props.Database}.{props.Schema}";
		}
		public ConnectionDialog(IConnectionInfo cxInfo)
		{
			DataContext = new DB2Properties(cxInfo);
			Background = SystemColors.ControlBrush;
			InitializeComponent();
		}