题目内容

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?()

A. ObjContext.SaveChanges(SaveOptions.DetectChangesBeforeSave);
B. ObjContext.SaveChanges(SaveOptions.AcceptAllChangesAfterSave);
C. ObjContext.SaveChanges(SaveOptions.All);
D. ObjContext.SaveChanges(SaveOptions.None);

查看答案
更多问题

海南省第一所高校()

A. 两院
B. 海南师范
C. 海南大学(在1947年出现过私立的的海南大学)

次数多边形

噪音对人的表现的影响。

创设情境进行口语交际应注意()。

A. 要在指导观察上下功夫
B. 要设计好引导的思路
C. 要注意想象合理
D. 要注意说话得体

答案查题题库