BO4E/BO/BusinessObject.cs
/// <summary>
///     Same as <see cref="GetBoKeyNames(Type)" /> but allows static calling with a Business Object Type provided.
/// </summary>
/// <param name="boType">Business Object Type</param>
/// <returns>A list just like the result of <see cref="GetBoKeyNames(Type)" /></returns>
Same as  but allows static calling with a Business Object Type provided.
Same as but allows static calling with a Business Object Type provided .
public static List<string> GetBoKeyNames(Type boType)
        {
            var result = new List<string>();
            foreach (var pi in GetBoKeyProps(boType))
            {
                var jpa = pi.GetCustomAttribute<JsonPropertyAttribute>();
                result.Add(jpa?.PropertyName != null ? jpa.PropertyName : pi.Name);
            }
            return result;
        }
public static List < string > GetBoKeyNames ( Type boType ) { var result = new List < string > ( ) ; foreach ( var pi in GetBoKeyProps ( boType ) ) { var jpa = pi . GetCustomAttribute < JsonPropertyAttribute > ( ) ; result . Add ( jpa ? . PropertyName != null ? jpa . PropertyName : pi . Name ) ; } return result ; }
Same as  but allows static calling with a Business Object Type provided.
Same as but allows static calling with a Business Object Type provided .
A list just like the result of
A list just like the result of
boType
Type
Business Object Type
Business Object Type