using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DomainModel = DevLeap.Linq.Architecture.NTier.DomainModel;

namespace DevLeap.Linq.Architecture.NTier.DataLayer.LinqToSql {
public class BaseDal<TEntity, TEntityList, TKey>:
IDal<TEntity, TEntityList, TKey>
where TEntity : BaseEntity, new()
where TEntityList : IEnumerable<TEntity> {
private NorthwindDataContext _northwind;
protected NorthwindDataContext Northwind {
	get { return this._northwind; }
}

protected BaseDal(){
	_northwind = new NorthwindDataContext(nwConnectionString);
}

#region IDal<TEntity,TEntityList,TKey> Members
// ... Kd vynechn ...
#endregion
}
}
