SubSonic Forums
All Your Database Are Belong To Us

code not getting generated in allstructs class

Latest post 11-04-2008 10:00 PM by sridhar. 4 replies.
  • 11-04-2008 9:51 AM

    code not getting generated in allstructs class

    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

    >

     

     

     

     

  • 11-04-2008 5:26 PM In reply to

    Re: code not getting generated in allstructs class

    Maybe check N:\DATIS\CommonDLLs\Templates for Non Host-specific\ there might be something wrong with the template you have in that folder.

    If I am I because I am I, and You are You because You are You, then I am I, and you are you. But If I am I because You are You, and You are You because I am I, then I am not I and You are not You. -Rabbi of Kotzk

  • 11-04-2008 6:47 PM In reply to

    Re: code not getting generated in allstructs class

     I tried with out the template directory also. It still didn't work.

     

     

  • 11-04-2008 6:54 PM In reply to

    Re: code not getting generated in allstructs class

    Did you do a full generate or just part

    If I am I because I am I, and You are You because You are You, then I am I, and you are you. But If I am I because You are You, and You are You because I am I, then I am not I and You are not You. -Rabbi of Kotzk

  • 11-04-2008 10:00 PM In reply to

    Re: code not getting generated in allstructs class

    I did the full generate.

Page 1 of 1 (5 items) | RSS