Guest User

Untitled

a guest
Jun 24th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. Public Shared Function GetNewContext() As YourDataContext
  2. Dim dContext As YourDataContext
  3.  
  4. dContext = New YourDataContext()
  5. dContext.Connection.ConnectionString = MyConnectionStringFromTheWebConfig()
  6.  
  7. Return dContext
Add Comment
Please, Sign In to add comment