可学答题网 > 问答 > MCTS(70-515)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You work as an&#8194


You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You create an ASP.NET Web application using .NET Framework 4.0. The Web application connects to a SQL Server database. You use the ADO.NET Entity Framework to handle persistence-ignorant entities. You create an ObjectContext object named ObjContext. Subsequently, you change properties on numerous entities. You are required to save the changed entity values in the SQL Server database. Which of the following code segments will you use?()

  • AObjContext.SaveChanges(SaveOptions.DetectChangesBeforeSave);
  • BObjContext.SaveChanges(SaveOptions.AcceptAllChangesAfterSave);
  • CObjContext.SaveChanges(SaveOptions.All);
  • DObjContext.SaveChanges(SaveOptions.None);
参考答案
参考解析:
分类:MCTS(70-515)题库
相关推荐

1、You work as an 

You work as an application developer at Certkiller .com. Certkiller .com has instructed&#8194...

2、You work as an 

You work as an Exchange Administrator for UniCom Inc.The company has a Windows 2008&#81...

3、You work as an 

You work as an administrator at ABC.com. The ABC.com network consists of a single&#8194...

4、You work as an 

You work as an administrator at ABC.com.The ABC.com network consists of a single domain...

5、You work as an 

You work as an administrator at ABC.com. The ABC.com network consists of a single&#8194...

6、You work as an 

You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visu...