c# - Using Object Result to receive a query (stored procedure) in Entity Framework? -
[httppost] public actionresult data (formcollection form) { int qid = convert.toint32(form["emailaddress"].tostring()); using (var db = new adventureworks2014entities() ) { objectresult<getemail_result> em = db.getemail(qid); //error } //more code downwards
this error message:
cannot implicitly convert type 'system.data.entity.core.objects.objectresult' 'system.data.objects.objectresult'
why getting error?
Comments
Post a Comment