Skip to content

Commit af4dea9

Browse files
committed
updated Example
1 parent cbbba21 commit af4dea9

File tree

5 files changed

+30
-6
lines changed

5 files changed

+30
-6
lines changed

Example/Data/Context.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@ protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
2222
{
2323
//Default: JSON-Serialize
2424
//optionsBuilder.UseFileContext();
25-
optionsBuilder.UseFileContext("xml");
2625

2726
//JSON-Serialize + simple Encryption
28-
//optionsBuilder.UseFileContext(new FileContextCore.Serializer.JSONSerializer(), new FileContextCore.FileManager.EncryptedFileManager());
27+
//optionsBuilder.UseFileContext("json", "encrypted");
2928

3029
//XML
31-
//optionsBuilder.UseFileContext(new FileContextCore.Serializer.XMLSerializer());
30+
//optionsBuilder.UseFileContext("xml");
31+
optionsBuilder.UseFileContext("xml", "private");
3232

3333
//CSV
34-
//optionsBuilder.UseFileContext(new FileContextCore.Serializer.CSVSerializer());
34+
//optionsBuilder.UseFileContext("csv");
3535

3636
//Excel
37-
//optionsBuilder.UseFileContext(new FileContextCore.CombinedManager.ExcelManager());
37+
//optionsBuilder.UseFileContext("excel");
3838
}
3939

4040
protected override void OnModelCreating(ModelBuilder modelBuilder)

Example/obj/Release/netcoreapp2.0/Example.csproj.FileListAbsolute.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,16 @@ D:\temp\dev\FileContextCore\Example\obj\Release\netcoreapp2.0\Example.AssemblyIn
1111
D:\temp\dev\FileContextCore\Example\obj\Release\netcoreapp2.0\Example.AssemblyInfo.cs
1212
D:\temp\dev\FileContextCore\Example\obj\Release\netcoreapp2.0\Example.dll
1313
D:\temp\dev\FileContextCore\Example\obj\Release\netcoreapp2.0\Example.pdb
14+
D:\projects\productive\FileContextCore\Example\bin\Release\netcoreapp2.0\Example.deps.json
15+
D:\projects\productive\FileContextCore\Example\bin\Release\netcoreapp2.0\Example.runtimeconfig.json
16+
D:\projects\productive\FileContextCore\Example\bin\Release\netcoreapp2.0\Example.runtimeconfig.dev.json
17+
D:\projects\productive\FileContextCore\Example\bin\Release\netcoreapp2.0\Example.dll
18+
D:\projects\productive\FileContextCore\Example\bin\Release\netcoreapp2.0\Example.pdb
19+
D:\projects\productive\FileContextCore\Example\bin\Release\netcoreapp2.0\FileContextCore.dll
20+
D:\projects\productive\FileContextCore\Example\bin\Release\netcoreapp2.0\FileContextCore.pdb
21+
D:\projects\productive\FileContextCore\Example\obj\Release\netcoreapp2.0\Example.csprojResolveAssemblyReference.cache
22+
D:\projects\productive\FileContextCore\Example\obj\Release\netcoreapp2.0\Example.csproj.CoreCompileInputs.cache
23+
D:\projects\productive\FileContextCore\Example\obj\Release\netcoreapp2.0\Example.AssemblyInfoInputs.cache
24+
D:\projects\productive\FileContextCore\Example\obj\Release\netcoreapp2.0\Example.AssemblyInfo.cs
25+
D:\projects\productive\FileContextCore\Example\obj\Release\netcoreapp2.0\Example.dll
26+
D:\projects\productive\FileContextCore\Example\obj\Release\netcoreapp2.0\Example.pdb
10 Bytes
Binary file not shown.

FileContextCore/obj/Release/FileContextCore.2.0.1.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
</dependencies>
2727
</metadata>
2828
<files>
29-
<file src="D:\temp\dev\FileContextCore\FileContextCore\bin\Release\netcoreapp2.0\FileContextCore.dll" target="lib\netcoreapp2.0\FileContextCore.dll" />
29+
<file src="D:\projects\productive\FileContextCore\FileContextCore\bin\Release\netcoreapp2.0\FileContextCore.dll" target="lib\netcoreapp2.0\FileContextCore.dll" />
3030
</files>
3131
</package>

FileContextCore/obj/Release/netcoreapp2.0/FileContextCore.csproj.FileListAbsolute.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,14 @@ D:\temp\dev\FileContextCore\FileContextCore\obj\Release\netcoreapp2.0\FileContex
99
D:\temp\dev\FileContextCore\FileContextCore\obj\Release\netcoreapp2.0\FileContextCore.AssemblyInfo.cs
1010
D:\temp\dev\FileContextCore\FileContextCore\obj\Release\netcoreapp2.0\FileContextCore.dll
1111
D:\temp\dev\FileContextCore\FileContextCore\obj\Release\netcoreapp2.0\FileContextCore.pdb
12+
D:\projects\productive\FileContextCore\FileContextCore\bin\Release\netcoreapp2.0\FileContextCore.deps.json
13+
D:\projects\productive\FileContextCore\FileContextCore\bin\Release\netcoreapp2.0\FileContextCore.dll
14+
D:\projects\productive\FileContextCore\FileContextCore\bin\Release\netcoreapp2.0\FileContextCore.pdb
15+
D:\projects\productive\FileContextCore\FileContextCore\obj\Release\netcoreapp2.0\FileContextCore.csprojResolveAssemblyReference.cache
16+
D:\projects\productive\FileContextCore\FileContextCore\obj\Release\netcoreapp2.0\FileContextCore.Properties.FileContextStrings.resources
17+
D:\projects\productive\FileContextCore\FileContextCore\obj\Release\netcoreapp2.0\FileContextCore.csproj.GenerateResource.Cache
18+
D:\projects\productive\FileContextCore\FileContextCore\obj\Release\netcoreapp2.0\FileContextCore.csproj.CoreCompileInputs.cache
19+
D:\projects\productive\FileContextCore\FileContextCore\obj\Release\netcoreapp2.0\FileContextCore.AssemblyInfoInputs.cache
20+
D:\projects\productive\FileContextCore\FileContextCore\obj\Release\netcoreapp2.0\FileContextCore.AssemblyInfo.cs
21+
D:\projects\productive\FileContextCore\FileContextCore\obj\Release\netcoreapp2.0\FileContextCore.dll
22+
D:\projects\productive\FileContextCore\FileContextCore\obj\Release\netcoreapp2.0\FileContextCore.pdb

0 commit comments

Comments
 (0)