/ Home / HowTo / UpdateProvince

The ProvinceSQLManager class is a strongly typed manager class specifically for use with the Province table and Province Data Object.

using LJCNetCommon;

// Update a Data Object.
internal void UpdateProvince(Province province, string connectionString
  , string providerName)
{
  var manager = new ProvinceSQLManager(null, null, connectionString
    , providerName);

  province.Description = "Updated Description";

  // Identify the records to be selected.
  var keyColumns = manager.GetIDKey(1);
  manager.Update(province, keyColumns);
}
/ Home / HowTo / UpdateProvince

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