refactor(Infrastructure): update Executor, Migrations and Repositories to be compiled only in .NET
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Dapper;
|
||||
#if NET
|
||||
using Dapper;
|
||||
using EnvelopeGenerator.Application.Common.Interfaces.SQLExecutor;
|
||||
using Microsoft.Data.SqlClient;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
@@ -30,4 +31,5 @@ public class SQLExecutor : ISQLExecutor
|
||||
var sql = Provider.GetRequiredService<TSQL>();
|
||||
return Execute<TEntity>(sql.Raw, parameters, cancellation);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user