DeltaChange

Overview

The DeltaChange class represents a single changes row within a Delta. This class is used by Data Abstract to store a row that has been removed, added or modified.

Location


 

constructor (Delta)

 

constructor(delta: Delta)

 

DeltaChange(Delta delta)

 

Sub New(delta As Delta)

Parameters:

  • delta:

constructor (Delta, Int32)

 

constructor(delta: Delta; changeId: Int32)

 

DeltaChange(Delta delta, Int32 changeId)

 

Sub New(delta As Delta, changeId As Int32)

Parameters:

  • delta:
  • changeId:

constructor (Delta, DataRow)

 

constructor(delta: Delta; dataRow: DataRow)

 

DeltaChange(Delta delta, DataRow dataRow)

 

Sub New(delta As Delta, dataRow As DataRow)

Parameters:

  • delta:
  • dataRow:

Changed

 

property Changed[index: Int32]: Boolean read;

 

Boolean Changed[Int32 index] { get; }

 

ReadOnly Property Changed(index As Int32) As Boolean

Changed

 

property Changed[name: String]: Boolean read;

 

Boolean Changed[String name] { get; }

 

ReadOnly Property Changed(name As String) As Boolean

ChangeID

Returns an unique ID within the Delta this row is part of. This is used by the Server to identify the changes that failed and succeeded.

 

property ChangeID: Int32 read;

 

Int32 ChangeID { get; }

 

ReadOnly Property ChangeID() As Int32

CopyDataRow  protected

 

method CopyDataRow(dataRow: DataRow)

 

void CopyDataRow(DataRow dataRow)

 

Sub CopyDataRow(dataRow As DataRow)

Parameters:

  • dataRow:

Count

Returns the number of fields referenced by this DeltaChange. It shows the field count of the underlying table of the Delta. The NewValues and OldValues arrays have this count.

 

property Count: Int32 read;

 

Int32 Count { get; }

 

ReadOnly Property Count() As Int32

Delta

Returns the Delta referenced by this DeltaChange.

 

property Delta: Delta read;

 

Delta Delta { get; }

 

ReadOnly Property Delta() As Delta

Item

 

property Item[index: Int32]: Object read write;

 

Object Item[Int32 index] { get; set; }

 

Property Item(index As Int32) As Object

Item

 

property Item[name: String]: Object read write;

 

Object Item[String name] { get; set; }

 

Property Item(name As String) As Object

Message

After a failed update (i.e. the Status property is set to Failed), this property will contain the error message for that update.

 

property Message: String read write;

 

String Message { get; set; }

 

Property Message() As String

NewValues

Gets a collection of values that should be put into the database.

 

property NewValues: DeltaChangeValuesIndexer read;

 

DeltaChangeValuesIndexer NewValues { get; }

 

ReadOnly Property NewValues() As DeltaChangeValuesIndexer

OldValues

Gets a collection of values that are currently stored in the database.

 

property OldValues: DeltaChangeValuesIndexer read;

 

DeltaChangeValuesIndexer OldValues { get; }

 

ReadOnly Property OldValues() As DeltaChangeValuesIndexer

OnGetOriginalRow

 

property OnGetOriginalRow: OnGetOriginalRowEventHandler read write;

 

OnGetOriginalRowEventHandler OnGetOriginalRow { get; set; }

 

Property OnGetOriginalRow() As OnGetOriginalRowEventHandler

OriginalRow

Gets a collection of values that are currently stored in the database.

Note: Unlike the OldValues property this property directly accesses the underlying database to retrieve collection values so accessing this property requires a database read operation. To minimize the possible performance hit and database deadlocks propbability this property should be accessed ionly if it absolutely necessary.

 

property OriginalRow: DeltaChangeValuesIndexer read;

 

DeltaChangeValuesIndexer OriginalRow { get; }

 

ReadOnly Property OriginalRow() As DeltaChangeValuesIndexer

Status

State of this DeltaChange. This property returns if the row has been send back to the server already and it indicates whether updating failed.

 

property Status: ChangeStatus read write;

 

ChangeStatus Status { get; set; }

 

Property Status() As ChangeStatus

ToDetailedString

 

method ToDetailedString: String

 

String ToDetailedString()

 

Function ToDetailedString() As String

Type

Type of the change this DeltaChange represents. The DeltaChange will contain the delete, updated or inserted row.

 

property Type: ChangeType read write;

 

ChangeType Type { get; set; }

 

Property Type() As ChangeType

 

Changed

 

property Changed[index: Int32]: Boolean read;

 

Boolean Changed[Int32 index] { get; }

 

ReadOnly Property Changed(index As Int32) As Boolean

Changed

 

property Changed[name: String]: Boolean read;

 

Boolean Changed[String name] { get; }

 

ReadOnly Property Changed(name As String) As Boolean

ChangeID

Returns an unique ID within the Delta this row is part of. This is used by the Server to identify the changes that failed and succeeded.

 

property ChangeID: Int32 read;

 

Int32 ChangeID { get; }

 

ReadOnly Property ChangeID() As Int32

Count

Returns the number of fields referenced by this DeltaChange. It shows the field count of the underlying table of the Delta. The NewValues and OldValues arrays have this count.

 

property Count: Int32 read;

 

Int32 Count { get; }

 

ReadOnly Property Count() As Int32

Delta

Returns the Delta referenced by this DeltaChange.

 

property Delta: Delta read;

 

Delta Delta { get; }

 

ReadOnly Property Delta() As Delta

Item

 

property Item[index: Int32]: Object read write;

 

Object Item[Int32 index] { get; set; }

 

Property Item(index As Int32) As Object

Item

 

property Item[name: String]: Object read write;

 

Object Item[String name] { get; set; }

 

Property Item(name As String) As Object

Message

After a failed update (i.e. the Status property is set to Failed), this property will contain the error message for that update.

 

property Message: String read write;

 

String Message { get; set; }

 

Property Message() As String

NewValues

Gets a collection of values that should be put into the database.

 

property NewValues: DeltaChangeValuesIndexer read;

 

DeltaChangeValuesIndexer NewValues { get; }

 

ReadOnly Property NewValues() As DeltaChangeValuesIndexer

OldValues

Gets a collection of values that are currently stored in the database.

 

property OldValues: DeltaChangeValuesIndexer read;

 

DeltaChangeValuesIndexer OldValues { get; }

 

ReadOnly Property OldValues() As DeltaChangeValuesIndexer

OnGetOriginalRow

 

property OnGetOriginalRow: OnGetOriginalRowEventHandler read write;

 

OnGetOriginalRowEventHandler OnGetOriginalRow { get; set; }

 

Property OnGetOriginalRow() As OnGetOriginalRowEventHandler

OriginalRow

Gets a collection of values that are currently stored in the database.

Note: Unlike the OldValues property this property directly accesses the underlying database to retrieve collection values so accessing this property requires a database read operation. To minimize the possible performance hit and database deadlocks propbability this property should be accessed ionly if it absolutely necessary.

 

property OriginalRow: DeltaChangeValuesIndexer read;

 

DeltaChangeValuesIndexer OriginalRow { get; }

 

ReadOnly Property OriginalRow() As DeltaChangeValuesIndexer

Status

State of this DeltaChange. This property returns if the row has been send back to the server already and it indicates whether updating failed.

 

property Status: ChangeStatus read write;

 

ChangeStatus Status { get; set; }

 

Property Status() As ChangeStatus

Type

Type of the change this DeltaChange represents. The DeltaChange will contain the delete, updated or inserted row.

 

property Type: ChangeType read write;

 

ChangeType Type { get; set; }

 

Property Type() As ChangeType

 

constructor (Delta)

 

constructor(delta: Delta)

 

DeltaChange(Delta delta)

 

Sub New(delta As Delta)

Parameters:

  • delta:

constructor (Delta, Int32)

 

constructor(delta: Delta; changeId: Int32)

 

DeltaChange(Delta delta, Int32 changeId)

 

Sub New(delta As Delta, changeId As Int32)

Parameters:

  • delta:
  • changeId:

constructor (Delta, DataRow)

 

constructor(delta: Delta; dataRow: DataRow)

 

DeltaChange(Delta delta, DataRow dataRow)

 

Sub New(delta As Delta, dataRow As DataRow)

Parameters:

  • delta:
  • dataRow:

CopyDataRow  protected

 

method CopyDataRow(dataRow: DataRow)

 

void CopyDataRow(DataRow dataRow)

 

Sub CopyDataRow(dataRow As DataRow)

Parameters:

  • dataRow:

ToDetailedString

 

method ToDetailedString: String

 

String ToDetailedString()

 

Function ToDetailedString() As String