ValueComparer<T>.Snapshot Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Snapshot(Object) |
Creates a snapshot of the given instance. |
Snapshot(T) |
Creates a snapshot of the given instance. |
Snapshot(Object)
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
Creates a snapshot of the given instance.
public override object Snapshot (object instance);
public override object? Snapshot (object? instance);
override this.Snapshot : obj -> obj
Public Overrides Function Snapshot (instance As Object) As Object
Parameters
- instance
- Object
The instance.
Returns
The snapshot.
Remarks
Snapshotting is the process of creating a copy of the value into a snapshot so it can later be compared to determine if it has changed. For some types, such as collections, this needs to be a deep copy of the collection rather than just a shallow copy of the reference.
Applies to
Snapshot(T)
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
Creates a snapshot of the given instance.
public virtual T Snapshot (T instance);
override this.Snapshot : 'T -> 'T
Public Overridable Function Snapshot (instance As T) As T
Parameters
- instance
- T
The instance.
Returns
The snapshot.
Remarks
Snapshotting is the process of creating a copy of the value into a snapshot so it can later be compared to determine if it has changed. For some types, such as collections, this needs to be a deep copy of the collection rather than just a shallow copy of the reference.
Applies to
Entity Framework