public async Task can_create_with_indexes() { theMapping.Index(x => x.UserName); theMapping.Index(x => x.FirstName); writeTable(); var existing = await theTable.FetchExisting(_conn); existing.Indexes.Count.ShouldBe(2); }
public void can_create_with_indexes() { theMapping.Index(x => x.UserName); theMapping.Index(x => x.FirstName); writeTable(); var existing = theTable.FetchExisting(_conn); existing.ActualIndices.Count.ShouldBe(2); }
public static void ConfigureMarten(DocumentMapping <PreviousName> mapping) { mapping.DatabaseSchemaName = "events"; mapping.Index(x => x.StreamId); }