Exemple #1
0
        /// <summary>
        /// 数据适配器更改(插入,更新,删除)
        /// </summary>
        /// <param name="sqlText"></param>
        /// <param name="dataSet"></param>
        /// <param name="sequence"></param>
        /// <returns></returns>
        public void SequentialSetAsync(byte[] data)
        {
            var param   = data.Decompress <IContractData>();
            var context = new Tuple <int, string[], DataSet[]>(302, param.SqlText, param.DataSet);

            SequencerEntry.AccessAsync(_adoClientName, context, param.Sequence);
        }
Exemple #2
0
        public void SequentialExecuteProcedureAsync(byte[] data)
        {
            var context = data.ToContextParam(204, out var sequence);

            SequencerEntry.AccessAsync(_sqlClientName, context, sequence);
        }
Exemple #3
0
        public void SequentialDeleteAsync(byte[] data)
        {
            var context = data.ToContextParam(104, out var sequence);

            SequencerEntry.AccessAsync(_sqlClientName, context, sequence);
        }