/// <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 void UpdateChild(object child, params object[] parameters) { Server.ChildDataPortal portal = new Server.ChildDataPortal(); portal.Update(child, parameters); }
/// <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 void UpdateChild(T child, params object[] parameters) { var portal = new Server.ChildDataPortal(ApplicationContext); portal.Update(child, parameters); }
/// <summary> /// Inserts, updates or deletes an existing /// child business object. /// </summary> /// <param name="child"> /// Business object to update. /// </param> public static void UpdateChild(object child) { Server.ChildDataPortal portal = new Server.ChildDataPortal(); portal.Update(child); }
/// <summary> /// Inserts, updates or deletes an existing /// child business object. /// </summary> /// <param name="child"> /// Business object to update. /// </param> public void UpdateChild(T child) { var portal = new Server.ChildDataPortal(ApplicationContext); portal.Update(child); }