31 lines
985 B
C#
31 lines
985 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 SwarmDb
|
|
{
|
|
/*
|
|
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();
|
|
}
|
|
}*/
|
|
}
|
|
} |