When using Data Annotations to configure a required relationship, the ________ attribute is often combined with the ________ attribute.

  • ForeignKey, Column
  • Key, Column
  • Required, ForeignKey
  • Required, Table
When configuring a required relationship with Data Annotations, the Required attribute is often combined with the ForeignKey attribute to enforce a required foreign key constraint in the database.
Add your answer
Loading...

Leave a comment

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