Namespace AdCodicem.ValueObjects.EntityFrameworkCore
Classes
NullableValueObjectComparer<TSelf>
Compares optional value objects using their own equality rather than the underlying value's, as
NullableValueObjectConverter<TSelf, TValue>
Stores an optional value object over a value type as its bare underlying value, and a value it rejects as
NULL.
NullableValueObjectConverter<TSelf>
Stores an optional value object over NULL.
StrictNullableValueObjectConverter<TSelf>
Stores an optional value object over NULL,
and re-validates whatever comes back from the database.
StrictNullableValueObjectConverter<TSelf, TValue>
Stores an optional value object over a value type as its bare underlying value, and a value it rejects as
NULL, and re-validates whatever comes back from the database.
StrictValueObjectConverter<TSelf, TValue>
Stores a value object as its bare underlying value, and re-validates whatever comes back from the database.
Reads the code of the rule a CHECK constraint written by AddValueObjectCheckConstraints refused a row under,
from the error the database provider throws.
Chooses the rules
Compares value objects using their own equality rather than the underlying value's.
ValueObjectConventionExtensions
Maps value objects onto their underlying database types.
ValueObjectConverter<TSelf, TValue>
Stores a value object as its bare underlying value.
ValueObjectDbContextOptionsBuilderExtensions
Adds to the options of a context what the model cannot hold: the translation of what a LINQ query reads of a value object, and the code of the rule a CHECK constraint refused a row under.
ValueObjectInt16KeyGenerationExtensions
Generates a key over a 16-bit integer the way the provider generates a
ValueObjectInt32KeyGenerationExtensions
Generates a key over a 32-bit integer the way the provider generates an
ValueObjectInt64KeyGenerationExtensions
Generates a key over a 64-bit integer the way the provider generates a
ValueObjectKeyGeneratorFactory<TSelf, TValue>
Creates the generator HasValueObjectKeyGeneration gives a key, by a type a compiled model can instantiate:
GUIDs a database keeps in order for a key over
Enums
The rules of a value object that
The regular expressions of the database a pattern is written for as a CHECK constraint, which the model cannot tell.