mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-02-14 16:15:13 -05:00
Make fields readonly Remove unnecessary casts Format document Remove unnecessary usings Sort usings Use file-level namespaces Order modifiers
12 lines
286 B
C#
12 lines
286 B
C#
using Microsoft.EntityFrameworkCore.Design;
|
|
|
|
namespace DataLayer.Postgres;
|
|
|
|
public class PostgresContextFactory : IDesignTimeDbContextFactory<LibationContext>
|
|
{
|
|
public LibationContext CreateDbContext(string[] args)
|
|
{
|
|
return LibationContextFactory.CreatePostgres(string.Empty);
|
|
}
|
|
}
|