0
嗨 我試圖創建具有以下設置的連接:指定命令行上的數據庫亞音速
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="SubSonicService"
type="SubSonic.SubSonicSection, SubSonic"
requirePermission="false"/>
</configSections>
<connectionStrings>
<add name="SamConnection"
connectionString='Password=myPass;Persist Security Info=True;User ID=myAdmUsr;Data Source=myServer;'
providerName="OLEDB.Oracle.1" />
</connectionStrings>
<SubSonicService defaultProvider="SamConnection">
<providers>
<clear/>
<add name="SamConnection"
type="SubSonic.OracleDataProvider, SubSonic"
connectionStringName="SamConnection"
generatedNamespace="myNameSpace"/>
</providers>
</SubSonicService>
</configuration>
,但用命令行:聲波產生/ DB MYDB /輸出生成 生成的代碼是服務器上的第一個數據庫,而不是從myDB我試圖指定數據庫中的連接字符串,但沒有工作,我可以在哪裏指定?
PS:我正在使用sharpdevelop。