This commit is contained in:
2021-07-10 14:23:52 +01:00
parent b7ce1cf5f5
commit 2cb58f0345
19 changed files with 203 additions and 161 deletions
@@ -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();