Clear all existing parameters and copy new parameters from a given origin.

Namespace: NHibernate.Impl
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public IDetachedQuery CopyParametersFrom(
	IDetachedQueryImplementor origin
)
Visual Basic
Public Function CopyParametersFrom ( _
	origin As IDetachedQueryImplementor _
) As IDetachedQuery
Visual C++
public:
IDetachedQuery^ CopyParametersFrom(
	IDetachedQueryImplementor^ origin
)

Parameters

origin
Type: NHibernate.Impl..::..IDetachedQueryImplementor
The origin of parameters.

Return Value

The current instance

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionIf origin is null.

See Also