Castle.ActiveRecord.ActiveRecordBase.UpdateAndFlush C# (CSharp) Method

UpdateAndFlush() protected static method

Persists the modification on the instance state to the database and flushes the session.
protected static UpdateAndFlush ( object instance ) : void
instance object The ActiveRecord instance to be updated on the database
return void
		protected internal static void UpdateAndFlush(object instance)
		{
			InternalUpdate(instance, true);
		}

Same methods

ActiveRecordBase::UpdateAndFlush ( ) : void

Usage Example

Exemplo n.º 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);
 }