예제 #1
0
        public void ExecuteCommand(string command, Parameter[] parameters)
        {
            using(var sqlCommand = new SqlCommand())
            {
                sqlCommand.Connection = connection;
                foreach(var param in parameters)
                {
                    sqlCommand.Parameters.Add(new SqlParameter(param.Name, param.Value));
                }

                sqlCommand.ExecuteNonQuery();
            }
            throw new NotImplementedException();
        }
예제 #2
0
 public object ExecuteScalar(string query, Parameter[] parameters)
 {
     throw new NotImplementedException();
 }
예제 #3
0
 public System.Data.IDataReader ExecuteQuery(string query, Parameter[] parameters)
 {
     throw new NotImplementedException();
 }