Class EntityMaterializerSource
- Namespace
- Microsoft.EntityFrameworkCore.Query.Internal
- Assembly
- Microsoft.EntityFrameworkCore.dll
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.
public class EntityMaterializerSource : IEntityMaterializerSource
- Inheritance
-
EntityMaterializerSource
- Implements
- Inherited Members
Constructors
EntityMaterializerSource(EntityMaterializerSourceDependencies)
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.
public EntityMaterializerSource(EntityMaterializerSourceDependencies dependencies)
Parameters
dependencies
EntityMaterializerSourceDependencies
Fields
UseOldBehavior31866
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.
public static readonly bool UseOldBehavior31866
Field Value
Properties
Dependencies
Dependencies for this service.
protected virtual EntityMaterializerSourceDependencies Dependencies { get; }
Property Value
Methods
CreateMaterializeExpression(IEntityType, string, Expression)
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.
[Obsolete("Use the overload that accepts an EntityMaterializerSourceParameters object.")]
public virtual Expression CreateMaterializeExpression(IEntityType entityType, string entityInstanceName, Expression materializationContextExpression)
Parameters
entityType
IEntityTypeentityInstanceName
stringmaterializationContextExpression
Expression
Returns
CreateMaterializeExpression(EntityMaterializerSourceParameters, Expression)
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.
public Expression CreateMaterializeExpression(EntityMaterializerSourceParameters parameters, Expression materializationContextExpression)
Parameters
parameters
EntityMaterializerSourceParametersmaterializationContextExpression
Expression
Returns
GetEmptyMaterializer(IEntityType)
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.
public virtual Func<MaterializationContext, object> GetEmptyMaterializer(IEntityType entityType)
Parameters
entityType
IEntityType
Returns
GetMaterializer(IEntityType)
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.
public virtual Func<MaterializationContext, object> GetMaterializer(IEntityType entityType)
Parameters
entityType
IEntityType