When mapping entities to database tables, the ___________ attribute can be used to specify column names that differ from property names.
- [Column]
- [ForeignKey]
- [PrimaryKey]
- [Table]
When mapping entities to database tables, the "[Column]" attribute can be used to specify column names that differ from property names. This is particularly useful when you have properties with names that don't match your database column names. By using [Column], you can explicitly specify the column name that should be mapped to the property.
Loading...
Related Quiz
- To update data in Entity Framework, you typically modify the properties of an ___________.
- Which ADO.NET class is responsible for establishing a connection to a database?
- In LINQ to SQL, DataContext manages the ___________ between your application and the database.
- How does a DataAdapter facilitate interaction between a database and a DataSet?
- To implement custom data binding, you can create a custom class that implements the ___________ interface.