【发布时间】:2021-09-20 07:54:33
【问题描述】:
EF 核心中的 DbGeography 等价物是什么?
我想将以下代码从 EF 转换为 EF Core:
using System.Data.Entity.Spatial;
namespace Domain
{
public class City
{
public int CityId { get; set; }
public DbGeography Coordinates { get; set; }
}
}
【问题讨论】:
标签: c# .net-core entity-framework-core spatial