我有下面許多人在許多Rails的關係刪除網址: class User < ...
has_many :channel_assignments
has_many :channels, :through => :channel_assignments
end
class Channel < ...
has_many :channel_assignments
我遇到了命名查詢參數的問題。我的查詢如下: <sql-query name="getCustomer">
<![CDATA[
select * from customer where customerId=:custId and billId in (:billIdList)
]]>
</sql-query>
我設置的所有參數,但有問題:billIdList每當我設置這個參數,
我來自使用Hibernate的Java端,我只是沒有找到合適的地方把命名查詢放在NHibernate。 使用Visual Studio 2008,C#2008 我有一個查詢 <query name="SchwabAccountList">
from DB_Accounts a
where a.AdminOffCode = 'SWB'
</query>
,我希望把它放在.h