/// <summary> /// Sets the <see cref="CharSet"/> in use by the property's column. /// </summary> /// <param name="property">The property to set the <see cref="CharSet"/> for.</param> /// <param name="charSet">The <see cref="CharSet"/> used by the property's column.</param> public static void SetCharSet([NotNull] this IMutableProperty property, CharSet charSet) { if (charSet != null && !property.IsUnicode().HasValue) { property.SetIsUnicode(charSet.IsUnicode); } property.SetOrRemoveAnnotation(MySqlAnnotationNames.CharSet, charSet); }