Hi All,
I am facing one issue while trying to insert item using spmetal generated class. I have one list with two lookup column. Initially it was working, but suddenly it stop working.
code snippet
for (int x = 0; x < objAuditorCompetency.Count; x++)
{
audComItems.Add(new AuditorCompetencyContentType()
{
//AuditorIDId = Convert.ToInt32(audId.Value),
AuditorIDId = lookupAuditor.Id,
StandardIDId = objAuditorCompetency[x].StandardTypeID,
AuditorCompetency = objAuditorCompetency[x].StandardTypeCategoryIDs
});
}
objAuditorCompetencyList.InsertAllOnSubmit(audComItems);
dtCntx.SubmitChanges();Thanks
Satyam MCITP, MCPD