RavenDb GenerateDocumentKey -
I need to create an ID for the hair object of my document. What is the current syntax for creating document key?
   If you want  actually  this behavior, then you can try using your own HiLoKeyGenerator, but have you considered something simple? I do not know what your model is, but if the child is fully owned by the document (which should be in the same document) then you have a very easy choice:   session.Advanced.Conventions.GenerateDocumentKey (document)  is no longer anymore I have found that the  _document session. Advanced. Documentstress Insert GenerateDocumentKey  method but its signature is weird: I'm fine with the default key generation algorithm I just want to pass an object and want to get an ID.  Foo  is changed to  Foos / , which goes back again so that every time the server is not consulted, specify the ID on the client side Can be done.   
 int nextchild thingId  property on the document and every time you add a child child   Guid , although anyone on the phone can read, type, view, Ulna is no fun or speak.    
 
  
Comments
Post a Comment