Clear all existing parameters and copy new parameters from a given origin.
Namespace: NHibernate.ImplAssembly: 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 instanceExceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | If origin is null. |