0.0.6-beta

This commit is contained in:
wei 2021-03-14 20:56:10 +08:00
parent b5a1fd91c1
commit 9a5db9e67a
3 changed files with 6 additions and 3 deletions

View File

@ -54,7 +54,7 @@ using (var stream = File.OpenRead(path))
### Create Excel Xlsx file by ICollection Anonymous Type/Datatable
```C#
var path = Path.Combine(Path.GetTempPath(), $"{Guid.NewGuid()}.xlsx");
MiniExcel.Create(path, new[] {
MiniExcel.SaveAs(path, new[] {
new { Column1 = "MiniExcel", Column2 = 1 },
new { Column1 = "Github", Column2 = 2}
});
@ -71,7 +71,7 @@ var table = new DataTable();
table.Rows.Add("Github", 2);
}
MiniExcel.Create(path, table);
MiniExcel.SaveAs(path, table);
```
Create File Result :

View File

@ -2,6 +2,9 @@
## Release Notes
### 0.0.6-beta
- [Breaking Changes]Replace Create by SavaAs
### 0.0.5-beta
- Release remove `assembly: InternalsVisibleTo`

View File

@ -19,7 +19,7 @@
<RepositoryUrl>https://github.com/shps951023/MiniExcel</RepositoryUrl>
<PackageIconUrl>https://raw.githubusercontent.com/shps951023/ImageHosting/master/img/2019-01-17.13.18.32-image.png</PackageIconUrl>
<TargetFrameworks>net461;netstandard2.0;net5.0</TargetFrameworks>
<Version>0.0.5-beta</Version>
<Version>0.0.6-beta</Version>
<PackageReleaseNotes>Please Check [Release Notes](https://github.com/shps951023/MiniExcel/tree/master/docs)</PackageReleaseNotes>
<RepositoryType>Github</RepositoryType>
</PropertyGroup>