Skip to content

Commit

Permalink
Database.Builder is obsolete in favour of CreateBuilder method
Browse files Browse the repository at this point in the history
  • Loading branch information
satano committed Dec 22, 2019
1 parent baf8dc6 commit 5a24cbf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Database.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,14 @@ public partial class Database : IDatabase
/// <summary>
/// Builder for creating <see cref="IDatabase"/> instance.
/// </summary>
[Obsolete("Use CreateBuilder method.")]
public static IDatabaseBuilder Builder => new DatabaseBuilder();

/// <summary>
/// Creates a builder for creating <see cref="IDatabase"/> instance.
/// </summary>
public static IDatabaseBuilder CreateBuilder() => new DatabaseBuilder();

#endregion

#region Private fields
Expand Down

0 comments on commit 5a24cbf

Please sign in to comment.