/// <summary> /// Gets the arrow. /// </summary> /// <param name="value">The value.</param> /// <returns></returns> public static string GetArrow(this RelationshipType value) { var attributeValue = (ArrowAttribute)(value.GetType().GetField(value.ToString()).GetCustomAttributes(false).Where((a) => a is ArrowAttribute).FirstOrDefault()); return((attributeValue != null) ? attributeValue.Value : value.ToString()); }