Quiz 70-516, TS: Accessing Data with Microsoft .NET Framework 4
You need to connect the existing POCO classes to an Entity Framework context
You need to add a function that returns the number of years since a person was hired
You need to add a new type to your model that organizes scalar values within an entity
You need to execute custom logic when an entity is attached to the ObjectContext
You need to ensure that the result sets are returned as strongly typed values
Which code segment should you use?
You need to add the property to Product
Which connection string should you add to the .config file?
You need to ensure that all the requested data is retrieved