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

Save() public static méthode

Saves the instance to the database
public static Save ( object instance ) : void
instance object The ActiveRecord instance to be deleted
Résultat void
		public static void Save(object instance)
		{
			ActiveRecordBase.Save(instance);
		}

Usage Example

 /// <summary>
 /// Saves the instance to the database
 /// </summary>
 /// <param name="instance"></param>
 public static void Save(T instance)
 {
     ActiveRecordMediator.Save(instance);
 }