diff --git a/DB/DbFactory.cs b/DB/DbFactory.cs index fdc72ff..f245517 100644 --- a/DB/DbFactory.cs +++ b/DB/DbFactory.cs @@ -20,7 +20,6 @@ namespace DB PostgreSQLContext context = new PostgreSQLContext(() => { IDbConnection conn = new NpgsqlConnection(RfidSetting.Current.Db); //需要自己引入数据库驱动 - return conn; }); context.Options.ConvertToLowercase = true;