﻿using System;
using System.Data.SQLite;
using System.IO;

namespace CurrConvPCL
{
	public class SqlliteInit
	{
		private String _dbLocation;

		public SqlliteInit ()
		{
			_dbLocation = Path.Combine (Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "CurrConvDb.db");
		}



		public string getConnectionString(){
			var builder = new SQLiteConnectionStringBuilder();
			builder.DataSource = _dbLocation;
			builder.Version = 3;
			return builder.ToString();
		}
	}
}

