Ejemplo n.º 1
0
 /// <summary>
 ///     The change tracking option that will be used as the default for all JSON column mapped properties.
 /// </summary>
 public virtual MySqlJsonOptionsExtension WithJsonChangeTrackingOptions(MySqlCommonJsonChangeTrackingOptions options)
 => WithJsonChangeTrackingOptions(options.ToJsonChangeTrackingOptions());
 /// <summary>
 /// Sets specific change tracking options for this JSON property, that specify how inner properties or array
 /// elements will be tracked. Applies to simple strings, POCOs and DOM objects. Using `null` restores all
 /// defaults.
 /// </summary>
 /// <param name="property">The JSON property to set the change tracking options for.</param>
 /// <param name="options">The change tracking option to configure for the JSON property.</param>
 public static void SetJsonChangeTrackingOptions([NotNull] this IMutableProperty property, MySqlCommonJsonChangeTrackingOptions?options)
 => property.SetJsonChangeTrackingOptions(options?.ToJsonChangeTrackingOptions());