logo
  • 教程列表
  • SO官方文檔
  • QueryOver 查詢
    • 基本查詢
    • 使用 JoinQueryOver 進行連線查詢
    • 使用 JoinAlias 進行連線查詢
  1. StackOverflow 文件
  2. nhibernate 教程
  3. QueryOver 查詢
  4. 使用 JoinQueryOver 進行連線查詢

使用 JoinQueryOver 進行連線查詢

Created: November-22, 2018

要加入並例如過濾聯接表,請使用 JoinQueryOver。

IList<Customer> customers = session.QueryOver<Customer>()
    .Inner.JoinQueryOver(x => x.Organisation)
    .Where(y => y.Name == "Acme Inc")
    .List();
  • 使用 JoinAlias 進行連線查詢
  • 基本查詢

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明