Ejemplo n.º 1
0
        public virtual void AddData(SequenceResultData sequenceResult)
        {
            Dictionary <string, string> columnToValue = DataModelMapper.GetColumnValueMapping(sequenceResult);
            string cmd = SqlCommandFactory.CreateInsertCmd(DataBaseItemNames.SequenceTableName, columnToValue);

            ExecuteWriteCommand(cmd);
        }
Ejemplo n.º 2
0
        public virtual void AddData(RuntimeStatusData runtimeStatus)
        {
            Dictionary <string, string> columnToValue = DataModelMapper.GetColumnValueMapping(runtimeStatus);
            string cmd = SqlCommandFactory.CreateInsertCmd(DataBaseItemNames.StatusTableName, columnToValue);

            ExecuteWriteCommand(cmd);
        }
Ejemplo n.º 3
0
        public virtual void AddData(TestInstanceData testInstance)
        {
            Dictionary <string, string> columnToValue = DataModelMapper.GetColumnValueMapping(testInstance);
            string cmd = SqlCommandFactory.CreateInsertCmd(DataBaseItemNames.InstanceTableName, columnToValue);

            ExecuteWriteCommand(cmd);
        }