I have 2 tables: Bikes and Wheels. Bike has 2 FKs to Wheels: Bike.FrontWheelID and Bike.BackWheelID. EF maps these onto Bike.Wheel and Bike.Wheel1, just using their type for name, which I 开发者_如何学JAVAwould prefer to avoid.
Is there a way to change this that would survive further regenerations of model from db schema? (some setting perhaps?)
Thanks
You can rename those properties in Entity Model Designer and it will not affect further regenerations of the model.
精彩评论