Esempio n. 1
0
        //public IList<Guid> TransactionIds { get; set; }

        //public IList<Guid> ActivityIds { get; set; }
        public override Defination CloneTo(Defination existed = null)
        {
            var entity = existed as BlockDefination;
            if (entity == null) entity = new BlockDefination();
            base.CloneTo(entity);
            entity.StartActivityId = this.StartActivityId;
            entity.FinishActivityId = this.FinishActivityId;
            return entity;
        }
Esempio n. 2
0
 public static BlockDefination FromJson(JObject data, BlockDefination entity = null) {
     if (entity == null) entity = new BlockDefination();
     entity.StartActivityId = new Guid(data["StartActivityId"]);
     entity.FinishActivityId = new Guid(data["FinishActivityId"]);
     return entity;
 }