Amazon AWS SDK Guide de l'utilisateur Page 28 : Elements Reference
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
...
<logging
logTo="SystemDiagnostics"
logResponses="OnError"
logMetrics="true"
logMetricsFormat="JSON"
logMetricsCustomFormatter="MyLib.Util.MyMetricsFormatter, MyLib" />
...
map
The
map
element represents a single item in a collection of type-to-table mappings from .NET types to
DynamoDB tables. (This element maps to an instance of the
Amazon.Util.TypeMapping
class from
the
Amazon.AWSConfigs.DynamoDBConfig.Context.TypeMappings
property in the AWS SDK for
.NET.) For more information, see
Enhancements to the DynamoDB SDK
. This element can include the
following attributes:
•
targetTable
— The DynamoDB table to which the mapping applies. (This attribute maps to the
Amazon.Util.TypeMapping.TargetTable
property in the AWS SDK for .NET.)
•
type
— The type and assembly name to which the mapping applies. (This attribute maps to the
Amazon.Util.TypeMapping.Type
property in the AWS SDK for .NET.)
The parent of the
map
element is the
dynamoDBContext (p. 22)
element.
The
map
element can include one or more instances of the
property (p. 24)
child element.
The following is an example of the
map
element in use:
...
<map
type="SampleApp.Models.Movie, SampleDLL"
targetTable="Movies">
...
</map>
...
property
The
property
element represents a DynamoDB property. (This element maps to an instance of the
Amazon.Util.PropertyConfig
class from the
Amazon.Util.TypeMapping.AddProperty
method
in the AWS SDK for .NET.) For more information, see
Enhancements to the DynamoDB SDK
and
DynamoDB Attributes
. This element can include the following attributes:
•
attribute
— The name of an attribute for the property, such as the name of a range key. (This attribute
maps to the
Amazon.Util.PropertyConfig.Attribute
property in the AWS SDK for .NET.)
•
converter
— The type of converter that should be used for this property. (This attribute maps to the
Amazon.Util.PropertyConfig.Converter
property in the AWS SDK for .NET.)
•
ignore
— Whether the associated property should be ignored (
true
); otherwise,
false
. (This attribute
maps to the
Amazon.Util.PropertyConfig.Ignore
property in the AWS SDK for .NET.)
•
name
— The name of the property. (This attribute maps to the
Amazon.Util.PropertyConfig.Name
property in the AWS SDK for .NET.)
•
version
— Whether this property should store the item version number (
true
); otherwise,
false
.
(This attribute maps to the
Amazon.Util.PropertyConfig.Version
property in the AWS SDK for
.NET.)
Version v2.0.0
24
AWS SDK for .NET Developer Guide
Configuration Files Reference
Fichier PDF · ·
Questions sur Amazon AWS SDK
Pas encore de questions sur ce manuel. Posez la première.
Produits connexes et manuels pour Logiciel Amazon AWS SDK
- Logiciel Amazon Redshift Manuel d'utilisateur
(24 pages) - Logiciel Amazon Redshift Manuel d'utilisateur
(11 pages) - Logiciel Amazon AWS SDK Guide de l'utilisateur
(73 pages)