Cuemon .NET Framework
ExecuteCommandCore Method

The data command to execute.
The parameters to use in the command.
Core method for executing all commands.
Syntax
'Declaration
 
Protected Overridable Function ExecuteCommandCore( _
   ByVal dataCommand As IDataCommand, _
   ByVal ParamArray parameters() As IDataParameter _
) As IDbCommand
protected virtual IDbCommand ExecuteCommandCore( 
   IDataCommand dataCommand,
   params IDataParameter[] parameters
)

Parameters

dataCommand
The data command to execute.
parameters
The parameters to use in the command.

Return Value

System.Data.IDbCommand
Remarks
If EnableTransientFaultRecovery is set to true, this method will with it's default implementation try to gracefully recover from transient faults when the following condition is met:
RetryAttempts is less than the current attempt starting from 1 with a maximum of System.Byte.MaxValue retries
IsTransientFault must evaluate to true
In case of a transient failure the default implementation will use TransientFaultRecoveryWaitTime.
In any other case the originating exception is thrown.
Requirements

Target Platforms: Windows 8, Windows Server 2012, 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

See Also

Reference

DataManager Class
DataManager Members

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback