00001 using System; 00002 using System.Collections.Generic; 00003 using System.Linq; 00004 using System.Text; 00005 using System.Data.Common; 00006 using System.Data.SqlClient; 00007 using System.Configuration; 00008 00009 namespace Foodolini.Tools 00010 { 00014 public class MsSqlDB : Database<SqlConnection> 00015 { 00016 public MsSqlDB(string connString) 00017 { 00018 connection = new SqlConnection(connString); 00019 } 00020 00026 protected override DbCommand GetCommand(string sql) 00027 { 00028 return new SqlCommand(sql, connection); 00029 } 00030 00031 public override SqlConnection GetConnection() 00032 { 00033 throw new NotImplementedException(); 00034 } 00035 00036 } 00037 }