Class ToModelOptions
[WorkInProgressApi("WIP v22")]
public record ToModelOptions : IEquatable<ToModelOptions>
- Inheritance
-
objectToModelOptions
- Implements
Fields
TypeNameAny
public const string TypeNameAny = "*"
Field Value
Properties
NullHandling
public NullHandling NullHandling { get; set; }
Property Value
- NullHandling
TypeName
The name of the type to match. Or of the entity type to filter by. This value is used to select entities of a specific type.
public string? TypeName { get; set; }
Property Value
Remarks
Leave null for default to just use the type name specified by the model.
Set to TypeNameAny (*) to allow any type name, effectively disabling the type-name checks.