public virtual void AddHeadersParameter(IConnectionFactory connectionFactory, IDbConnection connection, IDbStatement cmd,
     byte[] headers)
 {
     cmd.AddParameter(Headers, headers);
 }
 public void AddParameter(string name, object value, DbType?parameterType = null)
 {
     _innerStatement.AddParameter(name, value, parameterType);
 }
 public override void AddHeadersParameter(IConnectionFactory connectionFactory, IDbConnection connection, IDbStatement cmd,
     byte[] headers)
 {
     cmd.AddParameter(Headers, ToString(headers), DbType.Object);
 }
 public virtual void AddPayloadParamater(IConnectionFactory connectionFactory, IDbConnection connection, IDbStatement cmd, byte[] payload)
 {
     cmd.AddParameter(Payload, payload);
 }
 public override void AddPayloadParamater(IConnectionFactory connectionFactory, IDbConnection connection, IDbStatement cmd,
     byte[] payload)
 {
     cmd.AddParameter(Payload, ToString(payload), DbType.Object);
 }
Exemple #6
0
 public virtual void AddPayloadParamater(IConnectionFactory connectionFactory, IDbAsyncConnection connection, IDbStatement cmd, byte[] payload)
 {
     cmd.AddParameter(Payload, payload);
 }
 public virtual void AddHeadersParameter(IConnectionFactory connectionFactory, IDbConnection connection, IDbStatement cmd, byte[] payload)
 {
     cmd.AddParameter(Headers, payload);
 }
 public override void AddHeadersParameter(IConnectionFactory connectionFactory, IDbConnection connection, IDbStatement cmd, byte[] headers)
 {
     cmd.AddParameter(Headers, ToString(headers), DbType.Object);
 }
 public override void AddPayloadParameter(IConnectionFactory connectionFactory, IDbConnection connection, IDbStatement cmd, byte[] payload)
 {
     cmd.AddParameter(Payload, ToString(payload), DbType.Object);
 }