public static void AddEFCore(this IContainer container, DefaultLifeStyleOption defaultDbContextLifeStyle) { var efCoreFacility = new EFCoreFacility(defaultDbContextLifeStyle); efCoreFacility.Init(container); }
public static void AddEFCore(this IContainer container) { var efCoreFacility = new EFCoreFacility(); efCoreFacility.Init(container); }