var query = _session.Query<BinaryFile>();using (var enumerator = await _session.Advanced.StreamAsync(query)){ var hashset = new HashSet<string>(StringComparer.OrdinalIgnoreCase); while (await enumerator.MoveNextAsync())
{ hashset.Add(enumerator.Current.Document.Id); } return hashset;
}
at Raven.Client.Documents.Session.Operations.StreamOperation.YieldStreamResults.<InitializeAsync>d__11.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Raven.Client.Documents.Session.Operations.StreamOperation.YieldStreamResults.<MoveNextAsync>d__10.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Raven.Client.Documents.Session.AsyncDocumentSession.YieldStream`1.<MoveNextAsync>d__13.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at DDS.Synchronizer.Server.Repository.Repositories.BinariesRepository.<LoadAllAsync>d__8.MoveNext() in D:\Code\2DS\Aplicaciones\Synchronizer\DDS.Synchronizer.Server\Repository\Repositories\BinariesRepository.cs:line 89
Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
public sealed class BinaryFile : IStorable{ public BinaryFile() { Created = DateTime.UtcNow; } [Sparrow.Json.JsonIgnore] [Newtonsoft.Json.JsonIgnore] public Stream Stream { get; set; } public string Id { get; set; } public DateTime Created { get; set; } public DateTime Modified { get; set; }}
internal sealed class BinaryFile_Indexes : AbstractIndexCreationTask<BinaryFile> { }
{ "Created": "2017-06-16T19:31:30.6061761Z", "Modified": "2017-06-16T19:31:30.6061761Z", "@metadata": { "@collection": "BinaryFiles", "Raven-Clr-Type": "DDS.Synchronizer.Server.Data.BinaryFile, DDS.Synchronizer.Server", "@flags": "HasAttachments", "@change-vector": [ { "Etag": 39, "DbId": "26e3e358-939b-4d75-9982-86cacfc94cdb" } ] }}
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.