I have a field that is in most tables that is a branch office Id.
I have a subclassed Bo that all my application bo's inherit from.
Rather that set this in every bo's default values I would like to this a bit smarter and have added 2 property's to the base bo.
PopulateOfficeid (Boolean)
OfficeIdField (string)
Now in the override for default values I need to be able to retrieve a value from somewhere to populate the id field. This is where I am stuck. The Office Id comes and office profile table that is loaded at application startup. Because the subclasses are in a separate project they know nothing about what is going on in the main application.
Hopefully I explained it well enough.
Any ideas you guys have would be great
Paul