Apply the Replace(Object, Object, ISessionImplementor, Object, IDictionary, ForeignKeyDirection)
operation across a series of values.
Namespace: NHibernate.TypeAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public static Object[] Replace( Object[] original, Object[] target, IType[] types, ISessionImplementor session, Object owner, IDictionary copyCache, ForeignKeyDirection foreignKeyDirection ) |
Visual Basic |
---|
Public Shared Function Replace ( _ original As Object(), _ target As Object(), _ types As IType(), _ session As ISessionImplementor, _ owner As Object, _ copyCache As IDictionary, _ foreignKeyDirection As ForeignKeyDirection _ ) As Object() |
Visual C++ |
---|
public: static array<Object^>^ Replace( array<Object^>^ original, array<Object^>^ target, array<IType^>^ types, ISessionImplementor^ session, Object^ owner, IDictionary^ copyCache, ForeignKeyDirection^ foreignKeyDirection ) |
Parameters
- original
- Type: array<System..::..Object>[]()[][]
The source of the state
- target
- Type: array<System..::..Object>[]()[][]
The target into which to replace the source values.
- types
- Type: array<NHibernate.Type..::..IType>[]()[][]
The value types
- session
- Type: NHibernate.Engine..::..ISessionImplementor
The originating session
- owner
- Type: System..::..Object
The entity "owning" the values
- copyCache
- Type: System.Collections..::..IDictionary
A map representing a cache of already replaced state
- foreignKeyDirection
- Type: NHibernate.Type..::..ForeignKeyDirection
FK directionality to be applied to the replacement