-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Expand file tree
/
Copy pathObjectSet`1.xml
More file actions
340 lines (326 loc) · 19.9 KB
/
Copy pathObjectSet`1.xml
File metadata and controls
340 lines (326 loc) · 19.9 KB
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
<Type Name="ObjectSet<TEntity>" FullName="System.Data.Objects.ObjectSet<TEntity>">
<TypeSignature Language="C#" Value="public class ObjectSet<TEntity> : System.Data.Objects.ObjectQuery<TEntity>, System.Collections.Generic.IEnumerable<TEntity>, System.Data.Objects.IObjectSet<TEntity>, System.Linq.IQueryable<TEntity> where TEntity : class" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit ObjectSet`1<class TEntity> extends System.Data.Objects.ObjectQuery`1<!TEntity> implements class System.Collections.Generic.IEnumerable`1<!TEntity>, class System.Collections.IEnumerable, class System.Data.Objects.IObjectSet`1<!TEntity>, class System.Linq.IQueryable, class System.Linq.IQueryable`1<!TEntity>" />
<TypeSignature Language="DocId" Value="T:System.Data.Objects.ObjectSet`1" />
<TypeSignature Language="VB.NET" Value="Public Class ObjectSet(Of TEntity)
Inherits ObjectQuery(Of TEntity)
Implements IEnumerable(Of TEntity), IObjectSet(Of TEntity), IQueryable(Of TEntity)" />
<TypeSignature Language="F#" Value="type ObjectSet<'Entity (requires 'Entity : null)> = class
 inherit ObjectQuery<'Entity (requires 'Entity : null)>
 interface IObjectSet<'Entity (requires 'Entity : null)>
 interface IQueryable<'Entity (requires 'Entity : null)>
 interface seq<'Entity (requires 'Entity : null)>
 interface IQueryable
 interface IEnumerable" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2" />
<TypeSignature Language="C++ CLI" Value="generic <typename TEntity>
 where TEntity : classpublic ref class ObjectSet : System::Data::Objects::ObjectQuery<TEntity>, System::Collections::Generic::IEnumerable<TEntity>, System::Data::Objects::IObjectSet<TEntity>, System::Linq::IQueryable<TEntity>" />
<TypeSignature Language="F#" Value="type ObjectSet<'Entity (requires 'Entity : null)> = class
 inherit ObjectQuery<'Entity (requires 'Entity : null)>
 interface IObjectSet<'Entity (requires 'Entity : null)>
 interface IQueryable<'Entity (requires 'Entity : null)>
 interface seq<'Entity (requires 'Entity : null)>
 interface IEnumerable
 interface IQueryable" FrameworkAlternate="netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1" />
<AssemblyInfo>
<AssemblyName>System.Data.Entity</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<TypeParameters>
<TypeParameter Name="TEntity">
<Constraints>
<ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute>
</Constraints>
</TypeParameter>
</TypeParameters>
<Base>
<BaseTypeName>System.Data.Objects.ObjectQuery<TEntity></BaseTypeName>
<BaseTypeArguments>
<BaseTypeArgument TypeParamName="T">TEntity</BaseTypeArgument>
</BaseTypeArguments>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.Collections.Generic.IEnumerable<T></InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Collections.Generic.IEnumerable<TEntity></InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Collections.IEnumerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Data.Objects.IObjectSet<TEntity></InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Linq.IQueryable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Linq.IQueryable<TEntity></InterfaceName>
</Interface>
</Interfaces>
<Docs>
<typeparam name="TEntity">The entity type.</typeparam>
<summary>Represents a typed entity set that is used to perform create, read, update, and delete operations.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Data.Objects.ObjectSet`1> class allows you to operate on a typed entity set without having to specify the entity set name as an argument to each method call. The <xref:System.Data.Objects.ObjectSet`1> class extends the functionality of the <xref:System.Data.Objects.ObjectQuery`1> class to provide object context functionality, such as adding and deleting objects, in the context of a typed entity set that is accessed from the <xref:System.Data.Objects.ObjectContext>.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName="AddObject">
<MemberSignature Language="C#" Value="public void AddObject (TEntity entity);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void AddObject(!TEntity entity) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.Objects.ObjectSet`1.AddObject(`0)" />
<MemberSignature Language="VB.NET" Value="Public Sub AddObject (entity As TEntity)" />
<MemberSignature Language="F#" Value="abstract member AddObject : 'Entity -> unit
override this.AddObject : 'Entity -> unit" Usage="objectSet.AddObject entity" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual void AddObject(TEntity entity);" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Data.Objects.IObjectSet`1.AddObject(`0)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Data.Entity</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="entity" Type="TEntity" />
</Parameters>
<Docs>
<param name="entity">The object to add.</param>
<summary>Adds an object to the object context in the current entity set.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is a wrapper around the <xref:System.Data.Objects.ObjectContext.AddObject*> method.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="ApplyCurrentValues">
<MemberSignature Language="C#" Value="public TEntity ApplyCurrentValues (TEntity currentEntity);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance !TEntity ApplyCurrentValues(!TEntity currentEntity) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.Objects.ObjectSet`1.ApplyCurrentValues(`0)" />
<MemberSignature Language="VB.NET" Value="Public Function ApplyCurrentValues (currentEntity As TEntity) As TEntity" />
<MemberSignature Language="F#" Value="member this.ApplyCurrentValues : 'Entity -> 'Entity" Usage="objectSet.ApplyCurrentValues currentEntity" />
<MemberSignature Language="C++ CLI" Value="public:
 TEntity ApplyCurrentValues(TEntity currentEntity);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data.Entity</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>TEntity</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="currentEntity" Type="TEntity" />
</Parameters>
<Docs>
<param name="currentEntity">The detached object that has property updates to apply to the original object. The entity key of <paramref name="currentEntity" /> must match the <see cref="P:System.Data.Objects.ObjectStateEntry.EntityKey" /> property of an entry in the <see cref="T:System.Data.Objects.ObjectContext" />.</param>
<summary>Copies the scalar values from the supplied object into the object in the <see cref="T:System.Data.Objects.ObjectContext" /> that has the same key.</summary>
<returns>The updated object.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is a wrapper around the <xref:System.Data.Objects.ObjectContext.ApplyCurrentValues*> method.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="ApplyOriginalValues">
<MemberSignature Language="C#" Value="public TEntity ApplyOriginalValues (TEntity originalEntity);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance !TEntity ApplyOriginalValues(!TEntity originalEntity) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.Objects.ObjectSet`1.ApplyOriginalValues(`0)" />
<MemberSignature Language="VB.NET" Value="Public Function ApplyOriginalValues (originalEntity As TEntity) As TEntity" />
<MemberSignature Language="F#" Value="member this.ApplyOriginalValues : 'Entity -> 'Entity" Usage="objectSet.ApplyOriginalValues originalEntity" />
<MemberSignature Language="C++ CLI" Value="public:
 TEntity ApplyOriginalValues(TEntity originalEntity);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data.Entity</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>TEntity</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="originalEntity" Type="TEntity" />
</Parameters>
<Docs>
<param name="originalEntity">The detached object that has property updates to apply to the original object. The entity key of <paramref name="originalEntity" /> must match the <see cref="P:System.Data.Objects.ObjectStateEntry.EntityKey" /> property of an entry in the <see cref="T:System.Data.Objects.ObjectContext" />.</param>
<summary>Sets the <see cref="P:System.Data.Objects.ObjectStateEntry.OriginalValues" /> property of an <see cref="T:System.Data.Objects.ObjectStateEntry" /> to match the property values of a supplied object.</summary>
<returns>The updated object.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is a wrapper around the <xref:System.Data.Objects.ObjectContext.ApplyOriginalValues*> method.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Attach">
<MemberSignature Language="C#" Value="public void Attach (TEntity entity);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Attach(!TEntity entity) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.Objects.ObjectSet`1.Attach(`0)" />
<MemberSignature Language="VB.NET" Value="Public Sub Attach (entity As TEntity)" />
<MemberSignature Language="F#" Value="abstract member Attach : 'Entity -> unit
override this.Attach : 'Entity -> unit" Usage="objectSet.Attach entity" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual void Attach(TEntity entity);" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Data.Objects.IObjectSet`1.Attach(`0)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Data.Entity</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="entity" Type="TEntity" />
</Parameters>
<Docs>
<param name="entity">The object to attach.</param>
<summary>Attaches an object or object graph to the object context in the current entity set.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is a wrapper around the <xref:System.Data.Objects.ObjectContext.AttachTo*> method.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="CreateObject">
<MemberSignature Language="C#" Value="public TEntity CreateObject ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance !TEntity CreateObject() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.Objects.ObjectSet`1.CreateObject" />
<MemberSignature Language="VB.NET" Value="Public Function CreateObject () As TEntity" />
<MemberSignature Language="F#" Value="member this.CreateObject : unit -> 'Entity" Usage="objectSet.CreateObject " />
<MemberSignature Language="C++ CLI" Value="public:
 TEntity CreateObject();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data.Entity</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>TEntity</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Creates a new entity type object.</summary>
<returns>The new entity type object, or an instance of a proxy type that corresponds to the entity type.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CreateObject<T>">
<MemberSignature Language="C#" Value="public T CreateObject<T> () where T : class, TEntity;" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance !!T CreateObject<class (!TEntity) T>() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.Objects.ObjectSet`1.CreateObject``1" />
<MemberSignature Language="VB.NET" Value="Public Function CreateObject(Of T As {Class, TEntity}) () As T" />
<MemberSignature Language="F#" Value="member this.CreateObject : unit -> 'T" Usage="objectSet.CreateObject " />
<MemberSignature Language="C++ CLI" Value="public:
generic <typename T>
 where T : class, TEntity T CreateObject();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data.Entity</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>T</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Constraints>
<ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute>
<BaseTypeName>TEntity</BaseTypeName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters />
<Docs>
<typeparam name="T">Type of object to be returned.</typeparam>
<summary>Creates an instance of the specified type.</summary>
<returns>An instance of the requested type <paramref name="T" />, or an instance of a proxy type that corresponds to the type <paramref name="T" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="DeleteObject">
<MemberSignature Language="C#" Value="public void DeleteObject (TEntity entity);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void DeleteObject(!TEntity entity) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.Objects.ObjectSet`1.DeleteObject(`0)" />
<MemberSignature Language="VB.NET" Value="Public Sub DeleteObject (entity As TEntity)" />
<MemberSignature Language="F#" Value="abstract member DeleteObject : 'Entity -> unit
override this.DeleteObject : 'Entity -> unit" Usage="objectSet.DeleteObject entity" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual void DeleteObject(TEntity entity);" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Data.Objects.IObjectSet`1.DeleteObject(`0)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Data.Entity</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="entity" Type="TEntity" />
</Parameters>
<Docs>
<param name="entity">An object that represents the entity to delete. The object can be in any state except <see cref="F:System.Data.EntityState.Detached" />.</param>
<summary>Marks an object for deletion.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is a wrapper around the <xref:System.Data.Objects.ObjectContext.DeleteObject*> method.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Detach">
<MemberSignature Language="C#" Value="public void Detach (TEntity entity);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Detach(!TEntity entity) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.Objects.ObjectSet`1.Detach(`0)" />
<MemberSignature Language="VB.NET" Value="Public Sub Detach (entity As TEntity)" />
<MemberSignature Language="F#" Value="abstract member Detach : 'Entity -> unit
override this.Detach : 'Entity -> unit" Usage="objectSet.Detach entity" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual void Detach(TEntity entity);" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Data.Objects.IObjectSet`1.Detach(`0)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Data.Entity</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="entity" Type="TEntity" />
</Parameters>
<Docs>
<param name="entity">Object to be detached. Only the <paramref name="entity" /> is removed; if there are any related objects that are being tracked by the same <see cref="T:System.Data.Objects.ObjectStateManager" />, those will not be detached automatically.</param>
<summary>Removes the object from the object context.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is a wrapper around the <xref:System.Data.Objects.ObjectContext.Detach*> method.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="EntitySet">
<MemberSignature Language="C#" Value="public System.Data.Metadata.Edm.EntitySet EntitySet { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Data.Metadata.Edm.EntitySet EntitySet" />
<MemberSignature Language="DocId" Value="P:System.Data.Objects.ObjectSet`1.EntitySet" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property EntitySet As EntitySet" />
<MemberSignature Language="F#" Value="member this.EntitySet : System.Data.Metadata.Edm.EntitySet" Usage="System.Data.Objects.ObjectSet<'Entity (requires 'Entity : null)>.EntitySet" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Data::Metadata::Edm::EntitySet ^ EntitySet { System::Data::Metadata::Edm::EntitySet ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data.Entity</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Data.Metadata.Edm.EntitySet</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the metadata of the entity set represented by this <see cref="T:System.Data.Objects.ObjectSet`1" /> instance.</summary>
<value>An <see cref="T:System.Data.Metadata.Edm.EntitySet" /> object.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>