How to deal with the stored procedure's return value in MVC3? -



How to deal with the stored procedure's return value in MVC3? -

i trying homecoming value comes store procedure.

sp :csp_storeprocedure returns (int a, int b, int c,)

i aleady imported funcion , set homecoming type complex.

however, not know how homecoming value store procedure.

how can this?

try:

yourcomplextype somevar = yourcontextname.storedprocname(anyparams);

your context name maybe 'whateverentities' - depends named when creating edmx model, etc.

stored-procedures

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -