View Code for DataAccess/SampleDataContext.cs

Source code for the file DataAccess/SampleDataContext.cs is shown below.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QuantumConcepts.CodeGenerator.Sample.Common.Utils;

namespace QuantumConcepts.CodeGenerator.Sample.DataAccess
{
    public partial class SampleDataContext
    {
        /// <summary>Creates a new DataContext with which to query and update data.</summary>
        public SampleDataContext()
            : base(SampleConfigUtil.Instance.ConnectionString, mappingSource)
        {
            OnCreated();
        }
		
    }
}