Quantcast
Channel: Getting IdConvention in RavenDB - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Matt Johnson-Pint for Getting IdConvention in RavenDB

After registering an id convention, the GenerateDocumentKey method will use that convention instead of the default hilo generation scheme.It needs some parameters, which are easiest to get at if you...

View Article



Getting IdConvention in RavenDB

Lets say we have a User class public class User { public User() { Created = DateTime.Now; Tags = new List<string>(); } public string FirstName { get; set; } public string LastName { get; set; }...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images