G
Guest
I'm using Whidbey and overrode The SqlProfileProvider class so that I could
do retrieve profile information from my database. It works fine. One
question though:
-- Size of ProfileInfo objects? --
In my SqlProfileProvider's ProfileHelper() function I am supposed to return
a ProfileInfoCollection that contains ProfileInfos of a set of users. The
constructor for ProfileInfo() has a 'size' parameter that is supposed to tell
how big the entry is. The limited documentation says that I should do
DATALENGTH on each column, add em up, and return use that size.
However -- it's a Pain to get the exact size of the profile data and...it
seems like it doesn't matter. Right now I just pass '0' as the size and it
seems to work fine. AM I in any danger?
do retrieve profile information from my database. It works fine. One
question though:
-- Size of ProfileInfo objects? --
In my SqlProfileProvider's ProfileHelper() function I am supposed to return
a ProfileInfoCollection that contains ProfileInfos of a set of users. The
constructor for ProfileInfo() has a 'size' parameter that is supposed to tell
how big the entry is. The limited documentation says that I should do
DATALENGTH on each column, add em up, and return use that size.
However -- it's a Pain to get the exact size of the profile data and...it
seems like it doesn't matter. Right now I just pass '0' as the size and it
seems to work fine. AM I in any danger?