我真的很想在我的Entity Framework Code First数据库项目中使用NodaTime,但是还没有找到一个“干净”的方法来实现它。我真正想做的是这个:
public class Photoshoot
{
public Guid PhotoshootId{get; set;}
public LocalDate ShootDate{get; set;} //ef ignores this property
}
有没有使用NodaTime与EF Code First的支持或推荐方法?