public DataEntryFilter(JToken node) : base(node) { if (node["orderBy"] != null) { this._OrderBy = (DataEntryOrderBy)StringEnum.Parse(typeof(DataEntryOrderBy), node["orderBy"].Value <string>()); } }
public DataEntryFilter(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { switch (propertyNode.Name) { case "orderBy": this._OrderBy = (DataEntryOrderBy)StringEnum.Parse(typeof(DataEntryOrderBy), propertyNode.InnerText); continue; } } }