public sealed class DebugMessages_ByDefaultIndexes : AbstractIndexCreationTask<DebugMessage>{ public DebugMessages_ByDefaultIndexes() { Map = messages => messages .Select(item => new { item.OccurredOn, item.ApplicationName, item.Type }); }}
public sealed class DebugMessages_ByDefaultIndexes : AbstractIndexCreationTask<DebugMessage>{ public DebugMessages_ByDefaultIndexes() { Map = messages => messages .Select(item => new { item.OccurredOn.Ticks, item.ApplicationName, item.Type }); Sort(x => x.OccurredOn.Ticks, SortOptions.Long);
}}
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+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You are expected to generate it using:OccurredOn_Ticks = item.OccurredOn.Ticks, // Generate a field named Ticks
--
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
--
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
Or do a breaking change so IF you upgrade, your code doesn't compile anymore. Drastic, yes. But Microsoft did that with EF, Asp.MVC, etc... and nobody is whining about that. There are associated costs if you want a better/faster/safer version of any piece of software, and if you are not willing to pay for them, you can simply don't upgrade.
--
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
--