ComponentOne Data Source for Entity Framework
C1.LiveLinq.LiveViews Namespace / ViewRowCollection Class / AllowNew Property

In This Topic
    AllowNew Property
    In This Topic
    Gets a value indicating whether the CreateRow operation is allowed on the view directly.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property AllowNew As System.Boolean
    public System.bool AllowNew {get;}
    Remarks
    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). Note that the same operation is usually allowed on the base data collection, and it will normally result in the corresponding change of the view.
    See Also