using Elsa.Agents.Persistence.EntityFrameworkCore; using Elsa.Agents.Persistence.Features; using JetBrains.Annotations; // ReSharper disable once CheckNamespace namespace Elsa.Agents; /// /// Provides extensions to the feature. /// [PublicAPI] public static class Extensions { /// /// Configures the to use EF Core persistence providers. /// public static AgentPersistenceFeature UseEntityFrameworkCore(this AgentPersistenceFeature feature, Action? configure = default) { feature.Module.Configure(configure); return feature; } }