ASP.NET MVC 2: cast not valid? -


alt text

and here's datacontext:

[function(name = "customer.spsearchdeals")]         [resulttype(typeof(filter))]         [resulttype(typeof(deal))]         public imultipleresults searchdeals(             //[parameter(name = "zipcode", dbtype = "char(5)")]             //xelement xmlstring             )         {             var result = this.executemethodcall(this,                 ((methodinfo)(methodinfo.getcurrentmethod()))                 //,xmlstring                 );             return (imultipleresults)result.returnvalue;         } 

what's problem? should cast be?

the answer quite odd...

in model, declared "int" result "long"


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -