ConnectionStringParser Class

Parses connection strings based on a settings object whose properties are annotated with the SerializeSettingAttribute.

Definition

Namespace: Gemstone.Configuration
Assembly: Gemstone.Configuration (in Gemstone.Configuration.dll) Version: 1.0.128 -- Release Build+e642e346f6a184b82d0191f20af9f896bef9bb3d
public class ConnectionStringParser
Inheritance
Object    ConnectionStringParser
Derived

Constructors

ConnectionStringParser Creates a new instance of the ConnectionStringParser class.

Properties

EndValueDelimiter Gets or sets the end value delimiter used to denote the end of a value in the cases where the value contains one of the delimiters defined for the connection string.
ExplicitlySpecifyDefaults Gets or sets the flag that determines whether to explicitly specify parameter values that match their defaults when serializing settings to a connection string.
KeyValueDelimiter Gets or sets the key-value delimiter used to separate keys from values in the connection string.
ParameterDelimiter Gets or sets the parameter delimiter used to separate key-value pairs in the connection string.
SerializeUnspecifiedProperties Gets or sets the flag that determines whether to include properties which are not annotated with the SerializeSettingAttribute in the connection string.
StartValueDelimiter Gets or sets the start value delimiter used to denote the start of a value in the cases where the value contains one of the delimiters defined for the connection string.

Methods

ComposeConnectionString Serializes the given settingsObject into a connection string.
ConvertToPropertyType Converts the given string value to the type of the given property.
ConvertToString Converts the given object to a string.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetConnectionStringProperties Gets the set of properties which are part of the connection string.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ParseConnectionString Deserializes the connection string parameters into the given settingsObject.
ToConnectionString Converts XML to a connection string.
ToStringReturns a string that represents the current object.
(Inherited from Object)
ToXML Converts a connection string to XML.

Fields

DefaultEndValueDelimiter Default value for the EndValueDelimiter property.
DefaultExplicitlySpecifyDefaults Default value for the ExplicitlySpecifyDefaults property.
DefaultKeyValueDelimiter Default value for the KeyValueDelimiter property.
DefaultParameterDelimiter Default value for the ParameterDelimiter property.
DefaultSerializeUnspecifiedProperties Default value for the SerializeUnspecifiedProperties property.
DefaultStartValueDelimiter Default value for the StartValueDelimiter property.

See Also