DataModelSaveEventArgs

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

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

Constructors

DataModelSaveEventArgs

Default constructor

Signature:
public Void DataModelSaveEventArgs()

DataModelSaveEventArgs

Creates a new instance of DataModelSaveEventArgs and initializes it.

Signature:
public Void DataModelSaveEventArgs(exeption)
Parameters
Name Type Summary
exeption Exception

DataModelSaveEventArgs

Creates a new instance of DataModelSaveEventArgs.

Signature:
public Void DataModelSaveEventArgs(recordsAffected)
Parameters
Name Type Summary
recordsAffected Int32 Amount of records affected.

Properties

CancelThrowingException

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

Signature:
public Boolean CancelThrowingException { get; set; }

Exception

The Exception occured while saving the object or null if no errors ocurred during operation.

Signature:
public Exception Exception { get; set; }

RecordsAffected

The amount of records affected by the operation.

Signature:
public Int32 RecordsAffected { get; set; }