A.ObjContext.SaveChanges(SaveOptions.DetectChangesBeforeSave);
B.ObjContext.SaveChanges(SaveOptions.AcceptAllChangesAfterSave);
C.ObjContext.SaveChanges(SaveOptions.All);
D.ObjContext.SaveChanges(SaveOptions.None);
您可能感兴趣的试卷
你可能感兴趣的试题
A.FormsAuthentication
B.RoleProvider
C.SqlRoleProvider
D.MembershipProvider
A.ListView Web Server Control
B.DetailsView Web Server Control
C.DataList Web Server Control
D.Data Web Server Control
A.FindFieldTemplate
B.FindControl
C.FindDataSourceControl
D.FindDataControl
A.DataPagingField
B.DataPagerCollection
C.DataPager
D.DataPaging
A.LoadViewStateByID
B.UniqueID
C.ClientIDMode
D.ClientIDRowSuffix
A.ClientID
B.ID
C.AssociatedControlID
D.ControlID
A.Add the following code to the Web.config file.
B.Add the following code to the Web.release.config file.
C.Add the following code to the Web.config file:
D.Add the following code to the Web.release.config file.
A.Use JavaScript Object Notation.
B.Use the RegisterClientScriptBlock method.
C.Use the RegisterClientScriptlnclude method.
D.Build a JavaScript function.
E.Use the RegisterClientScriptResource method.
A.Use RangeValidator.
B.Use RegularExpressionValidator
C.Use RequiredValidator
D.Use CompareValidator
E.Use RequiredFieldValidator
A.<%= Html.ActionLink("MyTest", "MyHome", new {area = "test"}, null)%>
B.<%= Html.RouteLink("MyHome", "MyTest", new {area = "test"}, null)%>
C.<%= Html.RouteLink("MyTest", "MyHome", "MyTest", new {area = "test"}, null)%>
D.<%= Html.ActionLink("MyTest", "MyHome", "MyTest", new {area = "test"}, null)%>
最新试题
Which method of the ChildActionExtensions class calls a child action method and renders the result inline in the parent view?()
Which class provides paging functionality for data-bound controls that implement the IPageableItemContainer interface?()
You are debugging an ASP.NET Web application by using the Visual Studio debugger. The application is incorrectly handling a SQL Exception on the login page. You need to break execution where the exception is thrown . What should you do?()
You need to ensure that when the button is clicked, both update panels update the tim without generating a postback. What should you do?()
You have migrated a web application from .net 3.5 to 4.0. the application hat to render same as in .net 3.5.()
You are developing an ASP.NET Web page that uses jQuery validation. The user should enter a valid email address in a text box that has ID txtEmail. The page must display "E-Mail address required" when the user does not enter an address and "Invalid e-mailaddress" when the user enters an address that is not formatted properly. You need to ensure that the appropriate error message is displayed when the text box does not contain a valid e-mail address. Which two code segments should you add?()
You have a login.ascx control and to display it in a view which method u would use()
Which tool is used to simplify the migration, management and deployment of IIS Web servers, Web applications and Web sites?()
You have to store user data of 200 KB in an object. Which state management technique to use:()
You create an ASP.NET server control in the SampleControl namespace. The control uses a JavaScript file names Refresh.js to implement AJAX functionality.You need to ensre that the JavaScript file is included in the assembly. Which two actions should you perform?()