Q1. You cannot get data from a view inside Entity Framework, true or false?
Q2. Which database method can be used to query and retrieve data using SQL statements?
ExecuteSqlCommand
Execute
SqlQuery
Q3. You have to write all SQL Server stored procedures by hand if you want to map CRUD operations for an entity type to a set of stored procedures, true or false?
Q4. There is no downside to using the asynchronous API, true or false?
Q5. Which method can be used to asynchronously save changes in DbContext
?
SaveChanges
SaveChangesAsync
SaveChangesAsynchonously
Q6. What method needs to be called to mark a property as a concurrency property inside the entity type configuration class?
RowVersion()
HasDatabaseGenerationOption()
IsRowVersion()
Q7. What exception type indicates a concurrency error?
DbUpdateConcurrencyException
ConcurrencyException
OptimisticConcurrencyException
18.191.235.8