Skip to content
Mike Edwards edited this page Jan 24, 2019 · 1 revision

The list below details the .NET types that are support out of the box when mapping Sitecore field values. Custom data mappers can be created to support other types required for your project.

  • Boolean
  • DateTime
  • Decimal
  • Dictionary
  • DoOuble
  • Enums - created by the developer
  • Glass.Mapper.Sc.Fields.File
  • Float
  • Guid
  • Glass.Mapper.Sc.Fields.HtmlEncodingString
  • IEnumerable<>
  • Sitecore.Data.ID
  • Glass.Mapper.Sc.Fields.Image
  • Sitecore.Data.Items.Item
  • Integer
  • Glass.Mapper.Sc.Fields.Link
  • Long
  • NameValueCollection
  • Nullable Enum - see enum
  • Nullable values - e.g. int?, double?
  • Sitecore.Rules.RuleList<>
  • Stream
  • String
  • another Glass model

Do you love Glass.Mapper.Sc and want to help make it the best Sitecore ORM?

Then head over to our Patreon page today and signup to support the project.

Your help will to support the continued development of the project.

We also provide Training Courses to get you up to speed quickly with the Glass.Mapper.Sc framework. The course will teach you everything you need to know to get started.

Clone this wiki locally