View Single Post
  #5 (permalink)  
Old September 2nd, 2013, 02:34 PM
maurices5000 maurices5000 is offline
Authorized User
Points: 94, Level: 1
Points: 94, Level: 1 Points: 94, Level: 1 Points: 94, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2013
Posts: 24
Thanks: 7
Thanked 0 Times in 0 Posts
Default

Also I'm using the Entity Model instead of a direct connection to the AdventureWorks database.

Here is my Endpoint
Quote:
<endpoint address="http://localhost/ProductsService/Service.svc"
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IProductsSe rvice"
contract="ProductsService.IProductsService" name="BasicHttpBinding_IProductsService" />
Here is my connection string:
Quote:
<connectionStrings>
<add name="AdventureWorksEntities" connectionString="metadata=res://*/ProductsModel.csdl|res://*/ProductsModel.ssdl|res://*/ProductsModel.msl;provider=System.Data.SqlClient;p rovider connection string=&quot;data source=SAM;initial catalog=AdventureWorks;integrated security=True;multipleactiveresultsets=True;App=En tityFramework&quot;" providerName="System.Data.EntityClient" />
</connectionStrings>
Reply With Quote