UpdateAndFlush() 공개 메소드

Persists the modification on the instance state to the database.
Even within a SessionScope the operation is going to be flushed immediately. This might have side effects such as flushing (persisting) others operations that were on hold.
public UpdateAndFlush ( ) : void
리턴 void
예제 #1
0
 /// <summary>
 /// Persists the modification on the instance
 /// state to the database and flushes the session.
 /// </summary>
 /// <param name="instance">The ActiveRecord instance to be updated on the database</param>
 public static void UpdateAndFlush(object instance)
 {
     ActiveRecordBase.UpdateAndFlush(instance);
 }