Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi
How can I call a store proc using the DatabaseContext exposed in the Rest API?
ex.
exec EventsByYear @year
returning List<EventInfo>()
Found the solution
databaseContext.EnableAutoSelect = false; // this was shat caused the problem
databaseContext.EnableAutoSelect =
false
; // this was shat caused the problem
var list = databaseContext.Fetch<EventInfo<("EXEC EventsByYear @Year", new {@Year = 2013});
var list =
/Paul S
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Calling stored proc with DatabaseContext in the REST API
Hi
How can I call a store proc using the DatabaseContext exposed in the Rest API?
ex.
exec EventsByYear @year
returning List<EventInfo>()
Hi
Found the solution
databaseContext.EnableAutoSelect =
false
; // this was shat caused the problem
var list =
databaseContext.Fetch<EventInfo<("EXEC EventsByYear @Year", new {@Year = 2013});/Paul S
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.