DataModelEraseEventArgs

DataModelEraseEventArgs contains event data for events related to the Erase method.

Namespace:
Inetdev.Data
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
System.EventArgs

Constructors

DataModelEraseEventArgs

Default constructor

Signature:
public Void DataModelEraseEventArgs()

DataModelEraseEventArgs

Creates a new instance of DataModelEraseEventArgs.

Signature:
public Void DataModelEraseEventArgs(exception)
Parameters
Name Type Summary
exception Exception The Exception thrown during the erase process.

DataModelEraseEventArgs

Creates a new instance of DataModelEraseEventArgs.

Signature:
public Void DataModelEraseEventArgs(recordsAffected)
Parameters
Name Type Summary
recordsAffected Int32 Amount of records affected by the operation.

Properties

CancelThrowingException

Tells the event caller object if the exception throwing should be canceled after an eration failure.

Signature:
public Boolean CancelThrowingException { get; set; }

Exception

The Exception occured while eraseing the object or null if no errors ocurred during eration.

Signature:
public Exception Exception { get; set; }

RecordsDeleted

The amount of records successfully deleted from the undelaying repository.

Signature:
public Int32 RecordsDeleted { get; set; }