Skip to content

Commit

Permalink
Correct obsoletion message (#24615)
Browse files Browse the repository at this point in the history
  • Loading branch information
roji committed Apr 17, 2021
1 parent d39bb8f commit 3b38e3c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public sealed record RelationalDatabaseCreatorDependencies
/// <summary>
/// Gets the model for the context this creator is being used with.
/// </summary>
[Obsolete("Use CurrentContext.Context.DesignTimeModel instead")]
[Obsolete("Use CurrentContext.Context.GetService<IDesignTimeModel>().Model instead")]
public IModel Model { get; init; }

/// <summary>
Expand Down

0 comments on commit 3b38e3c

Please sign in to comment.