Using an ORM will mean you only need to write your code once.

On Fri, Dec 3, 2010 at 4:22 PM, jack me <[email protected]> wrote:

> Thanks for the reply.. I am working on the same.. As I found till now
> is....I have to create two codes.  One for Oracle and One for Sql server.
> Later I will have to change the connections.....
>
> --
> Regards,
>
>
>
>
>
> On Fri, Dec 3, 2010 at 7:36 PM, Stephen Russell <[email protected]>wrote:
>
>> On Fri, Dec 3, 2010 at 7:08 AM, Jamie Fraser <[email protected]>
>> wrote:
>> > Please, don't use code like that.
>> > If you really must provide the ability to change DB providers, then as
>> > mentioned (several times) you should be using something like NHibernate
>> or
>> > another ORM provider.
>> -------------------------
>>
>> AMEN!
>>
>>
>>
>> --
>>  Stephen Russell
>>
>> Sr. Production Systems Programmer
>> CIMSgts
>>
>> 901.246-0159 cell
>>
>
>

Reply via email to