/// <summary> /// Inserts, updates or deletes an existing /// child business object. /// </summary> /// <param name="child"> /// Business object to update. /// </param> /// <param name="parameters"> /// Parameters passed to child update method. /// </param> public async Task UpdateChildAsync(T child, params object[] parameters) { var portal = new Server.ChildDataPortal(ApplicationContext); await portal.UpdateAsync(child, parameters).ConfigureAwait(false); }
/// <summary> /// Inserts, updates or deletes an existing /// child business object. /// </summary> /// <param name="child"> /// Business object to update. /// </param> /// <param name="parameters"> /// Parameters passed to child update method. /// </param> public static async Task UpdateChildAsync(object child, params object[] parameters) { Server.ChildDataPortal portal = new Server.ChildDataPortal(); await portal.UpdateAsync(child, parameters).ConfigureAwait(false); }