The column "..." cannot be modified because it is a computed column, or the result of the UNION operator.

Modify Mapping

 

this.Property(t => t.。。).HasDatabaseGeneratedOption(System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption.Computed);

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324942745&siteId=291194637