我不知道这个问题的答案。SubSonic Oracle和属性案例
使用MSSQLSERVER和MYSQL,下一个配置运行得非常好,但是Oracle不会。
与甲骨文似乎是这样的
货物c = new Cargo(); c.Idcargo = 1;
使用MSSQL和MYSQL
c.IdCargo = 1;
如何配置与Oracle的连接以显示“IdCargo”而不是“Idcargo”。 ??
配置:
<providers>
<clear/>
<add name="oracle" type="SubSonic.oracleDataProvider, SubSonic"
connectionStringName="oracle"
fixDatabaseObjectCasing="true"
regexDictionaryReplace="Empresaendereco,EmpresaEndereco;Empresacontato,EmpresaContato;Franqueadoendereco,FranqueadoEndereco;Franqueadocontato,FranqueadoContato;Funcionarioacesso,FuncionarioAcesso;Funcionarioendereco,FuncionarioEndereco;Funcionariocontato,FuncionarioContato;Clienteendereco,ClienteEndereco;Clientecontato,ClienteContato;Clientehistorico,ClienteHistorico;Agendastatus,AgendaStatus;Historicostatus,HistoricoStatus"
generateRelatedTablesAsProperties="true"
fixPluralClassNames="false"
generatedNamespace="ModeloDados"
regexIgnoreCase="false"
removeUnderscores="false"
setPropertyDefaultsFromDatabase="true"
generateNullableProperties="true"
useExtendedProperties="true" useUtc="true"/>
</providers>
嗨runxc1,我在web.config中创建一个多个领域的表像Descricao_Teste与课程设置removeUnderscores的=“真正的” 这样的工作..... 我试图创建表的列骆驼案件,但在甲骨文始终保持大写。 你知道解决这个问题的其他方法吗? – Valmir 2009-07-08 18:09:14
你应该不需要设置删除underscores =“true”,因为它是默认值。当我有一列名为c_test_info_id的SubSonic时,使用所有默认值将SubSonic转换为CTestInfoId – 2009-07-08 18:23:01