Jasinski Technical Wiki

Navigation

Home Page
Index
All Pages

Quick Search
»
Advanced Search »

Contributor Links

Create a new Page
Administration
File Management
Login/Logout
Your Profile

Other Wiki Sections

Software

PoweredBy

Page History: Connection Strings - SQL Server

Compare Page Revisions



« Older Revision - Back to Page History - Current Revision


Page Revision: Tue, Dec 20, 2011, 6:26 PM


DescriptionExample
SQL Server AuthenticationData Source=myServerAddress;Initial Catalog=myDataBase;User Id=myUsername;Password=myPassword;
Windows AuthenticationData Source=myServerAddress;Initial Catalog=myDataBase;Integrated Security=SSPI;

For much more detail, see www.connectionstrings.com

Entity Data Model

<add
  name="EntityDataModel"
  connectionString="metadata=res://*/EntityDataModel.csdl|res://*/EntityDataModel.ssdl|res://*/EntityDataModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;myConnectionString&quot;"
  providerName="System.Data.EntityClient"
  />

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.