Change the Column Type in Model generation

Change the Column Type in Model generation

Postby thiruppathi » Wed 22 May 2013 08:49

Hi

How can I instruct the model generator to consider Number fields with 0 scale as Integer?

Thanks
Thiru
thiruppathi
 
Posts: 11
Joined: Wed 22 May 2013 08:43

Re: Change the Column Type in Model generation

Postby Shalex » Thu 23 May 2013 12:25

You are working with Entity Framework, aren't you? If yes, which item - ADO.NET Entity Data Model (*.edmx) or Devart Entity Model (*.edml) - are you using?

Entity Developer (the Devart Entity Model item): customize Database First mapping for the newly created models via Visual Studio > Tools > Entity Developer > Options > Server Options > Oracle.

EDM Wizard (the ADO.NET Entity Data Model item): employ the Number Mappings connection string parameter.
Shalex
Devart Team
 
Posts: 7473
Joined: Thu 14 Aug 2008 12:44

Re: Change the Column Type in Model generation

Postby thiruppathi » Thu 23 May 2013 13:03

Hi Shalex,

I have used the Devart Entity Model (*.edml). Your answer should help me. I shall check and let you know.

Thank you for your reply.

Thiru
thiruppathi
 
Posts: 11
Joined: Wed 22 May 2013 08:43

Re: Change the Column Type in Model generation

Postby thiruppathi » Fri 28 Jun 2013 02:46

Hi Shalex,

Thank you. It worked for me now.

Thanks
thiruppathi
 
Posts: 11
Joined: Wed 22 May 2013 08:43


Return to dotConnect for Oracle