scaffolding: computed column does not include HasComputedColumnSql
.
#9
Labels
known limitation
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
The current scaffolding generator ensures that a valid
DbContext
that can be used is generated. If we also include the computed SQL in the meta model, EF Core will not respect theValueGeneratedOnAddOrUpdate
part of the meta model, and will try to insert values into the computed column. Cloud Spanner does not allow that.Query:
FullName STRING(400) NOT NULL AS (COALESCE(FirstName || ' ', '') || LastName) STORED,
Actual:
Excepted:
The text was updated successfully, but these errors were encountered: