/ Home / HowTo / DeleteRecord

How to Configure DataAccess with ConnectionBuilder.
How to Configure DataAccess with DataConfigs.

using LJCDBClientLib;
using LJCNetCommon;

// Delete a data record.
internal void Delete(string connectionString, string providerName)
{
  // Create the SQLManager.
  var sqlManager = new SQLManager(null, "Province", connectionString
    , providerName);

  // Identify the records to be deleted.
  var keyColumns = new DbColumns()
  {
    { "ID" , 1 }
  };

  // Perform the Delete
  sqlManager.Delete(keyColumns);
}
/ Home / HowTo / DeleteRecord

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.