 | SqlDictionaryTValue Constructor (String, String, String, String) |
Simple dictionary constructor
Namespace: SandcastleBuilder.ComponentsAssembly: SandcastleBuilder.Components (in SandcastleBuilder.Components.dll) Version: 2014.11.22.0
Syntaxpublic SqlDictionary(
string connectionString,
string tableName,
string keyFieldName,
string valueFieldName
)
Public Sub New (
connectionString As String,
tableName As String,
keyFieldName As String,
valueFieldName As String
)
public:
SqlDictionary(
String^ connectionString,
String^ tableName,
String^ keyFieldName,
String^ valueFieldName
)
new :
connectionString : string *
tableName : string *
keyFieldName : string *
valueFieldName : string -> SqlDictionary
Parameters
- connectionString
- Type: SystemString
The connection string to the SQL database - tableName
- Type: SystemString
The table name - keyFieldName
- Type: SystemString
The key field name - valueFieldName
- Type: SystemString
The value field name
RemarksValues in dictionaries that use this constructor are not grouped. All values in the
table are returned.
See Also