Hi Walaa & Otis,
Thanks for responding.
The version I am using is 2.0.0.0 - July 1st 2006 Release.
Here is the SP code - it is a simple record fetch based on the PK. The recordsize is also under 500 bytes - mostly FKs.
BEGIN
SET NOCOUNT ON;
SELECT * From [User] Where UserID = @UserID
END
This is around 12 times slower than a similar FetchEntity.
The speed has been adjudged after 62 iterations and the time
taken averaged between the calls.
Of course, we are moving it to an Entity, but I was wondering
if there is a penalty in calling SPs through LLBLGEN.
Just wondering. Do we have to port other - more complex -
SPs to TypedList ? Are they taking a performance hit too
by executing inside SPs?
Regards,
Jay