C1.LiveLinq.LiveViews Namespace > View Class : SetTransaction Method |
'Declaration Public Sub SetTransaction( _ ByVal transaction As ITransaction, _ Optional ByVal allowPropertyPaths As System.Boolean _ )
public void SetTransaction( ITransaction transaction, System.bool allowPropertyPaths )
Order.Customer.City
), then an exception is thrown unless suppressed by setting allowPropertyPaths to True, because modifying properties using such paths cannot be supported by transactions. To prevent the exception, set the allowPropertyPaths parameter to True, but make sure you do not use such property paths in your code and don't have a two-way data binding to such property path in your controls. If you modify a property using such path in your code or through data binding, that modification happens outside the transaction scope.Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2