Class EntityPropertiesFactory<TProperties, TReport>
Factory for creating property and report objects for a generated entity.
public sealed record EntityPropertiesFactory<TProperties, TReport> : IEquatable<EntityPropertiesFactory<TProperties, TReport>>
Type Parameters
TPropertiesTReport
- Inheritance
-
EntityPropertiesFactory<TProperties, TReport>
- Implements
-
IEquatable<EntityPropertiesFactory<TProperties, TReport>>
- Inherited Members
Constructors
EntityPropertiesFactory(Func<EntityKernel, TProperties>, Func<EntityKernel, TReport>)
Factory for creating property and report objects for a generated entity.
public EntityPropertiesFactory(Func<EntityKernel, TProperties> CreateProperties, Func<EntityKernel, TReport> CreateReport)
Parameters
CreatePropertiesFunc<EntityKernel, TProperties>CreateReportFunc<EntityKernel, TReport>
Properties
CreateProperties
public Func<EntityKernel, TProperties> CreateProperties { get; init; }
Property Value
- Func<EntityKernel, TProperties>
CreateReport
public Func<EntityKernel, TReport> CreateReport { get; init; }
Property Value
- Func<EntityKernel, TReport>