protected override Task fixtureSetup() { var doc1 = new DocWithArrays { Strings = new string[] { "a", "b", "c" } }; var doc2 = new DocWithArrays { Strings = new string[] { "c", "d", "e" } }; var doc3 = new DocWithArrays { Strings = new string[] { "d", "e", "f" } }; var doc4 = new DocWithArrays { Strings = new string[] { "g", "h", "i" } }; theSession.Store(doc1, doc2, doc3, doc4); return(theSession.SaveChangesAsync()); }
public Bug_561_negation_of_query_on_contains_with_camel_casing() { StoreOptions(_ => _.UseDefaultSerialization(casing: Casing.CamelCase)); var doc1 = new DocWithArrays { Strings = new string[] { "a", "b", "c" } }; var doc2 = new DocWithArrays { Strings = new string[] { "c", "d", "e" } }; var doc3 = new DocWithArrays { Strings = new string[] { "d", "e", "f" } }; var doc4 = new DocWithArrays { Strings = new string[] { "g", "h", "i" } }; theSession.Store(doc1, doc2, doc3, doc4); theSession.SaveChanges(); }