Archived Thread: 'code not getting generated in allstructs class'
-
code not getting generated in allstructs classPosted by sridhar on Tuesday, November 04, 2008
Hi,
I am not sure what we are doing wrong. But some how, for one project the allstructs class is empty. It is not generating the table names.
Here is my app.config
xml version="1.0" encoding="utf-8"
?>
configuration
>
configSections
>
section name="SubSonicService" type="SubSonic.SubSonicSection, SubSonic" requirePermission="false"
/>
configSections
>
connectionStrings
>
add name="MyConn" connectionString="Data Source=MySQLServer;Integrated Security=SSPI;Initial Catalog=MyDatabase;trusted_connection=Yes;"
/>
connectionStrings
>
SubSonicService defaultProvider="Provider1" templateDirectory="N:\DATIS\CommonDLLs\Templates for Non Host-specific\"
>
providers
>
clear
/>
add name="Provider1" type="SubSonic.SqlDataProvider, SubSonic" connectionStringName="MyConn" generatedNamespace="MyNamespace"
includeTableList="TableA,TableB"
excludeProcedureList="sp_1" /></
providers
>
SubSonicService
>
configuration
>
-
Re: code not getting generated in allstructs classPosted by yitzchok on Tuesday, November 04, 2008
Maybe check N:\DATIS\CommonDLLs\Templates for Non Host-specific\ there might be something wrong with the template you have in that folder.
-
Re: code not getting generated in allstructs classPosted by sridhar on Tuesday, November 04, 2008
I tried with out the template directory also. It still didn't work.
-
Re: code not getting generated in allstructs classPosted by yitzchok on Tuesday, November 04, 2008
Did you do a full generate or just part
-
Re: code not getting generated in allstructs classPosted by sridhar on Tuesday, November 04, 2008
I did the full generate.