You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

NpgsqlCompositeMethodCallTranslatorLuticate.cs 733B

1234567891011121314151617181920
  1. using Microsoft.EntityFrameworkCore.Query.ExpressionTranslators;
  2. using Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.Internal;
  3. using Microsoft.Extensions.Logging;
  4. namespace Luticate2.Utils.DataAccess.Npgsql
  5. {
  6. public class NpgsqlCompositeMethodCallTranslatorLuticate : NpgsqlCompositeMethodCallTranslator
  7. {
  8. private static readonly IMethodCallTranslator[] _methodCallTranslators2 =
  9. {
  10. new NpgsqlIntToStringTranslator(),
  11. new NpgsqlStoredProcTranslator()
  12. };
  13. public NpgsqlCompositeMethodCallTranslatorLuticate(ILogger<NpgsqlCompositeMethodCallTranslator> logger) : base(logger)
  14. {
  15. AddTranslators(_methodCallTranslators2);
  16. }
  17. }
  18. }