Page 1 of 1

Change the Column Type in Model generation

Posted: Wed 22 May 2013 08:49
by thiruppathi
Hi

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

Thanks
Thiru

Re: Change the Column Type in Model generation

Posted: Thu 23 May 2013 12:25
by Shalex
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.

Re: Change the Column Type in Model generation

Posted: Thu 23 May 2013 13:03
by thiruppathi
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

Re: Change the Column Type in Model generation

Posted: Fri 28 Jun 2013 02:46
by thiruppathi
Hi Shalex,

Thank you. It worked for me now.

Thanks