logo

CuriousTab

CuriousTab

Discussion


Home Certification Microsoft Certification See What Others Are Saying!
  • Question
  • You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. You use the ADO.NET Entity Framework to model entities. You write the following code segment. (Line numbers are included for reference only.) 01AdventureWorksEntities context = New AdventureWorksEntities 02 03var q = from c in context.Customers 04where c.City == "London" 05orderby c.CompanyName 06select c; You need to ensure that the application meets the following requirements: "Compares the current values of unmodified properties with values returned from the data source". Marks the property as modified when the properties are not the same. Which code segment should you insert at line 02?


  • Options
  • A. context.MergeOption = MergeOption.AppendOnly;
  • B. context.MergeOption = MergeOption.PreserveChanges;
  • C. context.MergeOption = MergeOption.OverwriteChanges;
  • D. context.MergeOption = MergeOption.NoTracking;

  • Correct Answer
  • context.MergeOption = MergeOption.PreserveChanges; 


  • More questions

    • 1. Which proprietary Cisco STP extensions would put a switch port into err-disabled if a BPDU is received on this port?
    • Discuss
    • 2. Which Cisco 802.1d extension stops BPDU from being transmitted out a port?
    • Discuss
    • 3. You want to improve network performance by increasing the bandwidth available to hosts and limit the size of the broadcast domains. Which of the following options will achieve this goal?

    • Options
    • A. Managed hubs
    • B. Bridges
    • C. Switches
    • D. Switches configured with VLANs
    • Discuss
    • 4. What command would you use to set an access list on a VTY line?
    • Discuss
    • 5. What is the meaning of amber SYST led on a 2960 switch?

    • Options
    • A. This is normal operation
    • B. There is a bridging loop
    • C. The switch IOS is loading
    • D. The switch failed its POST
    • Discuss
    • 6. What is the formula for ranking keyword-targeted ads on the Search Network?
    • Discuss
    • 7. What are the minimum requirements to run an ad on the Search Network?
    • Discuss
    • 8. Why should you use the Ad Preview and Diagnosis tool to check if your ads are live and running on Google?
    • Discuss
    • 9. Why is it important to monitor ad campaign performance?
    • Discuss
    • 10. What is one way you can increase CTRs?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment