Exemple #1
0
 /// <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);
 }
Exemple #2
0
        /// <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);
        }
Exemple #3
0
 /// <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);
 }
Exemple #4
0
        /// <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);
        }