Пример #1
0
 /// <summary>
 /// Gets a 'fresh' or 'vanilla' copy of the current object directly
 /// from the database.
 /// </summary>
 /// <returns>A 'fresh' or 'vanilla' copy of the current object directly
 /// from the database (with the modifications done by the current
 /// transaction, but without the changes that would have been applied
 /// to the current instance and not submitted to the database).</returns>
 public BaseEntity GetVanilla()
 {
     return(EntityResolver.GetEntity(this.entityKey));
 }