The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.
Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.
No connection string named 'PFModelContainer' could be found in the application config file.
<connectionStrings> <add name="PFModelContainer" connectionString="metadata=res://*/PFModel.csdl|res: //*/PFModel.ssdl|res://*/PFModel.msl; provider=System.Data.SqlServerCe.3.5; provider connection string=" Data Source=C:\Documents and Settings\Jon\My Documents\Visual Studio 2010\Projects\SpreadsheetAddIn \SpreadsheetAddIn\bin\Debug\PFData.sdf; Password=password"" providerName="System.Data.EntityClient" /> </connectionStrings>
Private mdbContext As New PFModelContainer
Partial Public Class PFModelContainer Inherits DbContext Public Sub New() MyBase.New("name=PFModelContainer") End Sub
Dim dbContext As New PFModelContainer Dim dbAccount As IQueryable(Of Account) dbAccount = From a In dbContext.Accounts Where (a.AccountName = "Hello") Select a