G
Guest
How do I add a return value parameter to a DBCommandWrapper in the Data
Access Application Block?
This is what I've got so far:
Dim db As Database = DatabaseFactory.CreateDatabase(INSTANCE_NAME)
Dim cmd As DBCommandWrapper =
db.GetStoredProcCommandWrapper("StoredProcWithReturnValue")
cmd.AddInParameter("@InputParam", DbType.Guid, MyID)
' TODO: RETURN VALUE PARAM TO BE ADDED HERE...
Any help/advice would be much appreciated
K.
Access Application Block?
This is what I've got so far:
Dim db As Database = DatabaseFactory.CreateDatabase(INSTANCE_NAME)
Dim cmd As DBCommandWrapper =
db.GetStoredProcCommandWrapper("StoredProcWithReturnValue")
cmd.AddInParameter("@InputParam", DbType.Guid, MyID)
' TODO: RETURN VALUE PARAM TO BE ADDED HERE...
Any help/advice would be much appreciated
K.