Thursday, January 28, 2021

Entity Framework: SqlException: Invalid column name 'Discriminator'.

 This error generally means there is a derived class from EF POCO base class which hasn't been marked with [NotMapped] attribute. More explanation can be found at 


https://stackoverflow.com/questions/6553935/ef-code-first-invalid-column-name-discriminator-but-no-inheritance

No comments:

c# httpclient The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch

 If we get this error while trying to get http reponse using HttpClient object, it could mean that certificate validation fails for the remo...