Hi
I have below statement and want to add another condition in where clause (k.participantId == )
public Int32 DeleteRecordNomiees(Int32 ID) { try { var records = context.TrainingNominees.Where(k => k.TrainingID == ID); context.TrainingNominees.DeleteAllOnSubmit(records); context.SubmitChanges(); return ID; } catch (Exception ex) { throw ex; } }
Thanks