2010-12-01 19 views
1

我想通過使用FluentNHibernate連接表填充對象中的屬性。FluentNhibernate WithTable vs加入

我試圖做的正是這個鏈​​接概述了: http://www.codeinsanity.com/2009/05/fluentnhibernate-mappings-join.html

的問題是我沒有WithTable在我的映射類一個可行的方法。我的映射類是這樣定義的:

public abstract class BaseObjectMap<TObject> : ClassMap<TObject> where TObject : BaseObject 

所以我想我的問題是哪裏是WithTable?

我還看到使用Join方法的參考。 Join和WithTable有什麼區別?

回答

3

WithTable是什麼Join約1.5年前被稱爲。