public StatefulEntity(User user, StatefulEntityType type, String reference, String remark) { this.RecordedBy = user; this.Type = type; this.Reference = reference; this.Remark = remark; this.CreatedTS = DateTime.Now; }
public State(StatefulEntityType owner, int category, int seqNo, string code, MultilingualString title, bool isInitial, bool isFinal, Rule onEnterRule, Rule onExitRule) { this.owner = owner; this.category = category; this.seqNo = seqNo; this.code = code; this.title = title; this.isInitialState = isInitial; this.isFinalState = isFinal; this.onEnterRule = onEnterRule; this.onExitRule = onExitRule; this.updatedTS = DateTime.Now; }