/// <summary> /// Create a new channelCustomer object and persist it into the database. /// </summary> /// <param name="channelCustomer">The channelCustomer object</param> public ChannelCustomer AddChannelCustomer(ChannelCustomer channelCustomer) { // Persist the object into the database channelCustomer.Save(); // Return the new object with the new identifier (AUTO) return(channelCustomer); }
/// <summary> /// Update a channelCustomer object and persist changes into the database /// </summary> /// <param name="channelCustomer"></param> public void UpdateChannelCustomer(ChannelCustomer channelCustomer) { // Persist the object into the database channelCustomer.Save(); }