minh101
minh101
CC#
Created by minh101 on 1/15/2025 in #help
EFCore SQL translate
How to i customize the SQL translate from EF core when add an entity that generate to similry raw SQL like this:
INSERT INTO "users" ("name", "email")
VALUES (
pgp_sym_encrypt('john', '123'),
pgp_sym_encrypt('[email protected]', '123'),
'abc'
)
INSERT INTO "users" ("name", "email")
VALUES (
pgp_sym_encrypt('john', '123'),
pgp_sym_encrypt('[email protected]', '123'),
'abc'
)
3 replies