Creates a new item directly in the view, and a view row associated with it, and adds it to the ViewRowCollection.

Namespace:  C1.LiveLinq.LiveViews
Assembly:  C1.LiveLinq (in C1.LiveLinq.dll)

Syntax

C#
public ViewRow CreateRow()
Visual Basic
Public Function CreateRow As ViewRow

Return Value

The newly created view row.

Remarks

Creating a new row is an update operation on the view. As any other update operation performed directly on the view (as opposed to on the base data collection on which that view depends, see AsUpdatable<(Of <<'(T>)>>)(View<(Of <<'(T>)>>))), it is allowed only if the view is not read-only (see IsReadOnly), and it results in updating (in this case, adding a new item to) one of the view's base data collections.

See Also