RuntimePropertyBase.SetGetter Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
| Název | Description |
|---|---|
| SetGetter<TEntity,TStructural,TValue>(Func<TEntity,IReadOnlyList<Int32>, TValue>, Func<TEntity,IReadOnlyList<Int32>,Boolean>, Func<TStructural, TValue>, Func<TStructural,Boolean>) |
Jedná se o interní rozhraní API, které podporuje infrastrukturu Entity Framework Core a nevztahuje se na stejné standardy kompatibility jako veřejná rozhraní API. Může se změnit nebo odebrat bez upozornění v jakékoli verzi. Měli byste ho používat přímo ve svém kódu s extrémní opatrností a vědět, že to může vést k selháním aplikace při aktualizaci na novou Entity Framework Core verzi. |
| SetGetter<TEntity,TStructuralType,TValue>(Func<TEntity,TValue>, Func<TEntity,Boolean>, Func<TStructuralType,TValue>, Func<TStructuralType,Boolean>) |
Jedná se o interní rozhraní API, které podporuje infrastrukturu Entity Framework Core a nevztahuje se na stejné standardy kompatibility jako veřejná rozhraní API. Může se změnit nebo odebrat bez upozornění v jakékoli verzi. Měli byste ho používat přímo ve svém kódu s extrémní opatrností a vědět, že to může vést k selháním aplikace při aktualizaci na novou Entity Framework Core verzi. |
| SetGetter<TEntity,TValue>(Func<TEntity,TValue>, Func<TEntity,Boolean>) |
Jedná se o interní rozhraní API, které podporuje infrastrukturu Entity Framework Core a nevztahuje se na stejné standardy kompatibility jako veřejná rozhraní API. Může se změnit nebo odebrat bez upozornění v jakékoli verzi. Měli byste ho používat přímo ve svém kódu s extrémní opatrností a vědět, že to může vést k selháním aplikace při aktualizaci na novou Entity Framework Core verzi. |
SetGetter<TEntity,TStructural,TValue>(Func<TEntity,IReadOnlyList<Int32>, TValue>, Func<TEntity,IReadOnlyList<Int32>,Boolean>, Func<TStructural, TValue>, Func<TStructural,Boolean>)
- Zdroj:
- RuntimePropertyBase.cs
- Zdroj:
- RuntimePropertyBase.cs
Jedná se o interní rozhraní API, které podporuje infrastrukturu Entity Framework Core a nevztahuje se na stejné standardy kompatibility jako veřejná rozhraní API. Může se změnit nebo odebrat bez upozornění v jakékoli verzi. Měli byste ho používat přímo ve svém kódu s extrémní opatrností a vědět, že to může vést k selháním aplikace při aktualizaci na novou Entity Framework Core verzi.
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public virtual void SetGetter<TEntity,TStructural,TValue>(Func<TEntity,System.Collections.Generic.IReadOnlyList<int>,TValue> getClrValueUsingContainingEntity, Func<TEntity,System.Collections.Generic.IReadOnlyList<int>,bool> hasSentinelUsingContainingEntity, Func<TStructural,TValue> getClrValue, Func<TStructural,bool> hasSentinel) where TEntity : class;
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member SetGetter : Func<'Entity, System.Collections.Generic.IReadOnlyList<int>, 'Value (requires 'Entity : null)> * Func<'Entity, System.Collections.Generic.IReadOnlyList<int>, bool (requires 'Entity : null)> * Func<'Structural, 'Value> * Func<'Structural, bool> -> unit (requires 'Entity : null)
override this.SetGetter : Func<'Entity, System.Collections.Generic.IReadOnlyList<int>, 'Value (requires 'Entity : null)> * Func<'Entity, System.Collections.Generic.IReadOnlyList<int>, bool (requires 'Entity : null)> * Func<'Structural, 'Value> * Func<'Structural, bool> -> unit (requires 'Entity : null)
Public Overridable Sub SetGetter(Of TEntity As Class, TStructural As Class, TValue As Class) (getClrValueUsingContainingEntity As Func(Of TEntity, IReadOnlyList(Of Integer), TValue), hasSentinelUsingContainingEntity As Func(Of TEntity, IReadOnlyList(Of Integer), Boolean), getClrValue As Func(Of TStructural, TValue), hasSentinel As Func(Of TStructural, Boolean))
Parametry typu
- TEntity
- TStructural
- TValue
Parametry
- getClrValueUsingContainingEntity
- Func<TEntity,IReadOnlyList<Int32>,TValue>
- hasSentinelUsingContainingEntity
- Func<TEntity,IReadOnlyList<Int32>,Boolean>
- getClrValue
- Func<TStructural,TValue>
- Atributy
Platí pro
SetGetter<TEntity,TStructuralType,TValue>(Func<TEntity,TValue>, Func<TEntity,Boolean>, Func<TStructuralType,TValue>, Func<TStructuralType,Boolean>)
- Zdroj:
- RuntimePropertyBase.cs
- Zdroj:
- RuntimePropertyBase.cs
Jedná se o interní rozhraní API, které podporuje infrastrukturu Entity Framework Core a nevztahuje se na stejné standardy kompatibility jako veřejná rozhraní API. Může se změnit nebo odebrat bez upozornění v jakékoli verzi. Měli byste ho používat přímo ve svém kódu s extrémní opatrností a vědět, že to může vést k selháním aplikace při aktualizaci na novou Entity Framework Core verzi.
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public virtual void SetGetter<TEntity,TStructuralType,TValue>(Func<TEntity,TValue> getter, Func<TEntity,bool> hasDefaultValue, Func<TStructuralType,TValue> structuralTypeGetter, Func<TStructuralType,bool> hasStructuralTypeSentinelValue) where TEntity : class;
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member SetGetter : Func<'Entity, 'Value (requires 'Entity : null)> * Func<'Entity, bool (requires 'Entity : null)> * Func<'StructuralType, 'Value> * Func<'StructuralType, bool> -> unit (requires 'Entity : null)
override this.SetGetter : Func<'Entity, 'Value (requires 'Entity : null)> * Func<'Entity, bool (requires 'Entity : null)> * Func<'StructuralType, 'Value> * Func<'StructuralType, bool> -> unit (requires 'Entity : null)
Public Overridable Sub SetGetter(Of TEntity As Class, TStructuralType As Class, TValue As Class) (getter As Func(Of TEntity, TValue), hasDefaultValue As Func(Of TEntity, Boolean), structuralTypeGetter As Func(Of TStructuralType, TValue), hasStructuralTypeSentinelValue As Func(Of TStructuralType, Boolean))
Parametry typu
- TEntity
- TStructuralType
- TValue
Parametry
- getter
- Func<TEntity,TValue>
- structuralTypeGetter
- Func<TStructuralType,TValue>
- Atributy
Platí pro
SetGetter<TEntity,TValue>(Func<TEntity,TValue>, Func<TEntity,Boolean>)
- Zdroj:
- RuntimePropertyBase.cs
- Zdroj:
- RuntimePropertyBase.cs
Jedná se o interní rozhraní API, které podporuje infrastrukturu Entity Framework Core a nevztahuje se na stejné standardy kompatibility jako veřejná rozhraní API. Může se změnit nebo odebrat bez upozornění v jakékoli verzi. Měli byste ho používat přímo ve svém kódu s extrémní opatrností a vědět, že to může vést k selháním aplikace při aktualizaci na novou Entity Framework Core verzi.
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public virtual void SetGetter<TEntity,TValue>(Func<TEntity,TValue> getClrValue, Func<TEntity,bool> hasSentinel) where TEntity : class;
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member SetGetter : Func<'Entity, 'Value (requires 'Entity : null)> * Func<'Entity, bool (requires 'Entity : null)> -> unit (requires 'Entity : null)
override this.SetGetter : Func<'Entity, 'Value (requires 'Entity : null)> * Func<'Entity, bool (requires 'Entity : null)> -> unit (requires 'Entity : null)
Public Overridable Sub SetGetter(Of TEntity As Class, TValue As Class) (getClrValue As Func(Of TEntity, TValue), hasSentinel As Func(Of TEntity, Boolean))
Parametry typu
- TEntity
- TValue
Parametry
- getClrValue
- Func<TEntity,TValue>
- Atributy