Creates a new Context instance using specified configuration properties.

Namespace: Hypertable.Composition
Assembly: ht4n (in ht4n.dll) Version: 0.9.8.11 (0.9.8.11)

Syntax

         
 C#  Visual Basic  Visual C++ 
IContext Create(
	string connectionString,
	IDictionary<string, Object> properties
)
Function Create ( _
	connectionString As String, _
	properties As IDictionary(Of String, Object) _
) As IContext
IContext^ Create(
	String^ connectionString, 
	IDictionary<String^, Object^>^ properties
)

Parameters

connectionString
String
Connection string.
properties
IDictionary<(Of <(<'String, Object>)>)>
Configuration properties, might overwrite those properties from connection string.

Return Value

New Context instance.

Remarks

Following property types will be forwarded to the native ht4c providers:
stringIEnumerable<string>
intIEnumerable<int>
longIEnumerable<long>
ushort
doubleIEnumerable<double>
bool

See Also