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

Persists the modification on the instance state to the database.
If within a SessionScope the operation is going to be on hold until NHibernate (or you) decides to flush the session.
public Update ( ) : void
Результат void
Пример #1
0
 /// <summary>
 /// Persists the modification on the instance
 /// state to the database.
 /// </summary>
 /// <param name="instance">The ActiveRecord instance to be deleted</param>
 public static void Update(object instance)
 {
     ActiveRecordBase.Update(instance);
 }
Пример #2
0
 public virtual void Update()
 {
     ActiveRecordBase.Update(this);
 }
Пример #3
0
 /// <summary>
 /// Persists the modification on the instance
 /// state to the database.
 /// </summary>
 /// <param name="instance">The ActiveRecord instance to be updated on the database</param>
 protected internal static void Update(T instance)
 {
     ActiveRecordBase.Update(instance);
 }