public static bool ReadOnly(this IDatabaseContext context) { return context.Configuration.GetBoolean("system.readOnly", false); }