Note that there are some explanatory texts on larger screens.

plurals
  1. POSubSonic 2.1 and Oracle problems
    primarykey
    data
    text
    <p>Please if anyone knows the answer, I´m still looking for 3 days and nothing..</p> <p>I make some test with subsonic, SqlServer and MySql and with some little changes in the web.config file everything was good.</p> <p>But now, I need to work with Oracle . I maked the changes and next command runs</p> <p><strong>DataTable qry = ModeloDados.DB.Select().From("CARGO").ExecuteDataSet().Tables[0];</strong> </p> <p>But if i type the <strong>ModeloDados.</strong> the class doesn´t appear. Ony appear the next :</p> <p><strong>DB , Schemas , SPs , Tables , Views</strong></p> <p>With the SqlServer or MySql everything is good.The class Cargo appear. I think it´s not configuration in the Oracle because the above command runs, but i need to work with the class</p> <p>some like <strong>Cargo c = new Cargo</strong></p> <p>But the class doesn´t appear.</p> <p>There something i missing ?</p> <p>Thanks for any help.</p> <p>THE CONFIGURATION :</p> <pre><code>&lt;connectionStrings&gt; &lt;add name="oracle" connectionString="Data Source=xxx.x.xx.xx:1521/bancoteste;Persist Security Info=True;User ID=user;Password=xxx;" providerName="System.Data.OracleClient"/&gt; &lt;/connectionStrings&gt; &lt;SubSonicService defaultProvider="oracle" enableTrace="false" templateDirectory=""&gt; &lt;providers&gt; &lt;clear/&gt; &lt;add name="oracle" type="SubSonic.oracleDataProvider, SubSonic" fixDatabaseObjectCasing="true" connectionStringName="oracle" generateRelatedTablesAsProperties="true" fixPluralClassNames="false" generatedNamespace="ModeloDados" regexIgnoreCase="true" removeUnderscores="false" setPropertyDefaultsFromDatabase="true" generateNullableProperties="true" useExtendedProperties="true" useUtc="true"/&gt; &lt;/providers&gt; &lt;/SubSonicService&gt; &lt;compilation debug="true"&gt; &lt;buildProviders&gt; &lt;add extension=".abp" type="SubSonic.BuildProvider, SubSonic"/&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload