API Diff between 0.7.0 and 0.0.1
56 Additions
8 Removals
OpenSleigh.Persistence.Mongo
-
public class DbContext : IDbContext
-
public interface IDbContext
-
public interface ISagaStateSerializer
-
public class JsonSagaStateSerializer : ISagaStateSerializer
-
public static class MongoBusConfiguratorExtensions
-
public class MongoConfiguration : IEquatable<MongoConfiguration>
- public MongoSagaStateRepositoryOptions RepositoryOptions { get; set; }
- public MongoConfiguration(string ConnectionString, string DbName, MongoSagaStateRepositoryOptions RepositoryOptions)
- public MongoOutboxRepositoryOptions OutboxRepositoryOptions { get; set; }
- public MongoSagaStateRepositoryOptions SagaRepositoryOptions { get; set; }
- public MongoConfiguration(string ConnectionString, string DbName, MongoSagaStateRepositoryOptions SagaRepositoryOptions, MongoOutboxRepositoryOptions OutboxRepositoryOptions)
- public void Deconstruct(out string ConnectionString, out string DbName, out MongoSagaStateRepositoryOptions RepositoryOptions)
- public void Deconstruct(out string ConnectionString, out string DbName, out MongoSagaStateRepositoryOptions SagaRepositoryOptions, out MongoOutboxRepositoryOptions OutboxRepositoryOptions)
-
public static class MongoSagaConfiguratorExtensions
-
public class MongoSagaStateRepository : ISagaStateRepository
- public MongoSagaStateRepository(IDbContext dbContext, ISagaStateSerializer sagaStateSerializer, MongoSagaStateRepositoryOptions options)
- public MongoSagaStateRepository(IDbContext dbContext, ISerializer serializer, MongoSagaStateRepositoryOptions options)
- public Task UpdateAsync<TD>(TD state, Guid lockId, bool releaseLock = false, CancellationToken cancellationToken = default) where TD : SagaState
- public Task ReleaseLockAsync<TD>(TD state, Guid lockId, ITransaction transaction = null, CancellationToken cancellationToken = default) where TD : SagaState
-
public class MongoUnitOfWork : IUnitOfWork
OpenSleigh.Persistence.Mongo.Entities
-
public class OutboxMessage : IEquatable<OutboxMessage>
- public byte[] Data { get; set; }
- protected virtual Type EqualityContract { get; }
- public Guid Id { get; set; }
- public Guid? LockId { get; set; }
- public DateTime? LockTime { get; set; }
- public DateTime? PublishingDate { get; set; }
- public string Status { get; set; }
- public string Type { get; set; }
- public OutboxMessage(Guid Id, byte[] Data, string Type, string Status, DateTime? PublishingDate = default, Guid? LockId = default, DateTime? LockTime = default)
- protected OutboxMessage(OutboxMessage original)
- public static bool op_Equality(OutboxMessage r1, OutboxMessage r2)
- public static bool op_Inequality(OutboxMessage r1, OutboxMessage r2)
- public virtual OutboxMessage <Clone>$()
- public void Deconstruct(out Guid Id, out byte Data, out string Type, out string Status, out Nullable PublishingDate, out Nullable LockId, out Nullable LockTime)
- public virtual bool Equals(OutboxMessage other)
- protected virtual bool PrintMembers(StringBuilder builder)
OpenSleigh.Persistence.Mongo.Messaging
OpenSleigh.Persistence.Mongo.Utils