miniSql

创建
zgc123@gmail.com authored at 11/19/2023 1:40:15 AM
6136600
Tree
0 Parent(s)
Summary: 1 changed files with 22 additions and 0 deletions.
Added +22 -0
Added +22 -0
diff --git a/minisqlquery-master/src/MiniSqlQuery.Core/DefaultConnectionDefinitionFile.xml b/minisqlquery-master/src/MiniSqlQuery.Core/DefaultConnectionDefinitionFile.xml
new file mode 100644
index 0000000..a9019f0
--- /dev/null
+++ b/minisqlquery-master/src/MiniSqlQuery.Core/DefaultConnectionDefinitionFile.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<DbConnectionDefinitionList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+	<Definitions>
+		<DbConnectionDefinition>
+			<Name>Default - MSSQL Master@localhost</Name>
+			<ProviderName>System.Data.SqlClient</ProviderName>
+			<ConnectionString>Server=.; Database=master; Integrated Security=SSPI</ConnectionString>
+		</DbConnectionDefinition>
+		<DbConnectionDefinition>
+			<Name>Sample MSSQL Northwind SQL Express</Name>
+			<ProviderName>System.Data.SqlClient</ProviderName>
+			<ConnectionString>Server=.\sqlexpress; Database=Northwind; Integrated Security=SSPI</ConnectionString>
+		</DbConnectionDefinition>
+		<DbConnectionDefinition>
+			<Name>Sample Access DB Connection</Name>
+			<ProviderName>System.Data.OleDb</ProviderName>
+			<ConnectionString>Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\SomeDirectory\access.mdb</ConnectionString>
+		</DbConnectionDefinition>
+	</Definitions>
+	<DefaultName>Default - MSSQL Master@localhost</DefaultName>
+</DbConnectionDefinitionList>
\ No newline at end of file