开发者

Subsonic DAL code generation

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜