Primary key data doesn't match submitted data - Composite Key
Primary key data doesn't match submitted data - Composite Key

in Editor
Try as we might, we keep getting this response from the editor.
Any suggestions?
Thanks
**Primary key data doesn't match submitted data.
**
[HttpPost]
public ActionResult SolutionsUpdate()
{
string connectionString = ConfigurationManager.ConnectionStrings["csApaTascSql01_TASC_QA"].ConnectionString;
var formData = HttpContext.Request.Form;
using (var db = new DataTables.Database("sqlserver", connectionString))
{
var response = new Editor(db, "PbsAwardsSolution", new[] { "EffectivePeriod", "VersionNbr" })
.Model<SolutionModel>()
.Process(formData)
.Debug(true)
.Data();
return Json(response, JsonRequestBehavior.AllowGet);
}
}
public class SolutionModel
{
public int EffectivePeriod { get; set; }
public int VersionNbr { get; set; }
public string FileName { get; set; }
public bool IsProduction { get; set; }
public string Description { get; set; }
public string BidStartDate { get; set; }
}
This discussion has been closed.
Replies
Here's the form data posted:

And the form data:

Hi - we've exchanged a couple of e-mails about this. I'll update the post here when we come to a conclusion there.
Allan