开发者

Subsonic DAL code generation

开发者 https://www.devze.com 2022-12-17 10:48 出处:网络
I\'m trying to generate dal from subsonic. But after generating when I\'m trying to compile its giving me an error of multiple definitions with identical signatures. This is my app.config. I\'m using

I'm trying to generate dal from subsonic. But after generating when I'm trying to compile its giving me an error of multiple definitions with identical signatures. This is my app.config. I'm using subsonic 2.0.

<configSections>
 <section name="Sub开发者_JS百科SonicService" 
          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>


Make sure you're not also using the build provider (in App_Code)

0

精彩评论

暂无评论...
验证码 换一张
取 消