I am needing to use the BigInteger
class to handle large integers to my classes, however when trying to use EntityFramework Core to map to a DB table I recieve the following error:
The property
AllianceRank.Reputation
could not be mapped, because it is of typeBigInteger
which is not a supported primitive type or a valid entity type. Either explicitly map this property, or ignore it.
[Column("reputation")]
public BigInteger Reputation { get; set; }
It would seem that BigIntegers
are not a supported type for mapping. How can I force it to map, or otherwise resolve this issue?