예제 #1
0
        internal ProcessDefinition(BpmContext bpmContext,string xmlString)
        {
            _bpmContext = bpmContext;
            _nodeReader = new NodeReader(this, xmlString);
            _model = new wf_processDefinition() { 
                Xml = xmlString,
                Name = _nodeReader._name,
                Description = _nodeReader._description,
                Version = bpmContext.getProcessDefinitionNextVersion(_nodeReader._name),
                EffectiveDate = DateTime.Now,
                Status = "1"
            };

            _model.Id = bpmContext.save(this);
        }
예제 #2
0
        internal ProcessDefinition(BpmContext bpmContext, string xmlString)
        {
            _bpmContext = bpmContext;
            _nodeReader = new NodeReader(this, xmlString);
            _model      = new wf_processDefinition()
            {
                Xml           = xmlString,
                Name          = _nodeReader._name,
                Description   = _nodeReader._description,
                Version       = bpmContext.getProcessDefinitionNextVersion(_nodeReader._name),
                EffectiveDate = DateTime.Now,
                Status        = "1"
            };

            _model.Id = bpmContext.save(this);
        }
예제 #3
0
 internal ProcessDefinition(BpmContext bpmContext,wf_processDefinition dataProcessDefinition)
 {
     _bpmContext = bpmContext;
     _nodeReader = new NodeReader(this, dataProcessDefinition.Xml);
     _model = dataProcessDefinition;
 }
예제 #4
0
 internal ProcessDefinition(BpmContext bpmContext, wf_processDefinition dataProcessDefinition)
 {
     _bpmContext = bpmContext;
     _nodeReader = new NodeReader(this, dataProcessDefinition.Xml);
     _model      = dataProcessDefinition;
 }