Click here to Skip to main content
15,880,405 members
Articles / Database Development / SQL Server / SQL Server 2008

Simple Data Access in C#

Rate me:
Please Sign up or sign in to vote.
4.11/5 (15 votes)
11 Jan 2009CPOL5 min read 83.6K   1.4K   58  
Fast and easy to use data access class library.
using Microsoft.VisualStudio.TestTools.UnitTesting;


namespace Yap.Data.UnitTest
{
	[TestClass]
	public class ClassicDestinationRepositoryTestFixture : DestinationRepositoryTestFixture
	{
		private readonly IDestinationRepository _Repository = new ClassicDestinationRepository();

		private readonly IPersonRepository _PersonRepository = new RecordPersonRepository();


		protected override IDestinationRepository Repository
		{
			get { return _Repository; }
		}

		protected override IPersonRepository PersonRepository
		{
			get { return _PersonRepository; }
		}
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Russian Federation Russian Federation
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions