1

I am new to creating interfaces and was wondering if anyone knows of good tutorials/Examples of how to create them. I code mainly ASP.NET, C# and T-SQL. Thanks.

4
  • 2
    Could you please clarify the notion of a database interface? Commented Feb 10, 2011 at 19:14
  • Could you be more specific? What are you trying to do? Commented Feb 10, 2011 at 19:15
  • What exactly are you asking? How to write a data access layer? This question seems way too broad. Commented Feb 10, 2011 at 19:15
  • I think what you're looking for is an ORM, take a look at Linq to SQL Commented Feb 10, 2011 at 19:19

4 Answers 4

3

I think what you want to look into is ADO.NET Entity Framework.

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

Comments

3

I wrote a fairly sophisticated three-tier app in VB after reading one of the Murach books. There's one for C# and ASP.NET on VS 2008.

Comments

1

The concepts outlined in this tutorial helped me a lot a few years ago - it's quite detailed but might be quite out of date now (SQL Server 2005)

http://www.asp.net/data-access/tutorials/creating-a-data-access-layer-cs

But it's directly aimed at C# ASP.NET, so should be suited to you I think.

Comments

1

You might want to consider using an existing ORM mapper instead of building your own data access layer from scratch as a lot of it is boiler plate code any way. A popular one in the .NET community is NHibernate

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.