Replicate() protected static méthode

From NHibernate documentation: Persist all reachable transient objects, reusing the current identifier values. Note that this will not trigger the Interceptor of the Session.
protected static Replicate ( object instance, NHibernate.ReplicationMode replicationMode ) : void
instance object The instance.
replicationMode NHibernate.ReplicationMode The replication mode.
Résultat void
Exemple #1
0
 /// <summary>
 /// From NHibernate documentation:
 /// Persist all reachable transient objects, reusing the current identifier
 /// values. Note that this will not trigger the Interceptor of the Session.
 /// </summary>
 /// <param name="instance">The instance.</param>
 /// <param name="replicationMode">The replication mode.</param>
 public static void Replicate(object instance, ReplicationMode replicationMode)
 {
     ActiveRecordBase.Replicate(instance, replicationMode);
 }