Configuration

Sogen has a xml configuration file. You must edit this file before run Sogen.

this is defalut configuration:
<sogenBLToolkitGeneratorConfiguration>
  <rootNamespace>Sogen.DB</rootNamespace>
  <dataModelNamePostfix>DataModel</dataModelNamePostfix>
  <dataModelAccessModifier>public</dataModelAccessModifier>
  <exportPath>C:\SogenGenerated\</exportPath>
  <generateEmptyPartialClass>true</generateEmptyPartialClass>
  <checkObjectsValidation>true</checkObjectsValidation>
  <customUsings>
    <using />
  </customUsings>
  <provider>MSSqlServer</provider>
  <language>CSharp</language>
  <MSSqlConfig>
    <server>server</server>
    <database>db</database>
    <username>user</username>
    <password>pass</password>
    <useWindowsAuthentication>false</useWindowsAuthentication>
    <schemas>
      <schema />
    </schemas>
    <generateObjectForViews>true</generateObjectForViews>
  </MSSqlConfig>
</sogenBLToolkitGeneratorConfiguration>

Last edited Sep 17, 2010 at 5:18 PM by soroushayoubi, version 3

Comments

No comments yet.