Click or drag to resize

ParameterAttribute Class

Instruct
Reader
to map database key to constructor parameter.
Inheritance Hierarchy

Namespace:  MaxMind.Db
Assembly:  MaxMind.Db (in MaxMind.Db.dll) Version: 2.4.0
Syntax
public sealed class ParameterAttribute : Attribute

The ParameterAttribute type exposes the following members.

Constructors
  NameDescription
Public methodParameterAttribute
Create a new instance of
ParameterAttribute
.
Top
Properties
  NameDescription
Public propertyAlwaysCreate
Whether to create the object even if the key is not present in the database. If this is false, the default value will be used (null for nullable types).
Public propertyParameterName
The name to use for the property.
Public propertyTypeId (Inherited from Attribute.)
Top
Methods
  NameDescription
Public methodEquals (Inherited from Attribute.)
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
Public methodToString (Inherited from Object.)
Top
See Also