Question:You are using an Entity Data Model object. Which of the following lines of code will initialize this object and connect to the associated database? (Choose all that apply.) 

A MyModel.myEntities model = new MyModel.myEntitites() 

B MyModel.myEntities model = new MyModel.myEntitites(cnnString) 

C PubsModel.pubsEntities pubs = new PubsModel.pubsEntities(new System.Data.EntityClient.EntityConnection(cnnString)) 

D MyModel.myEntities model = new MyModel.myEntitites( new DataContext(cnnString)) 

+ Answer
+ Report
Total Preview: 1192

Copyright © 2024. Powered by Intellect Software Ltd