Пример #1
0
        public static ENodeConfiguration UseNpgsqlAggregateSnapshotStore(this ENodeConfiguration enodeConfiguration)
        {
            var configuration = enodeConfiguration.GetCommonConfiguration();

            enodeConfiguration.UseAggregateSnapshotStore <NpgsqlAggregateSnapshotStore>();
            configuration.SetDefault <IAggregateSnapshotRequestFilter, DefaultAggregateSnapshotRequestFilter>((string)null);
            configuration.SetDefault <IAggregateSnapshotRequestQueue, DefaultAggregateSnapshotRequestProcessor>((string)null);
            return(enodeConfiguration);
        }