Some of the BaseClasses Data Access Layer (Data Access Layer) classes were replaced with completely new classes.
Any customizations, overrides, or extensions in existing applications’ Data Access Layer are incompatible and will need to be rewritten. In most cases, Iron Speed Designer will automatically "archive" such customizations when upgrading an application so that the customizations don't prevent the application from compiling.
Any customizations in existing applications that relied on the incompatible Data Access Layer API customizations will probably cease working and need to be manually migrated.
Below are several of the Data Access Layer API changes that were made. There are many more, but this is representative of the API changes made.
SqlProvider.vb:
Moved Public Shared Function ConvertDBException(ByVal e As System.Exception, Optional ByVal msg As String = "") As System.Exception
SqlTransaction.vb:
Added Public Event Committing(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs)
Added Public Event Committed(ByVal sender As Object, ByVal e As System.EventArgs)
Added Public Sub Commit()
Added Public Sub Commit(ByVal e As System.EventArgs)
Added Protected Overridable Sub OnCommitting(ByVal e As System.ComponentModel.CancelEventArgs)
Added Protected Overridable Sub OnCommit(ByVal e As System.EventArgs)
Added Protected Overridable Sub OnCommitted(ByVal e As System.EventArgs)
Added Public Event RollingBack(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs)
Added Public Event RolledBack(ByVal sender As Object, ByVal e As System.EventArgs)
Added Public Sub RollBack()
Added Public Sub RollBack(ByVal e As System.EventArgs)
Added Protected Overridable Sub OnRollingBack(ByVal e As System.ComponentModel.CancelEventArgs)
Added Protected Overridable Sub OnRollBack(ByVal e As System.EventArgs)
Added Protected Overridable Sub OnRolledBack(ByVal e As System.EventArgs)
Added Public Event Released(ByVal sender As Object, ByVal e As System.EventArgs)
Added Protected Overridable Sub OnReleased(ByVal e As System.EventArgs)
Added Public Function CacheRecord( _
ByVal rec As ICacheableRecord, _
ByVal bReplaceExistingObject As Boolean _
) As Boolean
Added Public Function CacheList( _
ByVal hashkey As String, _
ByVal list As ArrayList, _
ByVal bReplaceExistingObject As Boolean _
) As Boolean
Changed Public Shared Sub LogCommitError(ByVal e As System.Exception, ByVal msg As String)
Changed Private Shared Function CreateRecordHashkey( _
ByVal t As ITable, _
ByVal recordID As KeyValue, _
ByVal bIsReadOnly As Boolean _
) As String
Changed Public Function CacheRecord( _
ByVal rec As ICacheableRecord, _
ByVal bReplaceExistingObject As Boolean, _
ByVal bThrowOnError As Boolean _
) As Boolean
Changed Public Function CacheList( _
ByVal hashkey As String, _
ByVal list As ArrayList, _
ByVal bReplaceExistingObject As Boolean, _
ByVal bThrowOnError As Boolean _
) As Boolean
Deleted Public Function CacheSqlBaseTableAccess(ByVal rec As SqlBaseTableAccess, ByVal bReplaceExistingObject As Boolean) As Boolean
Deleted Public Function GetCachedSqlBaseTableAccess(ByVal hashkey As String) As SqlBaseTableAccess
Deleted Public Function GetCachedRecord( _
ByVal t As ITable, _
ByVal recordID As KeyValue, _
ByVal bIsWritable As Boolean _
) As IRecord
Version 2.0 Application Migration