IFlowAction IFlow.CreateAction(IFlowNode from, IFlowNode to) { var act = new FlowAction(Session) { From = (FlowNode)from, To = (FlowNode)to, Caption = "生成" + to.Caption }; act.Flow = this; act.GenerateMapping(CaptionHelper.ApplicationModel.BOModel); return(act); }
IFlowAction IFlow.CreateAction(IFlowNode from, IFlowNode to) { var act = new FlowAction(Session) {From = (FlowNode) from, To = (FlowNode) to, Caption = "生成" + to.Caption}; act.Flow = this; act.Created(); //act.GenerateMapping(CaptionHelper.ApplicationModel.BOModel); return act; }