Class NpgsqlConnectionStringPropertyAttribute
Marks on NpgsqlConnectionStringBuilder which participate in the connection string. Optionally holds a set of synonyms for the property.
Inherited Members
Namespace: Npgsql
Assembly: Npgsql.dll
Syntax
[AttributeUsage(AttributeTargets.Property)]
public class NpgsqlConnectionStringPropertyAttribute : Attribute
Constructors
NpgsqlConnectionStringPropertyAttribute()
Creates a NpgsqlConnectionStringPropertyAttribute.
Declaration
public NpgsqlConnectionStringPropertyAttribute()
NpgsqlConnectionStringPropertyAttribute(String[])
Creates a NpgsqlConnectionStringPropertyAttribute.
Declaration
public NpgsqlConnectionStringPropertyAttribute(params string[] synonyms)
Parameters
Type | Name | Description |
---|---|---|
String[] | synonyms |
Properties
Synonyms
Holds a list of synonyms for the property.
Declaration
public string[] Synonyms { get; }
Property Value
Type | Description |
---|---|
String[] |