You need parentheses after the stored procedure: blabla.Gesellschaft().
Albin Sunnanbo
2010-08-19 09:46:44
You need parentheses after the stored procedure: blabla.Gesellschaft().
returnset
is not of type getDetailsResult
, it is of type ISingleResult<getDetalsResult>
, so casting returnset
to getDetailsResult
will throw an exception.
As Albin Sunnabo says, assign lala
the value of returnset.First()
and you will be able to use it, so long as there is a result. the First
extension method will return the first result of your stored procedure.
getDetailsResult lala = returnset.First();