size of Profile Info in SqlProfileProvider?

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?
 
C

Cowboy \(Gregory A. Beamer\)

Danger of inefficiency from my understanding. Look at the defaults and you
will figure out how bad it is.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside the box!
*************************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top