Your question, your audience. Choose who sees your identity—and your question—with question security.
Before I did it this way:
Private mdbContext As PFModelContainer Private mdbTransactions As Object
Private mdbContext As New PFModelContainer Private mdbTransactions As mdbContext.Transactions
Once I hit
Public Sub New() mdbContext = New PFModelContainer mdbTransactions = mdbContext.Transactions End Sub
it takes me over to the
mdbContext = New PFModelContainer
PFModel.Designer.vbWhere it steps through the following:
At which point it terminates execution of the code. Am I doing something wrong here?
Public Sub New() MyBase.New("name=PFModelContainer", "PFModelContainer")
A first chance exception of type 'System.ArgumentException'
occurred in System.Data.Entity.dll
Join the community of 500,000 technology professionals and ask your questions.