Saxonite
This commit is contained in:
@@ -168,7 +168,7 @@ namespace Sarand.Net.Standard.Dbas.Interfaces
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Delete Interface Process.
|
||||
// Delete Item.
|
||||
public override bool InterfaceProcessCanBeDeleted (SaInterfaceProcess interfaceProcess)
|
||||
{
|
||||
ClearErrorState();
|
||||
@@ -236,11 +236,11 @@ namespace Sarand.Net.Standard.Dbas.Interfaces
|
||||
{
|
||||
try
|
||||
{
|
||||
// Retrieve interface.
|
||||
// Retrieve item.
|
||||
dbConnection.Open();
|
||||
SaInterfaceProcess_Db dbInterfaceProcess = new SaInterfaceProcess_Db_Local(DbInfo);
|
||||
dbInterfaceProcess.PopulateFrom(dbCommand, aliasInterfaceProcess, "Id=" + SysId.ToString(interfaceProcess.Id));
|
||||
// Delete interface.
|
||||
// Delete item.
|
||||
dbCommand.CommandType = System.Data.CommandType.Text;
|
||||
dbCommand.CommandText = "DELETE FROM " + TableName_InterfaceProcess + " WHERE Id=" + SysId.ToString(interfaceProcess.Id) + ";";
|
||||
dbCommand.ExecuteNonQuery();
|
||||
|
||||
Reference in New Issue
Block a user