CYQ数据库配置
Posted 溶进咖啡的糖
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CYQ数据库配置相关的知识,希望对你有一定的参考价值。
<?xml version="1.0" encoding="utf-8" ?> <configuration> <startup useLegacyV2RuntimeActivationPolicy="true"><!--sqlit--> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" /> </startup> <connectionStrings> <add name="LogConn" connectionString=" Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT = 1521)))(CONNECT_DATA =(SID = DataBaseName)));User ID=sa;password=123456"/> <add name="Conn" connectionString="Data Source=C:\Users\Administrator\Desktop\DataBase\Database.db;failifmissing=false"/> <!--<add name="LogConn" connectionString="server=.;database=Prmeasure;uid=sa;pwd=tjh" providerName="System.Data.SqlClient"/>--> <!--<add name="Conn" connectionString="Provider=Microsoft.Jet.OLEDB.4.0; Data Source={0}App_Data/test.mdb"/>--> <add name="ACCConn" connectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\Administrator\Desktop\DataBase\LocalDatabase.mdb" providerName="System.Data.OleDb"/> <!--<add name="LogConn" connectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source={0}App_Data/test.mdb" providerName="System.Data.OleDb"/>--> <!--<add name="Conn" connectionString="Txt Path={0}"/> <add name="LogConn" connectionString="Txt Path={0}"/>--> <!--<add name="Conn" connectionString="Data Source=C:\Users\Administrator\Desktop\DataBase\2017090904.db;failifmissing=false;"/>--> </connectionStrings> </configuration>
以上是关于CYQ数据库配置的主要内容,如果未能解决你的问题,请参考以下文章
CYQ.Data.Orm.DBFast 新增类介绍(含类的源码及新版本配置工具源码)