asp.net mvc - Saving Id in Raven Document -


new raven. have mvc page saves data raven document. able save fields expected. have noticed id (field/attribute of table/class structure in project) null , not saved document. there raven system generated id in title of document (like docname/123 etc...). how can docname/123 or 123 or other auto generated id field save raven document? please help..thank you

raven automatically generate id if not specified. if don't want raven generate key need specify public string id {get; set;} property in class.`


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -