ComponentOne Data Source for Entity Framework
C1.LiveLinq.LiveViews Namespace / ViewRow Class / Delete Method

In This Topic
    Delete Method
    In This Topic
    Deletes a view item.
    Syntax
    'Declaration
     
    
    Public Overridable Sub Delete() 
    public virtual void Delete()
    Remarks
    Deleting a view item 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 C1.LiveLinq.LiveViewExtensions.AsUpdatable<T>), it is allowed only if the view is not read-only (see View.IsReadOnly), and it results in updating (in this case, deleting an item from) one of the view's base data collections.
    See Also