private static void UpdateAnnotation(IShamanAnnotatable annotatable, string collation, IShamanLogger logger,
                                      string target)
 {
     if (string.IsNullOrEmpty(collation))
     {
         return;
     }
     logger.Log(nameof(SqlServerReflectionService),
                $"Set annotation['{Ck}']='{collation}' for {target}");
     annotatable.Annotations[Ck] = collation;
 }
 public static string GetStringAnnotation(this IShamanAnnotatable annotatable, string key)
 {
     if (annotatable == null)
     {
         return(null);
     }
     if (annotatable.Annotations.TryGetValue(key, out var value))
     {
         return(value as string);
     }
     return(null);
 }