Class E004_SubtreeAndElementKeys_ef
EF Core twin of : unique keys over the content of a nested class, an
ordered list and collection elements, plus scheme tags. EF Core has a unique index over columns only.
[ExampleMeta("E004_ef", "EF: Unique Keys - nested, subtree and element keys, [RedbTags]", "CRUD", ExampleTier.Free, 1, new string[] { "EF", "Unique" })]
public class E004_SubtreeAndElementKeys_ef : EfExampleBase
Inheritance
Inherited Members
ExampleBase.ExplicitlyRequestedIds,ExampleBase.Fail(string, string, ExampleTier, long, string),ExampleBase.GetMeta(),ExampleBase.Ok(string, string, ExampleTier, long, int, string[], string?),ExampleBase.Ok(string, string, ExampleTier, long, string[], string?),ExampleBase.RunAsync(IRedbService),EfExampleBase.Contexts,EfExampleBase.NotSupported(string, string, ExampleTier, string),EfExampleBase.RunAsync(IRedbService),EfExampleBase.RunEfAsync(IDbContextFactory<FlatContext>)
Methods
RunEfAsync(IDbContextFactory<FlatContext>)
Runs the example through EF Core.
public override Task<ExampleResult> RunEfAsync(IDbContextFactory<FlatContext> contexts)