David, hello again. As long as I'm not misunderstanding, I don't think you've got the right use of Keys in the Business Layer. Keys in the Business Layer are intended to provide Index Awareness. In a Primary Key/Foreign Key relationship, the idea is that you'd be able to pass a string like "Party Pants" to a lookup table to get the key value, presumably a numeric value, like the number "1", where "1" is the value for "Party Pants". Good or bad, for as long as I can remember, the Universe has never been designed to work that way with a Compound Key.
↧