Exemplo n.º 1
0
        public static void StoreOutgoing(this IDocumentSession session, PostgresqlSettings settings, Envelope envelope,
                                         int ownerId)
        {
            var operation = new StoreOutgoingEnvelope(settings.OutgoingFullName, envelope, ownerId);

            session.QueueOperation(operation);
        }
        public static void StoreOutgoing(this IDocumentSession session, EnvelopeTables marker, Envelope envelope,
                                         int ownerId)
        {
            var operation = new StoreOutgoingEnvelope(marker.Outgoing, envelope, ownerId);

            session.QueueOperation(operation);
        }