This is the error that I am getting right now:
The argument types 'Edm.String' and 'Edm.Decimal' are incompatible for this operation. Near equals expression, line 1, column 156.
I know that this error is a compatibility issue but after going through the table and seeing that the parameters match up and I think are declared properly I would need to know the line of code that this references. The only ones that I would question are the data that are declared as money in the table but I declare them as decimal. This is the code that bombs out
public ActionResult Details(int PVID = 0, int PMID = 0, decimal AID = 0.00M, decimal TID =0.00M, string TyID = null, string NID = null, decimal AmID = 0.00M, decimal PID = 0.00M, string TNID = null, string INID = null, DateTime? DEID = null, decimal IBID = 0.00M, decimal PBID = 0.00M, DateTime? LMDID = null)
{
tblDenialReport tbldenialreport = db.tblDenialReport.Find(PVID, PMID, AID, TID, TyID, NID, AmID, PID, TNID, INID, DEID, IBID, PBID, LMDID);
if (tbldenialreport == null)
{
return HttpNotFound();
}
return View(tbldenialreport);
}
Thank you for the help