Skip to main content
Version: 0.3.x (0.3.0)

Namespace AdCodicem.ValueObjects.EntityFrameworkCore

Classes​

NullableValueObjectComparer<TSelf>

Compares optional value objects using their own equality rather than the underlying value's, as compares required ones.

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 as its bare text, and a value it rejects as NULL.

StrictNullableValueObjectConverter<TSelf>

Stores an optional value object over as its bare text, and a value it rejects as 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.

ValueObjectCheckConstraints

Reads the code of the rule a CHECK constraint written by AddValueObjectCheckConstraints refused a row under, from the error the database provider throws.

ValueObjectCheckOptions

Chooses the rules writes as CHECK constraints, and the dialect it writes a pattern in.

ValueObjectComparer<TSelf>

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 key.

ValueObjectInt32KeyGenerationExtensions

Generates a key over a 32-bit integer the way the provider generates an key.

ValueObjectInt64KeyGenerationExtensions

Generates a key over a 64-bit integer the way the provider generates a key.

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 , and the temporary values Entity Framework Core holds until the database generates a key over an integer.

Enums​

ValueObjectChecks

The rules of a value object that writes as CHECK constraints, combined as flags.

ValueObjectPatternDialect

The regular expressions of the database a pattern is written for as a CHECK constraint, which the model cannot tell.