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);
 }