Connection
|
public class ConnectionStringParser<TParameterAttribute> : ConnectionStringParser where TParameterAttribute : Attribute
The ConnectionStringParserTParameterAttribute type exposes the following members.
Name | Description | |
---|---|---|
ConnectionStringParserTParameterAttribute | Initializes a new instance of the ConnectionStringParserTParameterAttribute class |
Name | Description | |
---|---|---|
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.
(Inherited from ConnectionStringParser) | |
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.
(Inherited from ConnectionStringParser) | |
KeyValueDelimiter |
Gets or sets the key-value delimiter used to
separate keys from values in the connection string.
(Inherited from ConnectionStringParser) | |
ParameterDelimiter |
Gets or sets the parameter delimiter used to
separate key-value pairs in the connection string.
(Inherited from ConnectionStringParser) | |
SerializeUnspecifiedProperties | Redefined to throw an exception. This property has no meaning when property serialization is determined by the existence of the typed parameter. | |
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.
(Inherited from ConnectionStringParser) | |
TypeRegistry | Gets or sets TypeRegistry instance used for evaluating encountered instances of the DefaultValueExpressionAttribute on modeled connection string values that are marked with TParameterAttribute. |
Name | Description | |
---|---|---|
ComposeConnectionString |
Serializes the given settingsObject into a connection string.
(Inherited from ConnectionStringParser) | |
ConvertToPropertyType |
Converts the given string value to the type of the given property.
(Inherited from ConnectionStringParser) | |
ConvertToString |
Converts the given object to a string.
(Inherited from ConnectionStringParser) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows 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.
(Overrides ConnectionStringParserGetConnectionStringProperties(Type)) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ParseConnectionString |
Deserializes the connection string parameters into the given settingsObject.
(Inherited from ConnectionStringParser) | |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Name | Description | |
---|---|---|
GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) | |
GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |