Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Sample Ordered Sitecore xDB Element example
public class SampleOrderElement : Element, ISampleOrderElement
private const string DecorIdName = "DecorId";
private const string RangeIdName = "RangeId";
public SampleOrderElement()
public string DecorId
get { return GetAttribute<string>(DecorIdName); }
set { SetAttribute(DecorIdName, value); }
public string RangeId
get { return GetAttribute<string>(RangeIdName); }
set { SetAttribute(RangeIdName, value); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment