﻿using System.Data.Objects;
using System.Data.Objects.DataClasses;
using System.Runtime.Serialization;
using System;

namespace Slavin.DB {
	public partial class Context : ObjectContext {

		public Context(bool predefined)

			: base("provider connection string='" +
#if DEBUG
				"Data Source=dar.lokos.net;" +
#else
				"Data Source=127.0.0.1;" +
#endif
				"User ID=Intellect;" +
				"Password=054721357;" +
				"Initial Catalog=Intellect;" +
				"Persist Security Info=True;" +
				"multipleactiveresultsets=True;" +
				"application name=Intellect';" +
				"metadata=res://*/DB.csdl|res://*/DB.ssdl|res://*/DB.msl;" +
				"provider=System.Data.SqlClient;") { }

	}
}
