Refresh() public method

Refresh the instance from the database.
public Refresh ( ) : void
return void
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }