this is my ConfigureConventions

The smart enum

How I use it under entity

The exception 'No suitable constructor was found for entity type 'UnitMaterial'. The following constructors had parameters that could not be bound to properties of the entity type: Cannot bind 'name', 'value' in 'UnitMaterial(string name, int value)'
how can I fix this ? please help
UnitMaterial and Entity is under my DOMAIN project, and dbContext is under INFRASTRUCTURE project
My specs
.NET 8.0
SmartEnum 8.1
SmartEnum.EFCore 8.1
this is my ConfigureConventions

The smart enum

How I use it under entity

The exception 'No suitable constructor was found for entity type 'UnitMaterial'. The following constructors had parameters that could not be bound to properties of the entity type: Cannot bind 'name', 'value' in 'UnitMaterial(string name, int value)'how can I fix this ? please help
UnitMaterial and Entity is under my DOMAIN project, and dbContext is under INFRASTRUCTURE project
My specs
.NET 8.0
SmartEnum 8.1
SmartEnum.EFCore 8.1