public string TranslateMemberName(IMutableProperty property)
        {
            string name;

            if (property.IsPrimaryKey())
            {
                var entityName = property.FindContainingPrimaryKey().DeclaringEntityType.ClrType.Name;
                name = entityName + "Id";
            }
            else
            {
                name = property.GetColumnName();
                if (property.ClrType == typeof(bool) && name.StartsWith("Is"))
                {
                    name = name.Remove(0, 2);
                }
            }
            return(ConvertToSnakeCaseName(name));
        }
 public static IMutableKey GetContainingPrimaryKey([NotNull] this IMutableProperty property)
 => property.FindContainingPrimaryKey();