Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #107.41K
~2K People Reached
Favorite Forums
Favorite Tags
Member Avatar for pilsdumps

Hi, I've a unit test for a protected method that contains a ref parameter. The method to test looks like this: [CODE] protected void Select(ref int? intReturnValue, ModelBase modelbase) { ...some code.... //add the return value SqlParameter paramReturn = new SqlParameter("@ReturnValue", 0); paramReturn.Direction = ParameterDirection.ReturnValue; sqlComm.Parameters.Add(paramReturn); //run the proc sqlConn.Open(); …

Member Avatar for BWPro
0
2K