【发布时间】:2010-01-18 15:44:05
【问题描述】:
我正在尝试从亚音速生成 dal。但是在我尝试编译它时生成它给我一个具有相同签名的多个定义的错误。这是我的 app.config。我正在使用亚音速 2.0。
<configSections>
<section name="SubSonicService"
type="SubSonic.SubSonicSection, SubSonic" />
</configSections>
<connectionStrings>
<add name="Hercules"
connectionString="Data Source=SOUVIKT\SQLEXPRESS; Database=ERPVIPULDEMO; Integrated Security=true;"/>
</connectionStrings>
<SubSonicService defaultProvider="Hercules">
<providers>
<clear/>
<add name="Hercules"
type="SubSonic.SqlDataProvider, SubSonic"
connectionStringName="Hercules"
generatedNamespace="Hercules"
fixPluralClassName="false"
removeUnderscores="false"
relatedTableLoadPrefix="Get"
excludeTableList="batchstock" />
</providers>
</SubSonicService>
【问题讨论】:
-
我试过了,但仍然给出错误。
-
请发布错误信息。
-
我看到代码和 subsonic 两次或有时三次生成相同的函数签名和公共属性。
标签: subsonic