Reputation: 21244
Given code like this:
IContent part = ....; // some part object like IUser
var fieldValues = part.ContentItem.Parts
.SelectMany(p => p.Fields)
.Where(f => f.Name == "some field name");
Which table are the field values stored in, or are they stored somewhere else?
I'm using SQL Server as the back-end database for Orchard. I see the fields are defined in table Settings_ContentPartFieldDefinitionRecord
but I don't know where the actual values are stored.
Upvotes: 0
Views: 356
Reputation: 6591
Orchard_Framework_ContentItemVersionRecord
Check out this blog post by the lead developer on Orchard, Sebastien Ros, who talks a little about the database structure. http://sebastienros.com/understanding-orchard-s-database
Upvotes: 2