private ConnectionPropertiesType CreateConnectionProperties() { ConnectionPropertiesType connectionProperties = new ConnectionPropertiesType(); connectionProperties.Items = new object[] { "", "SQL", }; connectionProperties.ItemsElementName = new ItemsChoiceType[] { ItemsChoiceType.ConnectString, ItemsChoiceType.DataProvider, }; return(connectionProperties); }
private static ConnectionPropertiesType CreateConnectionProperties() { var connectionProperties = new ConnectionPropertiesType { Items = new object[] { "/* Local Connection */", "System.Data.DataSet" }, ItemsElementName = new[] { ItemsChoiceType.ConnectString, ItemsChoiceType.DataProvider, } }; return(connectionProperties); }