Hi,
I am using the dataadapter model.
given the following object model:
Aircraft - VehicleModel (m:1)
VehicleModel - VehicleCategory(m:1)
I know I can create a field on related field for the Aircraft class to have a convenience property for VehicleModel.VehicleModelName.
I know that I can also create a field on related field for the VehicleModel class to have a convience property for VehicleCategory.VehicleCategoryName.
Ideally I'd love to be able to create a field on Aircraft that is VehicleModel.VehicleCategoryName (which in its self is a field on a related field) but the designer doesn't allow that.
So using the partial classes functionality I'd like to "append" code in to Aircraft that mimics the VehicleModelName getter but applies the same logic to VehicleCategoryName.
I know this is possible, but I have a question in regards to its possible repercussions:
1) Will Aircraft.VehicleCategoryName be serialized also?
2) Will Aircraft.VehicleCategoryName be available in databinding?
3) This should survive code regeneration (due to usage of partial class implementation)
4) Will this screw up the AircraftEntityFactory or any of the EntityCollection internal sync code?
Thanks