| SqlDictionaryTValue Constructor (String, String, String, String, String, String) |
Grouped dictionary constructor
Namespace: SandcastleBuilder.ComponentsAssembly: SandcastleBuilder.Components (in SandcastleBuilder.Components.dll) Version: 2014.11.22.0
Syntax public SqlDictionary(
string connectionString,
string tableName,
string keyFieldName,
string valueFieldName,
string groupIdFieldName,
string groupId
)
Public Sub New (
connectionString As String,
tableName As String,
keyFieldName As String,
valueFieldName As String,
groupIdFieldName As String,
groupId As String
)
public:
SqlDictionary(
String^ connectionString,
String^ tableName,
String^ keyFieldName,
String^ valueFieldName,
String^ groupIdFieldName,
String^ groupId
)
new :
connectionString : string *
tableName : string *
keyFieldName : string *
valueFieldName : string *
groupIdFieldName : string *
groupId : 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 - groupIdFieldName
- Type: SystemString
The group ID to use - groupId
- Type: SystemString
The group ID field name
Remarks Values in dictionaries that use this constructor are grouped using an additional field.
This allows multiple related dictionaries to reside within the same table. Only values from the
dictionary identified by the group ID are returned.
See Also