Share via


RuntimePropertyBase.SetMaterializationSetter Method

Definition

Overloads

Name Description
SetMaterializationSetter<TEntity,TStructural,TValue>(Action<TEntity,IReadOnlyList<Int32>,TValue>, Func<TStructural,TValue,TStructural>)

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.

SetMaterializationSetter<TEntity,TValue>(Func<TEntity,TValue,TEntity>)

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.

SetMaterializationSetter<TEntity,TValue>(Action<TEntity,TValue>)

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.

SetMaterializationSetter<TEntity,TStructural,TValue>(Action<TEntity,IReadOnlyList<Int32>,TValue>, Func<TStructural,TValue,TStructural>)

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 SetMaterializationSetter<TEntity,TStructural,TValue>(Action<TEntity,System.Collections.Generic.IReadOnlyList<int>,TValue> setClrValueUsingContainingEntity, Func<TStructural,TValue,TStructural> setClrValue) where TEntity : class;
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member SetMaterializationSetter : Action<'Entity, System.Collections.Generic.IReadOnlyList<int>, 'Value (requires 'Entity : null)> * Func<'Structural, 'Value, 'Structural> -> unit (requires 'Entity : null)
override this.SetMaterializationSetter : Action<'Entity, System.Collections.Generic.IReadOnlyList<int>, 'Value (requires 'Entity : null)> * Func<'Structural, 'Value, 'Structural> -> unit (requires 'Entity : null)
Public Overridable Sub SetMaterializationSetter(Of TEntity As Class, TStructural As Class, TValue As Class) (setClrValueUsingContainingEntity As Action(Of TEntity, IReadOnlyList(Of Integer), TValue), setClrValue As Func(Of TStructural, TValue, TStructural))

Type Parameters

TEntity
TStructural
TValue

Parameters

setClrValueUsingContainingEntity
Action<TEntity,IReadOnlyList<Int32>,TValue>
setClrValue
Func<TStructural,TValue,TStructural>
Attributes

Applies to

SetMaterializationSetter<TEntity,TValue>(Func<TEntity,TValue,TEntity>)

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 SetMaterializationSetter<TEntity,TValue>(Func<TEntity,TValue,TEntity> setClrValue) where TEntity : class;
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member SetMaterializationSetter : Func<'Entity, 'Value, 'Entity (requires 'Entity : null and 'Entity : null)> -> unit (requires 'Entity : null)
override this.SetMaterializationSetter : Func<'Entity, 'Value, 'Entity (requires 'Entity : null and 'Entity : null)> -> unit (requires 'Entity : null)
Public Overridable Sub SetMaterializationSetter(Of TEntity As Class, TValue As Class) (setClrValue As Func(Of TEntity, TValue, TEntity))

Type Parameters

TEntity
TValue

Parameters

setClrValue
Func<TEntity,TValue,TEntity>
Attributes

Applies to

SetMaterializationSetter<TEntity,TValue>(Action<TEntity,TValue>)

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 SetMaterializationSetter<TEntity,TValue>(Action<TEntity,TValue> setter) where TEntity : class;
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member SetMaterializationSetter : Action<'Entity, 'Value (requires 'Entity : null)> -> unit (requires 'Entity : null)
override this.SetMaterializationSetter : Action<'Entity, 'Value (requires 'Entity : null)> -> unit (requires 'Entity : null)
Public Overridable Sub SetMaterializationSetter(Of TEntity As Class, TValue As Class) (setter As Action(Of TEntity, TValue))

Type Parameters

TEntity
TValue

Parameters

setter
Action<TEntity,TValue>
Attributes

Applies to