# Class PrepareMessageBase

Namespace
  Npgsql.Replication.PgOutput.Messages

Assembly
  Npgsql.dll

Abstract base class for the logical replication protocol begin prepare and prepare message

    public abstract class PrepareMessageBase : PreparedTransactionControlMessage

Inheritance
  object
  ReplicationMessage
  PgOutputReplicationMessage
  TransactionControlMessage
  PreparedTransactionControlMessage
  PrepareMessageBase

Derived
  BeginPrepareMessage
  PrepareMessage
  StreamPrepareMessage

Inherited Members
  PreparedTransactionControlMessage.TransactionGid
  TransactionControlMessage.TransactionXid
  PgOutputReplicationMessage.ToString()
  ReplicationMessage.WalStart
  ReplicationMessage.WalEnd
  ReplicationMessage.ServerClock
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)

## Properties

### PrepareEndLsn

The end LSN of the prepared transaction.

    public NpgsqlLogSequenceNumber PrepareEndLsn { get; }

#### Property Value

NpgsqlLogSequenceNumber

### PrepareLsn

The LSN of the prepare.

    public NpgsqlLogSequenceNumber PrepareLsn { get; }

#### Property Value

NpgsqlLogSequenceNumber

### TransactionPrepareTimestamp

Prepare timestamp of the transaction.

    public DateTime TransactionPrepareTimestamp { get; }

#### Property Value

DateTime