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

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

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

            ExecuteWriteCommand(cmd);
        }