Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以获得两个模型之间关联的日期时间?
不,它没有内置方法,您必须在任一模型中创建一个 DateTime 字段,并在创建该模型的对象之间的关联时保存该值。