Castle.ActiveRecord.ActiveRecordMediator.Update C# (CSharp) Méthode

Update() public static méthode

Persists the modification on the instance state to the database.
public static Update ( object instance ) : void
instance object The ActiveRecord instance to be deleted
Résultat void
		public static void Update(object instance)
		{
			ActiveRecordBase.Update(instance);
		}

Usage Example

 /// <summary>
 /// Persists the modification on the instance
 /// state to the database.
 /// </summary>
 /// <param name="instance"></param>
 public static void Update(T instance)
 {
     ActiveRecordMediator.Update(instance);
 }