DeleteAndFlush() публичный Метод

Deletes the instance from 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 DeleteAndFlush ( ) : void
Результат void
Пример #1
0
 /// <summary>
 /// Deletes the instance from the database and flushes the session.
 /// </summary>
 /// <param name="instance">The ActiveRecord instance to be deleted</param>
 public static void DeleteAndFlush(object instance)
 {
     ActiveRecordBase.DeleteAndFlush(instance);
 }