C# Class MySql.MysqlHelper.InformationSchema.TableUpdateTime

Table update check class
Show file Open project: hthulin/csharp-mysql-helper-library

Public Methods

Method Description
HasChanged ( string database, string table, uint updateIntervalSeconds, string askerId = null ) : bool

Returns true if table has been updated since last HasChanged check. First time always returns true Update time is not available for INNODB

TableUpdateTime ( ConnectionString connectionString ) : System

Constructor for connection string

TableUpdateTime ( MultiCon multiCon ) : System

Constructor for connectiong string class

Method Details

HasChanged() public method

Returns true if table has been updated since last HasChanged check. First time always returns true Update time is not available for INNODB
public HasChanged ( string database, string table, uint updateIntervalSeconds, string askerId = null ) : bool
database string
table string
updateIntervalSeconds uint
askerId string
return bool

TableUpdateTime() public method

Constructor for connection string
public TableUpdateTime ( ConnectionString connectionString ) : System
connectionString ConnectionString
return System

TableUpdateTime() public method

Constructor for connectiong string class
public TableUpdateTime ( MultiCon multiCon ) : System
multiCon MultiCon
return System