Castle.ActiveRecord.ActiveRecordBase.Save C# (CSharp) Метод

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

Saves the instance information to the database. May Create or Update the instance depending on whether it has a valid ID.
If within a SessionScope the operation is going to be on hold until NHibernate (or you) decides to flush the session.
public Save ( ) : void
Результат void
		public virtual void Save()
		{
			Save(this);
		}

Same methods

ActiveRecordBase::Save ( object instance ) : void

Usage Example

Пример #1
0
 /// <summary>
 /// Saves the instance to the database
 /// </summary>
 /// <param name="instance">The ActiveRecord instance to be deleted</param>
 public static void Save(object instance)
 {
     ActiveRecordBase.Save(instance);
 }
All Usage Examples Of Castle.ActiveRecord.ActiveRecordBase::Save