We can use an inner join for first many-to-many association

Namespace: NHibernate.Loader.Collection
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
protected JoinType GetJoinType(
	IAssociationType type,
	FetchMode config,
	string path,
	ISet visitedAssociations,
	string lhsTable,
	string[] lhsColumns,
	bool nullable,
	int currentDepth
)
Visual Basic
Protected Function GetJoinType ( _
	type As IAssociationType, _
	config As FetchMode, _
	path As String, _
	visitedAssociations As ISet, _
	lhsTable As String, _
	lhsColumns As String(), _
	nullable As Boolean, _
	currentDepth As Integer _
) As JoinType
Visual C++
protected:
JoinType GetJoinType(
	IAssociationType^ type, 
	FetchMode config, 
	String^ path, 
	ISet^ visitedAssociations, 
	String^ lhsTable, 
	array<String^>^ lhsColumns, 
	bool nullable, 
	int currentDepth
)

Parameters

type
Type: NHibernate.Type..::..IAssociationType

[Missing <param name="type"/> documentation for "M:NHibernate.Loader.Collection.BasicCollectionJoinWalker.GetJoinType(NHibernate.Type.IAssociationType,NHibernate.FetchMode,System.String,Iesi.Collections.ISet,System.String,System.String[],System.Boolean,System.Int32)"]

config
Type: NHibernate..::..FetchMode

[Missing <param name="config"/> documentation for "M:NHibernate.Loader.Collection.BasicCollectionJoinWalker.GetJoinType(NHibernate.Type.IAssociationType,NHibernate.FetchMode,System.String,Iesi.Collections.ISet,System.String,System.String[],System.Boolean,System.Int32)"]

path
Type: System..::..String

[Missing <param name="path"/> documentation for "M:NHibernate.Loader.Collection.BasicCollectionJoinWalker.GetJoinType(NHibernate.Type.IAssociationType,NHibernate.FetchMode,System.String,Iesi.Collections.ISet,System.String,System.String[],System.Boolean,System.Int32)"]

visitedAssociations
Type: Iesi.Collections..::..ISet

[Missing <param name="visitedAssociations"/> documentation for "M:NHibernate.Loader.Collection.BasicCollectionJoinWalker.GetJoinType(NHibernate.Type.IAssociationType,NHibernate.FetchMode,System.String,Iesi.Collections.ISet,System.String,System.String[],System.Boolean,System.Int32)"]

lhsTable
Type: System..::..String

[Missing <param name="lhsTable"/> documentation for "M:NHibernate.Loader.Collection.BasicCollectionJoinWalker.GetJoinType(NHibernate.Type.IAssociationType,NHibernate.FetchMode,System.String,Iesi.Collections.ISet,System.String,System.String[],System.Boolean,System.Int32)"]

lhsColumns
Type: array<System..::..String>[]()[][]

[Missing <param name="lhsColumns"/> documentation for "M:NHibernate.Loader.Collection.BasicCollectionJoinWalker.GetJoinType(NHibernate.Type.IAssociationType,NHibernate.FetchMode,System.String,Iesi.Collections.ISet,System.String,System.String[],System.Boolean,System.Int32)"]

nullable
Type: System..::..Boolean

[Missing <param name="nullable"/> documentation for "M:NHibernate.Loader.Collection.BasicCollectionJoinWalker.GetJoinType(NHibernate.Type.IAssociationType,NHibernate.FetchMode,System.String,Iesi.Collections.ISet,System.String,System.String[],System.Boolean,System.Int32)"]

currentDepth
Type: System..::..Int32

[Missing <param name="currentDepth"/> documentation for "M:NHibernate.Loader.Collection.BasicCollectionJoinWalker.GetJoinType(NHibernate.Type.IAssociationType,NHibernate.FetchMode,System.String,Iesi.Collections.ISet,System.String,System.String[],System.Boolean,System.Int32)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Loader.Collection.BasicCollectionJoinWalker.GetJoinType(NHibernate.Type.IAssociationType,NHibernate.FetchMode,System.String,Iesi.Collections.ISet,System.String,System.String[],System.Boolean,System.Int32)"]

See Also