Files
using.cash/Database/Database-OutboundPhoneMessages.cs
T
2013-01-08 22:11:15 +00:00

31 lines
986 B
C#

using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using Swarmops.Basic.Types;
namespace Swarmops.Database
{
public partial class PirateDb
{
/*
public void LogTransmittedPhoneMessage (int personId, string phoneNumber, string message)
{
using (DbConnection connection = GetSqlServerDbConnection())
{
connection.Open();
DbCommand command = GetDbCommand("LogTransmittedPhoneMessage", connection);
command.CommandType = CommandType.StoredProcedure;
AddParameterWithName(command, "dateTime", DateTime.Now);
AddParameterWithName(command, "personId", personId);
AddParameterWithName(command, "phoneNumber", phoneNumber);
AddParameterWithName(command, "message", message);
command.ExecuteNonQuery();
}
}*/
}
}