2

I have a Models folder. How do I go about creating a .dbml file underneath so that I can add tables, stored procedures in it. I am using MVC c# with Visual Studio 2010 Professional.

2 Answers 2

4
  1. In Solution Explorer: Right click on the Models folder.
  2. Choose Add -> New Item
  3. In the dialog that comes up choose Visual C# -> Data -> LINQ to SQL Classes.

This will create a .dbml file in your Models folder.

Sign up to request clarification or add additional context in comments.

Comments

1
  1. Right click on the Models folder in Solution Explorer.
  2. Select "Add..." -> "New Item...".
  3. Select the "Data" option from the Left Hand Side and then click Linq to SQL Classes:

DBML

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.