ComponentOne ADO.NET DataExtender
C1.C1DataExtender.2 Assembly / C1.C1DataExtender Namespace / C1DataView Class / AllowDelete Property

In This Topic
    AllowDelete Property (C1DataView)
    In This Topic
    Gets or sets a value indicating whether deletion of rows is permitted for this C1DataView.
    Syntax
    'Declaration
     
    Public Property AllowDelete As System.Boolean
    public System.bool AllowDelete {get; set;}
    Remarks
    This property value is inherited by default from the C1.C1DataExtender.SchemaExtender.DataTableExtender.AllowDelete property values of C1.C1DataExtender.SchemaExtender.DataTableExtender objects from the BaseSchemaTables collection that corresponds to "Main" table nodes (see Composite View Definition topic for details on "Main" and "Lookup" table nodes). If C1.C1DataExtender.SchemaExtender.DataTableExtender.AllowNew property values are true for all "Main" tables then default value is true; otherwise, false.

    You can change this value to false only if default calculated value is true. You can't change default false value to true.

    See Also