Table of Contents

Interface DataStoreEvent.ITrigger

Namespace
Tlabs.Data.Event
Assembly
Tlabs.Data.dll

Interface of a data store trigger to raise events.

public interface DataStoreEvent.ITrigger
Extension Methods

Methods

RaiseDeleteFailed(object, Func<object>, Exception)

Raise delete failed e> event.

bool RaiseDeleteFailed(object e, Func<object> obtainOrg, Exception ex)

Parameters

e object
obtainOrg Func<object>
ex Exception

Returns

bool

RaiseDeleted(object)

Raise (after) deleted e> event.

void RaiseDeleted(object e)

Parameters

e object

RaiseDeleting(object, Func<object>)

Raise (before) deleting e> event.

bool RaiseDeleting(object e, Func<object> obtainOrg)

Parameters

e object
obtainOrg Func<object>

Returns

bool

RaiseInsertFailed(object, Exception)

Raise insert failed e> event.

bool RaiseInsertFailed(object e, Exception ex)

Parameters

e object
ex Exception

Returns

bool

RaiseInserted(object)

Raise (after) inserted e> event.

void RaiseInserted(object e)

Parameters

e object

RaiseInserting(object)

Raise (before) inserting e> event.

bool RaiseInserting(object e)

Parameters

e object

Returns

bool

RaiseUpdateFailed(object, Func<object>, Exception)

Raise update failed e> event.

bool RaiseUpdateFailed(object e, Func<object> obtainOrg, Exception ex)

Parameters

e object
obtainOrg Func<object>
ex Exception

Returns

bool

RaiseUpdated(object)

Raise (after) updated e> event.

void RaiseUpdated(object e)

Parameters

e object

RaiseUpdating(object, Func<object>)

Raise (before) updating e> event.

bool RaiseUpdating(object e, Func<object> obtainOrg)

Parameters

e object
obtainOrg Func<object>

Returns

bool