C# 클래스 MySql.MysqlHelper.InformationSchema.TableUpdateTimeCacheAll

파일 보기 프로젝트 열기: hthulin/csharp-mysql-helper-library

공개 메소드들

메소드 설명
HasChanged ( string database, string table, System.TimeSpan updateCacheIntervalTimeSpan, string askerId = null, bool returnFalseIfTableDoesNotExist = true ) : bool

Determains if a MyISAM table has been updated. Always returns true on first call. Keeps an cache of the entire update time information for all the tables. Answer is given in the context of the askerID, so this instance may be shared between multiple tasks.

SetMultiCon ( MultiCon multiCon ) : void

Sets current connection instance

TableUpdateTimeCacheAll ( System.Data.ConnectionString connectionString, string onlyCheckDatabase = null ) : System

Constructor for connection string

TableUpdateTimeCacheAll ( MultiCon multiCon, string onlyCheckDatabase = null ) : System

Constructor for connection instance

메소드 상세

HasChanged() 공개 메소드

Determains if a MyISAM table has been updated. Always returns true on first call. Keeps an cache of the entire update time information for all the tables. Answer is given in the context of the askerID, so this instance may be shared between multiple tasks.
public HasChanged ( string database, string table, System.TimeSpan updateCacheIntervalTimeSpan, string askerId = null, bool returnFalseIfTableDoesNotExist = true ) : bool
database string
table string
updateCacheIntervalTimeSpan System.TimeSpan
askerId string
returnFalseIfTableDoesNotExist bool
리턴 bool

SetMultiCon() 공개 메소드

Sets current connection instance
public SetMultiCon ( MultiCon multiCon ) : void
multiCon MultiCon
리턴 void

TableUpdateTimeCacheAll() 공개 메소드

Constructor for connection string
public TableUpdateTimeCacheAll ( System.Data.ConnectionString connectionString, string onlyCheckDatabase = null ) : System
connectionString System.Data.ConnectionString
onlyCheckDatabase string
리턴 System

TableUpdateTimeCacheAll() 공개 메소드

Constructor for connection instance
public TableUpdateTimeCacheAll ( MultiCon multiCon, string onlyCheckDatabase = null ) : System
multiCon MultiCon
onlyCheckDatabase string
리턴 System