Skip to content

Commit

Permalink
Update licensing.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanMagnan authored Jan 3, 2018
1 parent 1e51ac8 commit 0c7647d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/pages/tutorials/licensing.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ The validate method allow you to know whether your license is valid or not.
{% highlight csharp %}
// CHECK if the license if valid for the default provider (SQL Server)
string licenseErrorMessage;
if (!Z.EntityFramework.Extensions.LicenseManager.ValidateLicense(out licenseErrorMessage))
if (!Z.Dapper.Plus.DapperPlusManager.ValidateLicense(out licenseErrorMessage))
{
throw new Exception(licenseErrorMessage);
}

// CHECK if the license if valid for a specific provider
string licenseErrorMessage;
if (!Z.EntityFramework.Extensions.LicenseManager.ValidateLicense(out licenseErrorMessage, ProviderType.SqlServer))
if (!Z.Dapper.Plus.DapperPlusManager.ValidateLicense(out licenseErrorMessage, ProviderType.SqlServer))
{
throw new Exception(licenseErrorMessage);
}
Expand Down

0 comments on commit 0c7647d

Please sign in to comment.