Change the Column Type in Model generation

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
thiruppathi
Posts: 11
Joined: Wed 22 May 2013 08:43

Change the Column Type in Model generation

Post by 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

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Change the Column Type in Model generation

Post by 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.

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

Re: Change the Column Type in Model generation

Post by 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

Post by thiruppathi » Fri 28 Jun 2013 02:46

Hi Shalex,

Thank you. It worked for me now.

Thanks

Post Reply