public TreeListNode(TreeListNode parent, int seqNo, String code, MultilingualString title) { this.seqNo = seqNo; this.code = code; this.title = title; if (null != parent) { parent.AddChild(this); } }
public TreeListNode(TreeListNode parent, int seqNo, String code, MultilingualString title, MultilingualString shortTitle, bool isActive, bool isDefault, bool isImmutable, String valueString, double valueNumber, DateTime valueDate) { this.seqNo = seqNo; this.code = code; this.title = title; this.shortTitle = shortTitle; this.valueNumber = valueNumber; this.isActive = isActive; this.isDefault = isDefault; this.isImmutable = isImmutable; if (null != parent) { parent.AddChild(this); } }