SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 507 | Next

Scott Klein

"Professional LINQ"

Next, select
how the Entity Framework will make its connection, via Windows Authentication or through SQL
Server Authentication. This example uses SQL Server Authentication, but feel free to select Windows
Authentication.
Next, choose the database from which the Entity Framework will connect to access the objects and create
the entities and relationships. Select the AdventureWorks database, and then click the Test Connection
332
Appendix B: LINQ to Entities: The ADO.NET Entity Framework
button to ensure that the connection information has been entered correctly and that a connection can be
made. Click OK.
Figure B-2
The top part of the Data Connection Wizard step should look like Figure B-4.
Choose whether you want to store sensitive connection information in the connection string. For this
example, select Yes.
Ensure that the Save Entity Connection Settings in the App.Config as check box is checked. The wizard
requires that you provide a name for the connection settings. The best practice in naming is to include
the word Entities at the end of the name.


Pages:
495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519
domy z drewna kredyt dominet policcich Programy partnerskie linia zycia