'Declaration Public Overloads Sub AddCommandDependency( _ ByVal command As MySqlCommand _ )
public void AddCommandDependency( MySqlCommand command )
Parameters
- command
- The MySqlCommand object to watch for.
'Declaration Public Overloads Sub AddCommandDependency( _ ByVal command As MySqlCommand _ )
public void AddCommandDependency( MySqlCommand command )
You can associate more than one MySqlCommand objects. Every MySqlCommand object can be associated with a single MySqlDependency instance.
MySqlDependency analyzes the CommandText property of every MySqlCommand object and extracts names of the tables to watch basing on the FROM clause of the SELECT statements.
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