EF Code First Wizard. Is it possible to extract Oracle comments?
Posted: Wed 08 Nov 2017 14:42
Hello
I'm trying to create Code First EF model based on existing database (ADO.NET EDM Wizard).
It would be great to see Oracle comments for database's columns and fields in result C# code.
for example, according to this
I'd like to get class with standard C# comments
Is is possible?
Thank you.
Sergey
I'm trying to create Code First EF model based on existing database (ADO.NET EDM Wizard).
It would be great to see Oracle comments for database's columns and fields in result C# code.
for example, according to this
Code: Select all
create table my_entity (
...
entity_field varchar2(12)
)
/
comment on table my_entity is 'my entity table'
/
comment on column my_entity.entity_field is 'some entity field'
/
Code: Select all
/// <summary>
/// my entity table
/// </summary>
[Table("MY_ENTITY")]
public partial class MY_ENTITY
{
....
/// <summary>
/// some entity field
/// </summary>
public string ENTITY_FIELD { get; set; }
}
Thank you.
Sergey