/// <summary> /// Builds the RowWrapper. /// </summary> /// <returns> the row wrapper </returns> public virtual RowWrapper Build() { if (toTop == null && toBottom == null && parentId == null && siblingId == null) { throw new InvalidOperationException("One of the following must be defined to move a row: toTop, " + "toBottom, parentId, siblingId."); } RowWrapper rowWrapper = new RowWrapper(); rowWrapper.toTop = toTop; rowWrapper.toBottom = toBottom; rowWrapper.parentId = parentId; rowWrapper.siblingId = siblingId; return(rowWrapper); }
/// <summary> /// Builds the RowWrapper. /// </summary> /// <returns> the row wrapper </returns> public virtual RowWrapper Build() { if (toTop == null && toBottom == null && parentId == null && siblingId == null) { new MemberAccessException("One of the following fields must be set toTop, toBottom, parentId or" + " sibling Id"); } RowWrapper rowWrapper = new RowWrapper(); rowWrapper.toTop = toTop; rowWrapper.toBottom = toBottom; rowWrapper.parentId = parentId; rowWrapper.siblingId = siblingId; rowWrapper.rows = rows; return(rowWrapper); }
/// <summary> /// Builds the RowWrapper. /// </summary> /// <returns> the row wrapper </returns> public virtual RowWrapper Build() { if (toTop == null && toBottom == null && parentId == null && siblingId == null) { new MemberAccessException("One of the following fields must be set toTop, toBottom, parentId or" + " sibling Id"); } RowWrapper rowWrapper = new RowWrapper(); rowWrapper.toTop = toTop; rowWrapper.toBottom = toBottom; rowWrapper.parentId = parentId; rowWrapper.siblingId = siblingId; rowWrapper.rows = rows; return rowWrapper; }
/// <summary> /// Builds the RowWrapper. /// </summary> /// <returns> the row wrapper </returns> public virtual RowWrapper Build() { if (toTop == null && toBottom == null && parentId == null && siblingId == null) { throw new InvalidOperationException("One of the following must be defined to move a row: toTop, "+ "toBottom, parentId, siblingId."); } RowWrapper rowWrapper = new RowWrapper(); rowWrapper.toTop = toTop; rowWrapper.toBottom = toBottom; rowWrapper.parentId = parentId; rowWrapper.siblingId = siblingId; return rowWrapper; }
public virtual IList<Row> MoveRow(long id, RowWrapper rowWrapper) { throw new NotSupportedException(); }