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
Post a Comment