0
我试图从亚音速生成dal。但在生成时,当我试图编译它给我一个具有相同签名的多个定义的错误。这是我的app.config。我正在使用亚音速2.0。亚音速DAL代码生成
<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>
我试过,但它仍然给错误。 – 2010-01-18 09:36:39
请发布错误信息。 – sparks 2010-01-19 01:00:22
我看到代码和亚音速两次或有时三次生成相同的函数签名和公共属性。 – 2010-01-19 06:34:25