如何在 Entity Framework 中执行此 SQL?

问题描述 投票:0回答:0
SELECT * 
FROM geoip_blocks 
INNER JOIN geoip_locations ON geoip_blocks.geoname_id = geoip_locations.geoname_id
WHERE network >>= '5.39.25.176'::inet;

实体框架如何做到这一点?

context.geoip_blocks
?, 最好不要使用原始 SQL

postgresql entity-framework
© www.soinside.com 2019 - 2024. All rights reserved.