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