Is there a way to change the naming convention with Entity Framework?
Example :
I have 2 tables
Planification
--------------
creator_id <fk>
guest_id <fk>
Profile
--------------
profile_id <pk>
creator_id
and guest_id
are both foreign keys for the profile_id
by default, entity would generate a planification class like this
public string guest_id { get; set; }
public string creator_id { get; set; }
public virtual Profile Profile { get; set; }
public virtual Profile Profile1 { get; set; }
I would prefer something more specific than Profile
and Profile1
like Guest
and Creator
.
Is there a way to change the naming convention because I feel really guilty letting it like this.