Thanks Trent. I'll have to meditate on that one. Currently, I have a lot of data where pks and fks are UIDs. The fks (or more accurately the keys to lookup data) have to allow nulls as in many cases they are indeed null. I am currently setting it up in the BOMapper to return a blankguid() ( my bo class has a function that calls a shared method of my utility class )
Public Shared Function BlankGuid() As Guid
Return New Guid("00000000-0000-0000-0000-000000000000")
End Function
FWIW Most of my BOs are filled with Sprocs
I had forgotten about coalesce but I think I still need to handle nulls in the BOMapper
which goes back to the original question - just out of curiosity, where is that info stored when you set it in the BO Mapper. I can find nothing in the Strataframe database to show the Return Alternate on null and the null value of me.blankguid()
(it does work fine, just takes longer to set up than I would like and I was thinking rather than ask for a ER in BOmapper that would be justifiably far down on the priority tree in the interim if I understood what the BOMapper was doing to the metadata I could do mass changes with T-SQL - after backing everything up at least twice
)
Think Jerry will sign Vick for the Boys ?