ParameterAttribute Constructor |
Create a new instance of
.
Namespace:
MaxMind.Db
Assembly:
MaxMind.Db (in MaxMind.Db.dll) Version: 2.4.0
Syntax public ParameterAttribute(
string parameterName,
bool alwaysCreate = false
)
Public Sub New (
parameterName As String,
Optional alwaysCreate As Boolean = false
)
public:
ParameterAttribute(
String^ parameterName,
bool alwaysCreate = false
)
new :
parameterName : string *
?alwaysCreate : bool
(* Defaults:
let _alwaysCreate = defaultArg alwaysCreate false
*)
-> ParameterAttribute
Parameters
- parameterName
- Type: SystemString
The name of the parameter. - alwaysCreate (Optional)
- Type: SystemBoolean
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)
See Also