To ensure a column is always populated in the database but its value is automatically generated on insert or update, you should configure it as a _________ property.

  • Identity
  • Computed
  • AutoIncrement
  • Managed
To ensure that a column's value is automatically generated by the database during insert or update, you should configure it as a Computed property. This is useful for fields like timestamps or auto-incrementing primary keys in ASP.NET Core Entity Framework.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *