0

The tutorials I have come across usually let you create a dababase from scratch creating a .mdf file or something and so on. However, what if I already have a SQL Server Express set up with the needed database? How do I tell my model to use that database?

Right now, all my model contains is basically some classes that execute stored procedure on my own database and return manupulated data. Should I leave it as it is? What are the benefits of going through the full-fledged model approach that tutorials demonstrate?

1
  • Are you using an ORM tool, such as LINQ-to-SQL or nhibernate? Commented Sep 11, 2009 at 0:29

1 Answer 1

1

I am not using any ORM tool, but I am using Microsoft's Enterprise Library (Microsoft.Practices.EnterpriseLibrary) to connect to the database. I would switch to an ORM tool, if that means performance boost. Otherwise, Microsoft Enterprise Library seems fine.

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

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.