Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Entity Framework Core: Database first

MartinMJul 17 2020 — edited Jul 17 2020

I'm re-working an old application to use EF.  I have tried both core and framework to make the code-first classes from the existing database.  The work, but I would like them to adhere to the C# standards for proprieties.  Can we make this change?

What is currently made

[StringLength(100)]

public string IP_ADDRESS { get; set; }

What I think it should be

[Column("IP_ADDRESS")]

[StringLength(100)]

public string IpAddress { get; set; }

Comments
Post Details
Added on Jul 17 2020
1 comment
224 views