public virtual void CopyPropertyFacets(
            [NotNull] Property relationalProperty, [NotNull] Property codeGenProperty)
        {
            Check.NotNull(relationalProperty, nameof(relationalProperty));
            Check.NotNull(codeGenProperty, nameof(codeGenProperty));

            foreach (var annotation in
                     relationalProperty.Annotations.Where(a => !IgnoredAnnotations.Contains(a.Name)))
            {
                codeGenProperty.AddAnnotation(annotation.Name, annotation.Value);
            }

            codeGenProperty.IsNullable     = relationalProperty.IsNullable;
            codeGenProperty.ValueGenerated = relationalProperty.ValueGenerated;
        }
 private IEnumerable <string> GetAnnotationNamespaces(IEnumerable <IAnnotatable> items)
 => from i in items
 from a in i.Annotations
     where a.Value != null && !IgnoredAnnotations.Contains(a.Name)
 select a.Value.GetType().Namespace;