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.
是否可以设置在 NHibernate 映射文件中使用的默认排序列?除非明确定义,否则我想自动按名称列对所有特定实体进行排序。
我已经看到它可以在集合上完成,但这不是我在这种情况下所追求的。
不,这在 NHibernate 映射上下文中没有意义,因为顺序始终取决于您执行查询的方式;定义“默认顺序”将毫无意义。
相反,在 DAO/Repository 基类中执行此操作。
$('.sign_in').closest('#page_canvas').css('marginTop','54px');
This line keeps throwing the error:
Uncaught TypeError: Object #<Object> has no m