Skip to content

SitecoreIgnoreAttribute

Mike Edwards edited this page Jan 23, 2019 · 1 revision

Indicates that the proeprty should be ignored when mapping a model. This attribute is typically used with AutoMapping.

public class MyModel{

    [SitecoreIgnore]
    public virtual string AProperty { get; set; }

}

Properties

Name Type Description

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