Example #1
0
 /// <summary>
 ///
 /// </summary>
 /// <typeparam name="EntityType"></typeparam>
 /// <typeparam name="TKey"></typeparam>
 /// <param name="key"></param>
 /// <returns></returns>
 public virtual EntityType LoadEntity <EntityType, TKey>(TKey key) where EntityType : class
 {
     return(services.LoadEntityByKey <EntityType, TKey>()(this, key));
 }