We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d0df35 commit e4e3f67Copy full SHA for e4e3f67
installer/ModifyDbProviderFactories/Program.cs
@@ -20,9 +20,6 @@ static void Main(string[] args) {
20
.Elements("add")
21
.Where(p => p.Attribute("invariant") != null && p.Attribute("invariant").Value == args[3])
22
) {
23
- el.AddAfterSelf(
24
- new XComment(el.ToString())
25
- );
26
el.Remove();
27
}
28
XElement xAdd;
@@ -41,7 +38,6 @@ static void Main(string[] args) {
41
38
xApp.Load(args[1]);
42
39
var DbProviderFactories = xApp.SelectSingleNode("/configuration/system.data/DbProviderFactories");
43
40
foreach (XmlElement el in DbProviderFactories.SelectNodes("add[@invariant='" + args[3] + "']")) {
44
- el.ParentNode.InsertAfter(xApp.CreateComment(el.OuterXml), el);
45
el.ParentNode.RemoveChild(el);
46
47
XmlElement xAdd = xApp.CreateElement("add");
installer/tools/ModifyDbProviderFactories.exe
-512 Bytes
0 commit comments