Keith
Keith

Reputation: 21244

Where are ContentItem.Parts.Fields values stored?

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

Answers (1)

Hazza
Hazza

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

Related Questions