Struct EntityMaterializerSourceParameters
- Namespace
- Microsoft.EntityFrameworkCore.Query
- Assembly
- Microsoft.EntityFrameworkCore.dll
Parameter object for IEntityMaterializerSource.
public readonly struct EntityMaterializerSourceParameters : IEquatable<EntityMaterializerSourceParameters>
- Implements
- Inherited Members
Constructors
EntityMaterializerSourceParameters(ITypeBase, string, QueryTrackingBehavior?)
Parameter object for IEntityMaterializerSource.
public EntityMaterializerSourceParameters(ITypeBase StructuralType, string InstanceName, QueryTrackingBehavior? QueryTrackingBehavior)
Parameters
StructuralType
ITypeBaseThe entity or complex type being materialized.
InstanceName
stringThe name of the instance being materialized.
QueryTrackingBehavior
QueryTrackingBehavior?The query tracking behavior, or null if this materialization is not from a query.
Properties
InstanceName
The name of the instance being materialized.
public string InstanceName { get; init; }
Property Value
QueryTrackingBehavior
The query tracking behavior, or null if this materialization is not from a query.
public QueryTrackingBehavior? QueryTrackingBehavior { get; init; }
Property Value
StructuralType
The entity or complex type being materialized.
public ITypeBase StructuralType { get; init; }
Property Value
Methods
Deconstruct(out ITypeBase, out string, out QueryTrackingBehavior?)
public void Deconstruct(out ITypeBase StructuralType, out string InstanceName, out QueryTrackingBehavior? QueryTrackingBehavior)
Parameters
StructuralType
ITypeBaseInstanceName
stringQueryTrackingBehavior
QueryTrackingBehavior?
Equals(EntityMaterializerSourceParameters)
public bool Equals(EntityMaterializerSourceParameters other)
Parameters
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(EntityMaterializerSourceParameters, EntityMaterializerSourceParameters)
public static bool operator ==(EntityMaterializerSourceParameters left, EntityMaterializerSourceParameters right)
Parameters
Returns
operator !=(EntityMaterializerSourceParameters, EntityMaterializerSourceParameters)
public static bool operator !=(EntityMaterializerSourceParameters left, EntityMaterializerSourceParameters right)