Dela via


RuntimePropertyBase.SetAccessors Method

Definition

Overloads

SetAccessors(PropertyAccessors)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

SetAccessors<TProperty>(Func<InternalEntityEntry,TProperty>, Func<InternalEntityEntry, TProperty>, Func<InternalEntityEntry,TProperty>, Func<InternalEntityEntry, TProperty>, Func<ValueBuffer,Object>)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

SetAccessors(PropertyAccessors)

Source:
RuntimePropertyBase.cs

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public virtual void SetAccessors (Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyAccessors accessors);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member SetAccessors : Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyAccessors -> unit
override this.SetAccessors : Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyAccessors -> unit
Public Overridable Sub SetAccessors (accessors As PropertyAccessors)

Parameters

accessors
Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyAccessors
Attributes

Applies to

SetAccessors<TProperty>(Func<InternalEntityEntry,TProperty>, Func<InternalEntityEntry, TProperty>, Func<InternalEntityEntry,TProperty>, Func<InternalEntityEntry, TProperty>, Func<ValueBuffer,Object>)

Source:
RuntimePropertyBase.cs

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public virtual void SetAccessors<TProperty> (Func<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry,TProperty> currentValueGetter, Func<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry,TProperty> preStoreGeneratedCurrentValueGetter, Func<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry,TProperty>? originalValueGetter, Func<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry,TProperty> relationshipSnapshotGetter, Func<Microsoft.EntityFrameworkCore.Storage.ValueBuffer,object>? valueBufferGetter);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member SetAccessors : Func<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry, 'Property> * Func<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry, 'Property> * Func<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry, 'Property> * Func<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry, 'Property> * Func<Microsoft.EntityFrameworkCore.Storage.ValueBuffer, obj> -> unit
override this.SetAccessors : Func<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry, 'Property> * Func<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry, 'Property> * Func<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry, 'Property> * Func<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry, 'Property> * Func<Microsoft.EntityFrameworkCore.Storage.ValueBuffer, obj> -> unit
Public Overridable Sub SetAccessors(Of TProperty) (currentValueGetter As Func(Of InternalEntityEntry, TProperty), preStoreGeneratedCurrentValueGetter As Func(Of InternalEntityEntry, TProperty), originalValueGetter As Func(Of InternalEntityEntry, TProperty), relationshipSnapshotGetter As Func(Of InternalEntityEntry, TProperty), valueBufferGetter As Func(Of ValueBuffer, Object))

Type Parameters

TProperty

Parameters

currentValueGetter
Func<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry,TProperty>
preStoreGeneratedCurrentValueGetter
Func<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry,TProperty>
originalValueGetter
Func<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry,TProperty>
relationshipSnapshotGetter
Func<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry,TProperty>
valueBufferGetter
Func<ValueBuffer,Object>
Attributes

Applies to