Organize imports

This commit is contained in:
Zoe Roux 2024-03-26 01:11:55 +01:00
parent ecbf1f5db5
commit 87754ae928
No known key found for this signature in database

View File

@ -17,19 +17,19 @@
// along with Kyoo. If not, see <https://www.gnu.org/licenses/>. // along with Kyoo. If not, see <https://www.gnu.org/licenses/>.
using System; using System;
using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using System.Text.RegularExpressions;
using Dapper;
using EFCore.NamingConventions.Internal; using EFCore.NamingConventions.Internal;
using InterpolatedSql.SqlBuilders;
using Kyoo.Abstractions.Models; using Kyoo.Abstractions.Models;
using Kyoo.Postgresql.Utils;
using Kyoo.Utils;
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Query.SqlExpressions; using Microsoft.EntityFrameworkCore.Query.SqlExpressions;
using Npgsql; using Npgsql;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using Dapper;
using InterpolatedSql.SqlBuilders;
using Kyoo.Postgresql.Utils;
using Kyoo.Utils;
namespace Kyoo.Postgresql; namespace Kyoo.Postgresql;
@ -104,7 +104,6 @@ public class PostgresContext : DatabaseContext
typeMapping: args[0].TypeMapping typeMapping: args[0].TypeMapping
)); ));
SqlMapper.TypeMapProvider = (type) => SqlMapper.TypeMapProvider = (type) =>
{ {
return new CustomPropertyTypeMap( return new CustomPropertyTypeMap(