Refresh() public method

Refresh the instance from the database.
public Refresh ( ) : void
return void
コード例 #1
0
 /// <summary>
 /// Refresh the instance from the database.
 /// </summary>
 /// <param name="instance">The ActiveRecord instance to be reloaded</param>
 public static void Refresh(object instance)
 {
     ActiveRecordBase.Refresh(instance);
 }
コード例 #2
0
 /// <summary>
 /// Refresh the instance from the database.
 /// </summary>
 /// <param name="instance">The ActiveRecord instance to be reloaded</param>
 protected internal static void Refresh(T instance)
 {
     ActiveRecordBase.Refresh(instance);
 }