Saxonite
This commit is contained in:
@@ -162,11 +162,11 @@ namespace Sarand.Net.Standard.Dbas.Interfaces
|
||||
{
|
||||
try
|
||||
{
|
||||
// Retrieve interface.
|
||||
// Retrieve item.
|
||||
dbConnection.Open();
|
||||
SaInterfaceDataItem_Db dbInterfaceDataItem = new SaInterfaceDataItem_Db(DbInfo);
|
||||
dbInterfaceDataItem.PopulateFrom(dbCommand, aliasInterfaceDataItem, "Id=" + SysId.ToString(interfaceProcessDataItem.Id));
|
||||
// Delete interface.
|
||||
// Delete item.
|
||||
dbCommand.CommandType = System.Data.CommandType.Text;
|
||||
dbCommand.CommandText = "DELETE FROM " + TableName_InterfaceDataItem + " WHERE Id=" + SysId.ToString(interfaceProcessDataItem.Id) + ";";
|
||||
dbCommand.ExecuteNonQuery();
|
||||
|
||||
Reference in New Issue
Block a user