-
Notifications
You must be signed in to change notification settings - Fork 40
/
IConventionAnnotatable.xml
358 lines (358 loc) · 26 KB
/
IConventionAnnotatable.xml
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
<Type Name="IConventionAnnotatable" FullName="Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable">
<TypeSignature Language="C#" Value="public interface IConventionAnnotatable : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IConventionAnnotatable implements class Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0" />
<TypeSignature Language="DocId" Value="T:Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable" />
<TypeSignature Language="VB.NET" Value="Public Interface IConventionAnnotatable
Implements IAnnotatable" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0" />
<TypeSignature Language="F#" Value="type IConventionAnnotatable = interface
 interface IAnnotatable" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0" />
<TypeSignature Language="C#" Value="public interface IConventionAnnotatable : Microsoft.EntityFrameworkCore.Infrastructure.IReadOnlyAnnotatable" FrameworkAlternate="efcore-6.0;efcore-7.0;efcore-8.0" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IConventionAnnotatable implements class Microsoft.EntityFrameworkCore.Infrastructure.IReadOnlyAnnotatable" FrameworkAlternate="efcore-6.0;efcore-7.0" />
<TypeSignature Language="VB.NET" Value="Public Interface IConventionAnnotatable
Implements IReadOnlyAnnotatable" FrameworkAlternate="efcore-6.0;efcore-7.0;efcore-8.0" />
<TypeSignature Language="F#" Value="type IConventionAnnotatable = interface
 interface IReadOnlyAnnotatable" FrameworkAlternate="efcore-6.0;efcore-7.0;efcore-8.0" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit IConventionAnnotatable implements class Microsoft.EntityFrameworkCore.Infrastructure.IReadOnlyAnnotatable" FrameworkAlternate="efcore-8.0" />
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0">
<InterfaceName>Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable</InterfaceName>
</Interface>
<Interface FrameworkAlternate="efcore-6.0;efcore-7.0;efcore-8.0">
<InterfaceName>Microsoft.EntityFrameworkCore.Infrastructure.IReadOnlyAnnotatable</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<summary>
<para>
A class that exposes annotations that can be modified. Annotations allow for arbitrary metadata to be
stored on an object.
</para>
<para>
This interface is typically used by database providers (and other extensions). It is generally
not used in application code.
</para>
</summary>
<remarks>
See <see href="https://aka.ms/efcore-docs-conventions">Model building conventions</see> for more information and examples.
</remarks>
</Docs>
<Members>
<Member MemberName="AddAnnotation">
<MemberSignature Language="C#" Value="public Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation AddAnnotation (string name, object value, bool fromDataAnnotation = false);" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation AddAnnotation(string name, object value, bool fromDataAnnotation) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable.AddAnnotation(System.String,System.Object,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Function AddAnnotation (name As String, value As Object, Optional fromDataAnnotation As Boolean = false) As IConventionAnnotation" />
<MemberSignature Language="F#" Value="abstract member AddAnnotation : string * obj * bool -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation" Usage="iConventionAnnotatable.AddAnnotation (name, value, fromDataAnnotation)" />
<MemberSignature Language="C#" Value="public Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation AddAnnotation (string name, object? value, bool fromDataAnnotation = false);" FrameworkAlternate="efcore-6.0;efcore-7.0;efcore-8.0" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="value" Type="System.Object" />
<Parameter Name="fromDataAnnotation" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="name">The name of the annotation to be added.</param>
<param name="value">The value to be stored in the annotation.</param>
<param name="fromDataAnnotation">Indicates whether the configuration was specified using a data annotation.</param>
<summary>
Adds an annotation to this object. Throws if an annotation with the specified name already exists.
</summary>
<returns>The newly added annotation.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AddAnnotations">
<MemberSignature Language="C#" Value="public virtual void AddAnnotations (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> annotations, bool fromDataAnnotation = false);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void AddAnnotations(class System.Collections.Generic.IEnumerable`1<class Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> annotations, bool fromDataAnnotation) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable.AddAnnotations(System.Collections.Generic.IEnumerable{Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation},System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub AddAnnotations (annotations As IEnumerable(Of IConventionAnnotation), Optional fromDataAnnotation As Boolean = false)" />
<MemberSignature Language="F#" Value="abstract member AddAnnotations : seq<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> * bool -> unit
override this.AddAnnotations : seq<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> * bool -> unit" Usage="iConventionAnnotatable.AddAnnotations (annotations, fromDataAnnotation)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="annotations" Type="System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation>" Index="0" FrameworkAlternate="efcore-6.0;efcore-7.0;efcore-8.0" />
<Parameter Name="fromDataAnnotation" Type="System.Boolean" Index="1" FrameworkAlternate="efcore-6.0;efcore-7.0;efcore-8.0" />
</Parameters>
<Docs>
<param name="annotations">The annotations to be added.</param>
<param name="fromDataAnnotation">Indicates whether the configuration was specified using a data annotation.</param>
<summary>
Adds annotations to an object.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Builder">
<MemberSignature Language="C#" Value="public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionAnnotatableBuilder Builder { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionAnnotatableBuilder Builder" />
<MemberSignature Language="DocId" Value="P:Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable.Builder" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Builder As IConventionAnnotatableBuilder" />
<MemberSignature Language="F#" Value="member this.Builder : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionAnnotatableBuilder" Usage="Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable.Builder" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionAnnotatableBuilder</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets the builder that can be used to configure this object.
</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">If the object has been removed from the model.</exception>
</Docs>
</Member>
<Member MemberName="FindAnnotation">
<MemberSignature Language="C#" Value="public Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation FindAnnotation (string name);" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation FindAnnotation(string name) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable.FindAnnotation(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Function FindAnnotation (name As String) As IConventionAnnotation" />
<MemberSignature Language="F#" Value="abstract member FindAnnotation : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation" Usage="iConventionAnnotatable.FindAnnotation name" />
<MemberSignature Language="C#" Value="public Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? FindAnnotation (string name);" FrameworkAlternate="efcore-6.0;efcore-7.0;efcore-8.0" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<param name="name">The name of the annotation to find.</param>
<summary>
Gets the annotation with the given name, returning <see langword="null" /> if it does not exist.
</summary>
<returns>
The existing annotation if an annotation with the specified name already exists. Otherwise, <see langword="null" />.
</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetAnnotation">
<MemberSignature Language="C#" Value="public virtual Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation GetAnnotation (string annotationName);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation GetAnnotation(string annotationName) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable.GetAnnotation(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function GetAnnotation (annotationName As String) As IConventionAnnotation" />
<MemberSignature Language="F#" Value="abstract member GetAnnotation : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation
override this.GetAnnotation : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation" Usage="iConventionAnnotatable.GetAnnotation annotationName" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="annotationName" Type="System.String" Index="0" FrameworkAlternate="efcore-6.0;efcore-7.0;efcore-8.0" />
</Parameters>
<Docs>
<param name="annotationName">The key of the annotation to find.</param>
<summary>
Gets the annotation with the given name, throwing if it does not exist.
</summary>
<returns>The annotation with the specified name.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetAnnotations">
<MemberSignature Language="C#" Value="public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> GetAnnotations ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Collections.Generic.IEnumerable`1<class Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> GetAnnotations() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable.GetAnnotations" />
<MemberSignature Language="VB.NET" Value="Public Function GetAnnotations () As IEnumerable(Of IConventionAnnotation)" />
<MemberSignature Language="F#" Value="abstract member GetAnnotations : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation>" Usage="iConventionAnnotatable.GetAnnotations " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation></ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
Gets all annotations on the current object.
</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="IsInModel">
<MemberSignature Language="C#" Value="public bool IsInModel { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsInModel" />
<MemberSignature Language="DocId" Value="P:Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable.IsInModel" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property IsInModel As Boolean" />
<MemberSignature Language="F#" Value="member this.IsInModel : bool" Usage="Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable.IsInModel" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>
Indicates whether this object is in a model, i.e. hasn't been removed from one.
</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="RemoveAnnotation">
<MemberSignature Language="C#" Value="public Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation RemoveAnnotation (string name);" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation RemoveAnnotation(string name) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable.RemoveAnnotation(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Function RemoveAnnotation (name As String) As IConventionAnnotation" />
<MemberSignature Language="F#" Value="abstract member RemoveAnnotation : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation" Usage="iConventionAnnotatable.RemoveAnnotation name" />
<MemberSignature Language="C#" Value="public Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? RemoveAnnotation (string name);" FrameworkAlternate="efcore-6.0;efcore-7.0;efcore-8.0" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<param name="name">The name of the annotation to remove.</param>
<summary>
Removes the annotation with the given name from this object.
</summary>
<returns>The annotation that was removed.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SetAnnotation">
<MemberSignature Language="C#" Value="public void SetAnnotation (string name, object value, bool fromDataAnnotation = false);" FrameworkAlternate="efcore-3.0;efcore-3.1" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetAnnotation(string name, object value, bool fromDataAnnotation) cil managed" FrameworkAlternate="efcore-3.0;efcore-3.1" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable.SetAnnotation(System.String,System.Object,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Sub SetAnnotation (name As String, value As Object, Optional fromDataAnnotation As Boolean = false)" FrameworkAlternate="efcore-3.0;efcore-3.1" />
<MemberSignature Language="F#" Value="abstract member SetAnnotation : string * obj * bool -> unit" Usage="iConventionAnnotatable.SetAnnotation (name, value, fromDataAnnotation)" FrameworkAlternate="efcore-3.0;efcore-3.1" />
<MemberSignature Language="C#" Value="public Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation SetAnnotation (string name, object value, bool fromDataAnnotation = false);" FrameworkAlternate="efcore-5.0" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation SetAnnotation(string name, object value, bool fromDataAnnotation) cil managed" FrameworkAlternate="efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0" />
<MemberSignature Language="VB.NET" Value="Public Function SetAnnotation (name As String, value As Object, Optional fromDataAnnotation As Boolean = false) As IConventionAnnotation" FrameworkAlternate="efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0" />
<MemberSignature Language="F#" Value="abstract member SetAnnotation : string * obj * bool -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation" Usage="iConventionAnnotatable.SetAnnotation (name, value, fromDataAnnotation)" FrameworkAlternate="efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0" />
<MemberSignature Language="C#" Value="public Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? SetAnnotation (string name, object? value, bool fromDataAnnotation = false);" FrameworkAlternate="efcore-6.0;efcore-7.0;efcore-8.0" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType FrameworkAlternate="efcore-3.0;efcore-3.1">System.Void</ReturnType>
<ReturnType FrameworkAlternate="efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0">Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="value" Type="System.Object" />
<Parameter Name="fromDataAnnotation" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="name">The name of the annotation to be set.</param>
<param name="value">The value to be stored in the annotation.</param>
<param name="fromDataAnnotation">Indicates whether the configuration was specified using a data annotation.</param>
<summary>
Sets the annotation stored under the given name. Overwrites the existing annotation if an
annotation with the specified name already exists.
</summary>
<returns>The new annotation.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SetOrRemoveAnnotation">
<MemberSignature Language="C#" Value="public Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? SetOrRemoveAnnotation (string name, object? value, bool fromDataAnnotation = false);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation SetOrRemoveAnnotation(string name, object value, bool fromDataAnnotation) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable.SetOrRemoveAnnotation(System.String,System.Object,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Function SetOrRemoveAnnotation (name As String, value As Object, Optional fromDataAnnotation As Boolean = false) As IConventionAnnotation" />
<MemberSignature Language="F#" Value="abstract member SetOrRemoveAnnotation : string * obj * bool -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation" Usage="iConventionAnnotatable.SetOrRemoveAnnotation (name, value, fromDataAnnotation)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" Index="0" FrameworkAlternate="efcore-6.0;efcore-7.0;efcore-8.0" />
<Parameter Name="value" Type="System.Object" Index="1" FrameworkAlternate="efcore-6.0;efcore-7.0;efcore-8.0" />
<Parameter Name="fromDataAnnotation" Type="System.Boolean" Index="2" FrameworkAlternate="efcore-6.0;efcore-7.0;efcore-8.0" />
</Parameters>
<Docs>
<param name="name">The name of the annotation to be added.</param>
<param name="value">The value to be stored in the annotation.</param>
<param name="fromDataAnnotation">Indicates whether the configuration was specified using a data annotation.</param>
<summary>
Sets the annotation stored under the given name. Overwrites the existing annotation if an
annotation with the specified name already exists. Removes the existing annotation if <see langword="null" /> is supplied.
</summary>
<returns>The new annotation or <see langword="null" /> if it was removed.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>