Renaming properties on generated Table classes
Are the entity definitions saved to a file on disk I can edit - or at least delete?
I have these two tables in my database:
I renamed
On other tables, I have similar relationships with different tables, and the relational property is created as expected, with just the entity name as the property name.
This has persisted even through deleting and recreating the connection. I also tried restarting LINQPad after deleting the connection, but to no avail.
Does that make sense? Name is starting to no longer look like a word.
I have these two tables in my database:
GridWhen I connected to the database in LINQPad, I saw it created a property in
CarrierNo int PK
GridCoating
Grid int PK,FK
CoatingId int PK
GridCoating
called GridEntity
.I renamed
GridCoating.Grid
to GridCoating.GridId
and refreshed the database in an attempt to remove "Entity" from the property name, but instead I now have GridIdEntity
.On other tables, I have similar relationships with different tables, and the relational property is created as expected, with just the entity name as the property name.
This has persisted even through deleting and recreating the connection. I also tried restarting LINQPad after deleting the connection, but to no avail.
Does that make sense? Name is starting to no longer look like a word.
Comments