Postgresql – Null value in column of relation violates not-null constraint .net EF
I have this code: foreach (ContactImportRequest row in toImport) { Contact contact = _mapper.Map<Contact>(row); // if first or last names are null, we fill them with anything because are required fields if (contact.FirstName == null || contact.FirstName.Equals("") || contact.FirstName ==…