Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions default.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ task Compile -depends Init {
task Clean {
Exec {
dotnet clean $slnfile
Get-ChildItem . -Include obj -Recurse | Remove-Item -Recurse -Force
Get-ChildItem .\src\Dapper.Oracle -Include obj -Recurse | Remove-Item -Recurse -Force
}
}

Expand Down Expand Up @@ -89,15 +89,11 @@ function Write-PaketTemplateFiles()

function Write-VersionInfo($version)
{
$xml = [Xml]@"
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VersionPrefix>1.0.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
</PropertyGroup>
</Project>
"@
[Xml]$xml = Get-Content .\src\Dapper.Oracle\NugetProperties.xml
[string]$releaseNotes = (Get-Content C:\github\Dapper.Oracle\releasenotes.md) -join "`n"

$xml.Project.PropertyGroup.Copyright = [string]::Format("Copyright {0:yyyy} DIPS AS",[DateTime]::Now)
$xml.Project.PropertyGroup.PackageReleaseNotes = $releaseNotes
$xml.Project.PropertyGroup.VersionPrefix = $version.MajorMinorPatch
$xml.Project.PropertyGroup.VersionSuffix = $version.PreReleaseTag
$xml.Save($propertiesFile)
Expand Down
4 changes: 4 additions & 0 deletions releasenotes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Releasenotes

### 0.9.9
- No changes except build system, moving to dotnet pack broke nuget package metadata
### 0.9.8
- Multitarget build for both .net452 and .netstandard2.0
### 0.9.7
- Added Status to OracleParameter, this is returned by some stored procs.
### 0.9.6
Expand Down
20 changes: 20 additions & 0 deletions src/Dapper.Oracle/NugetProperties.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Title>Dapper support for Oracle providers</Title>
<Authors>epaulsen</Authors>
<Copyright>Copyright 2018 DIPS AS</Copyright>
<PackageTags>Dapper;ORM;MicroORM;Oracle</PackageTags>
<Description>Dapper is a great tool if you want to write database-agnostic code.
However, sometimes you need to access functionality that is provider-specific.
This assembly adds support for writing Oracle-specific SQL, that supports all dbtypes used by the Oracle managed provider on a parameter,
supports setting various properties on the command(LOBFetchSize, ArrayBindCount, BindByName), as well as setting CollectionType on the parameter.

Using this package, you can now run stored procedures that returns RefCursor, or use array bind count to execute a sql statements with a array of parameters.</Description>
<PackageLicenseUrl>https://github.com/DIPSASA/Dapper.Oracle/blob/master/LICENSE</PackageLicenseUrl>
<PackageReleaseNotes></PackageReleaseNotes>
<PackageProjectUrl>https://github.com/DIPSASA/Dapper.Oracle/</PackageProjectUrl>
<VersionPrefix>1.0.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
</PropertyGroup>
</Project>