diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-10-21 04:06:23 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-10-21 04:06:23 +0300 |
| commit | e8cec64cf5c35b17fed6a1f8f4ea0665d4ddf39b (patch) | |
| tree | b6818e4199eef7cb0b1e183aaf1af08cdba723e9 /Software/Visual_Studio/PPC/Tango.PPC.Common/DataStore | |
| parent | e54736fabf4338e9f98a7b8aba738180ae57c120 (diff) | |
| download | Tango-e8cec64cf5c35b17fed6a1f8f4ea0665d4ddf39b.tar.gz Tango-e8cec64cf5c35b17fed6a1f8f4ea0665d4ddf39b.zip | |
DataStore EF !
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/DataStore')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/DataStore/DefaultDataStoreService.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/DataStore/DefaultDataStoreService.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/DataStore/DefaultDataStoreService.cs index 02d8e1858..e5bec90f2 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/DataStore/DefaultDataStoreService.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/DataStore/DefaultDataStoreService.cs @@ -7,6 +7,7 @@ using System.Text; using System.Threading.Tasks; using Tango.Core.DI; using Tango.DataStore; +using Tango.DataStore.EF; using Tango.DataStore.Lite; using Tango.DataStore.Remote; using Tango.Integration.ExternalBridge; @@ -34,7 +35,7 @@ namespace Tango.PPC.Common.DataStore { if (_manager == null) { - _manager = new LiteDBDataStoreManager(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Twine", "Tango", "DataStore", Path.GetFileNameWithoutExtension(AppDomain.CurrentDomain.FriendlyName) + ".db")); + _manager = new EFDataStoreManager(); } return _manager; |
