Skip to content

Commit

Permalink
NuGet v1.4.3, expose Type property on DatabaseClient
Browse files Browse the repository at this point in the history
  • Loading branch information
jchristn committed Aug 21, 2019
1 parent d74f8d5 commit aedb5a6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
11 changes: 11 additions & 0 deletions DatabaseWrapper/DatabaseClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ public class DatabaseClient : IDisposable
{
#region Public-Members

/// <summary>
/// The type of database.
/// </summary>
public DbTypes Type
{
get
{
return _DbType;
}
}

/// <summary>
/// The connection string used to connect to the database server.
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions DatabaseWrapper/DatabaseWrapper.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net452</TargetFrameworks>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>1.4.2</Version>
<Version>1.4.3</Version>
<Authors>Joel Christner</Authors>
<Company>Joel Christner</Company>
<Description>Simple database wrapper for Microsoft SQL Server, MySQL, and PostgreSQL written in C# supporting dynamic query building and nesting using expressions.</Description>
Expand All @@ -12,7 +12,7 @@
<RepositoryUrl>https://github.com/jchristn/DatabaseWrapper</RepositoryUrl>
<RepositoryType>Github</RepositoryType>
<PackageLicenseUrl>https://github.com/jchristn/DatabaseWrapper/blob/master/LICENSE.txt</PackageLicenseUrl>
<PackageReleaseNotes>Encapsulate table names in queries</PackageReleaseNotes>
<PackageReleaseNotes>Expose 'type' property</PackageReleaseNotes>
<PackageTags>database sql mysql mssql pgsql postgresql dynamic query builder datarow datatable</PackageTags>
<PackageIconUrl>https://raw.githubusercontent.com/jchristn/databasewrapper/master/assets/icon.ico</PackageIconUrl>
</PropertyGroup>
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Core features:

## New in v1.4.x

- Expose ```Type``` property in ```DatabaseClient```
- Encapsulate table names in queries with the appropriate characters
- Microsoft SQL: ``` [tablename] ```
- MySQL: ``` `tablename` ```
Expand Down

0 comments on commit aedb5a6

Please sign in to comment.