C# Class SQLQueryStress.Form1.QueryStressSettings

显示文件 Open project: ErikEJ/SqlQueryStress Class Usage Examples

Public Properties

Property Type Description
CollectIoStats bool
CollectTimeStats bool
CommandTimeout int
ConnectionTimeout int
EnableConnectionPooling bool
ForceDataRetrieval bool
MainDbConnectionInfo DatabaseSelect.ConnectionInfo
MainQuery string
NumIterations int
NumThreads int
ParamDbConnectionInfo DatabaseSelect.ConnectionInfo
ParamMappings string>.Dictionary
ParamQuery string
ShareDbSettings bool

Public Methods

Method Description
QueryStressSettings ( ) : System

Private Methods

Method Description
FixSettings ( StreamingContext context ) : void

Method Details

QueryStressSettings() public method

public QueryStressSettings ( ) : System
return System

Property Details

CollectIoStats public_oe property

Collect I/O stats?
public bool CollectIoStats
return bool

CollectTimeStats public_oe property

Collect time stats?
public bool CollectTimeStats
return bool

CommandTimeout public_oe property

command timeout
public int CommandTimeout
return int

ConnectionTimeout public_oe property

Connection Timeout
public int ConnectionTimeout
return int

EnableConnectionPooling public_oe property

Enable pooling?
public bool EnableConnectionPooling
return bool

ForceDataRetrieval public_oe property

Force the client to retrieve all data?
public bool ForceDataRetrieval
return bool

MainDbConnectionInfo public_oe property

Connection info for the DB in which to run the test
public DatabaseSelect.ConnectionInfo,SQLQueryStress MainDbConnectionInfo
return DatabaseSelect.ConnectionInfo

MainQuery public_oe property

main query to test
public string MainQuery
return string

NumIterations public_oe property

Number of iterations to run per thread
public int NumIterations
return int

NumThreads public_oe property

Number of threads to test with
public int NumThreads
return int

ParamDbConnectionInfo public_oe property

Connection info for the DB from which to get the paramaters
public DatabaseSelect.ConnectionInfo,SQLQueryStress ParamDbConnectionInfo
return DatabaseSelect.ConnectionInfo

ParamMappings public_oe property

mapped parameters
public Dictionary ParamMappings
return string>.Dictionary

ParamQuery public_oe property

query from which to take parameters
public string ParamQuery
return string

ShareDbSettings public_oe property

Should the main db and param db share the same settings? If so, use main db settings for the params
public bool ShareDbSettings
return bool