Пример #1
0
 /// <summary>
 /// Gets a value from an attribute with the specified value key
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="entity">The entity.</param>
 /// <param name="alias">The alias.</param>
 /// <param name="valueKey">The value key.</param>
 /// <returns></returns>
 public static T InnerAttribute <T>(this TypedEntity entity, [MapsToAliasForQuerying] string alias, [MapsToInnerAliasForQuerying] string valueKey)
 {
     return(entity.InnerAttribute <T>(alias, valueKey, default(T)));
 }