Пример #1
0
        internal override void Persistent()
        {
            string sql = "INSERT INTO T_ACTION(NID,ID,RelationshipID,Name,InstanceID) VALUES(@NID,@ID,@RelationshipID,@Name,@InstanceID)";

            DapperFactory.CreateWorkflowConnection().Execute(sql, new
            {
                NID            = Guid.NewGuid().ToString(),
                ID             = ID,
                RelationshipID = RelationshipID,
                Name           = Name,
                InstanceID     = InstanceID
            });
        }
Пример #2
0
        internal override void Persistent()
        {
            string sql = "INSERT INTO T_ACTOR(NID,IDENTIFICATION,RNID,APPELLATION,INSTANCEID,OPERATION) VALUES(@NID,@IDENTIFICATION,@RNID,@APPELLATION,@INSTANCEID,@OPERATION)";

            DapperFactory.CreateWorkflowConnection().Execute(sql, new
            {
                NID            = Guid.NewGuid().ToString(),
                IDENTIFICATION = IDENTIFICATION,
                RNID           = RNID,
                APPELLATION    = APPELLATION,
                INSTANCEID     = INSTANCEID,
                OPERATION      = OPERATION
            });
        }