Browse Source

添加程序运行期间监控

yuzhengyang 7 years ago
parent
commit
cd00ddd262
87 changed files with 852 additions and 102708 deletions
  1. BIN
      Fork.Net/.vs/Fork.Net/v15/Server/sqlite3/storage.ide
  2. BIN
      Fork.Net/.vs/Fork.Net/v15/sqlite3/storage.ide
  3. 3 10
      Fork.Net/Azylee.Utils/Azylee.BlackBox/App.config
  4. 7 33
      Fork.Net/Azylee.Utils/Azylee.BlackBox/Azylee.BlackBox.csproj
  5. 0 16
      Fork.Net/Azylee.Utils/Azylee.BlackBox/DBEngine/Configuration.cs
  6. 0 15
      Fork.Net/Azylee.Utils/Azylee.BlackBox/DBEngine/Mapping.cs
  7. 0 178
      Fork.Net/Azylee.Utils/Azylee.BlackBox/DBEngine/Muse.cs
  8. 0 37
      Fork.Net/Azylee.Utils/Azylee.BlackBox/DBEngine/SuperDb.cs
  9. 13 29
      Fork.Net/Azylee.Utils/Azylee.BlackBox/Models/RunningStatus.cs
  10. 108 0
      Fork.Net/Azylee.Utils/Azylee.BlackBox/Utils/BlackBoxTool.cs
  11. 0 9
      Fork.Net/Azylee.Utils/Azylee.BlackBox/packages.config
  12. 52 0
      Fork.Net/Azylee.Utils/Azylee.Core/AppUtils/AppInfoTool.cs
  13. 2 0
      Fork.Net/Azylee.Utils/Azylee.Core/Azylee.Core.csproj
  14. 20 0
      Fork.Net/Azylee.Utils/Azylee.Core/WindowsUtils/InfoUtils/ComputerInfoTool.cs
  15. 29 0
      Fork.Net/Azylee.Utils/Azylee.Core/WindowsUtils/InfoUtils/ComputerStatusTool.cs
  16. 11 0
      Fork.Net/Fork.Net.sln
  17. 86 0
      Fork.Net/Test/Test.BlackBox/Form1.Designer.cs
  18. 32 0
      Fork.Net/Test/Test.BlackBox/Form1.cs
  19. 120 0
      Fork.Net/Test/Test.BlackBox/Form1.resx
  20. 21 0
      Fork.Net/Test/Test.BlackBox/Program.cs
  21. 36 0
      Fork.Net/Test/Test.BlackBox/Properties/AssemblyInfo.cs
  22. 71 0
      Fork.Net/Test/Test.BlackBox/Properties/Resources.Designer.cs
  23. 117 0
      Fork.Net/Test/Test.BlackBox/Properties/Resources.resx
  24. 30 0
      Fork.Net/Test/Test.BlackBox/Properties/Settings.Designer.cs
  25. 7 0
      Fork.Net/Test/Test.BlackBox/Properties/Settings.settings
  26. 87 0
      Fork.Net/Test/Test.BlackBox/Test.BlackBox.csproj
  27. BIN
      Fork.Net/packages/SQLite.CodeFirst.1.5.1.25/SQLite.CodeFirst.1.5.1.25.nupkg
  28. BIN
      Fork.Net/packages/SQLite.CodeFirst.1.5.1.25/lib/net40/SQLite.CodeFirst.dll
  29. BIN
      Fork.Net/packages/SQLite.CodeFirst.1.5.1.25/lib/net45/SQLite.CodeFirst.dll
  30. BIN
      Fork.Net/packages/System.Data.SQLite.1.0.108.0/System.Data.SQLite.1.0.108.0.nupkg
  31. BIN
      Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/System.Data.SQLite.Core.1.0.108.0.nupkg
  32. BIN
      Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net20/System.Data.SQLite.dll
  33. 0 20
      Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net20/System.Data.SQLite.dll.config
  34. 0 20387
      Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net20/System.Data.SQLite.xml
  35. BIN
      Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net40/System.Data.SQLite.dll
  36. 0 20
      Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net40/System.Data.SQLite.dll.config
  37. 0 20387
      Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net40/System.Data.SQLite.xml
  38. BIN
      Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net45/System.Data.SQLite.dll
  39. 0 20
      Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net45/System.Data.SQLite.dll.config
  40. 0 20387
      Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net45/System.Data.SQLite.xml
  41. BIN
      Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net451/System.Data.SQLite.dll
  42. 0 20
      Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net451/System.Data.SQLite.dll.config
  43. 0 20387
      Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net451/System.Data.SQLite.xml
  44. BIN
      Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net46/System.Data.SQLite.dll
  45. 0 20
      Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net46/System.Data.SQLite.dll.config
  46. 0 20387
      Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net46/System.Data.SQLite.xml
  47. BIN
      Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/System.Data.SQLite.EF6.1.0.108.0.nupkg
  48. 0 12
      Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net40/app.config.install.xdt
  49. 0 11
      Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net40/app.config.transform
  50. 0 12
      Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net40/web.config.install.xdt
  51. 0 11
      Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net40/web.config.transform
  52. 0 12
      Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net45/app.config.install.xdt
  53. 0 11
      Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net45/app.config.transform
  54. 0 12
      Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net45/web.config.install.xdt
  55. 0 11
      Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net45/web.config.transform
  56. 0 12
      Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net451/app.config.install.xdt
  57. 0 11
      Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net451/app.config.transform
  58. 0 12
      Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net451/web.config.install.xdt
  59. 0 11
      Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net451/web.config.transform
  60. 0 12
      Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net46/app.config.install.xdt
  61. 0 11
      Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net46/app.config.transform
  62. 0 12
      Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net46/web.config.install.xdt
  63. 0 11
      Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net46/web.config.transform
  64. BIN
      Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/lib/net40/System.Data.SQLite.EF6.dll
  65. BIN
      Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/lib/net45/System.Data.SQLite.EF6.dll
  66. BIN
      Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/lib/net451/System.Data.SQLite.EF6.dll
  67. BIN
      Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/lib/net46/System.Data.SQLite.EF6.dll
  68. 0 13
      Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/tools/net40/install.ps1
  69. 0 13
      Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/tools/net45/install.ps1
  70. 0 13
      Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/tools/net451/install.ps1
  71. 0 13
      Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/tools/net46/install.ps1
  72. BIN
      Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/System.Data.SQLite.Linq.1.0.108.0.nupkg
  73. 0 11
      Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/content/net20/app.config.transform
  74. 0 11
      Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/content/net20/web.config.transform
  75. 0 11
      Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/content/net40/app.config.transform
  76. 0 11
      Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/content/net40/web.config.transform
  77. 0 11
      Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/content/net45/app.config.transform
  78. 0 11
      Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/content/net45/web.config.transform
  79. 0 11
      Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/content/net451/app.config.transform
  80. 0 11
      Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/content/net451/web.config.transform
  81. 0 11
      Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/content/net46/app.config.transform
  82. 0 11
      Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/content/net46/web.config.transform
  83. BIN
      Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/lib/net20/System.Data.SQLite.Linq.dll
  84. BIN
      Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/lib/net40/System.Data.SQLite.Linq.dll
  85. BIN
      Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/lib/net45/System.Data.SQLite.Linq.dll
  86. BIN
      Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/lib/net451/System.Data.SQLite.Linq.dll
  87. BIN
      Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/lib/net46/System.Data.SQLite.Linq.dll

BIN
Fork.Net/.vs/Fork.Net/v15/Server/sqlite3/storage.ide


BIN
Fork.Net/.vs/Fork.Net/v15/sqlite3/storage.ide


+ 3 - 10
Fork.Net/Azylee.Utils/Azylee.BlackBox/App.config

@@ -2,7 +2,7 @@
 <configuration>
   <configSections>
     <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
-    <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
+    
   </configSections>
   <connectionStrings>
     <add name="DefaultConnection" connectionString="data source=|DataDirectory|\BlackBox.db" providerName="System.Data.SQLite" />
@@ -15,16 +15,9 @@
     </defaultConnectionFactory>
     <providers>
       <provider invariantName="System.Data.SQLite" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
-      <provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
       <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
+      <provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
     </providers>
   </entityFramework>
-  <system.data>
-    <DbProviderFactories>
-      <remove invariant="System.Data.SQLite.EF6" />
-      <add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
-      <remove invariant="System.Data.SQLite" />
-      <add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
-    </DbProviderFactories>
-  </system.data>
+  
 </configuration>

+ 7 - 33
Fork.Net/Azylee.Utils/Azylee.BlackBox/Azylee.BlackBox.csproj

@@ -32,27 +32,11 @@
     <WarningLevel>4</WarningLevel>
   </PropertyGroup>
   <ItemGroup>
-    <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
-      <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net40\EntityFramework.dll</HintPath>
-    </Reference>
-    <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
-      <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net40\EntityFramework.SqlServer.dll</HintPath>
-    </Reference>
-    <Reference Include="SQLite.CodeFirst, Version=1.5.1.25, Culture=neutral, PublicKeyToken=eb96ba0a78d831a7, processorArchitecture=MSIL">
-      <HintPath>..\..\packages\SQLite.CodeFirst.1.5.1.25\lib\net40\SQLite.CodeFirst.dll</HintPath>
-    </Reference>
     <Reference Include="System" />
     <Reference Include="System.ComponentModel.DataAnnotations" />
     <Reference Include="System.Core" />
-    <Reference Include="System.Data.SQLite, Version=1.0.108.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
-      <HintPath>..\..\packages\System.Data.SQLite.Core.1.0.108.0\lib\net40\System.Data.SQLite.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Data.SQLite.EF6, Version=1.0.108.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
-      <HintPath>..\..\packages\System.Data.SQLite.EF6.1.0.108.0\lib\net40\System.Data.SQLite.EF6.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Data.SQLite.Linq, Version=1.0.108.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
-      <HintPath>..\..\packages\System.Data.SQLite.Linq.1.0.108.0\lib\net40\System.Data.SQLite.Linq.dll</HintPath>
-    </Reference>
+    <Reference Include="System.Drawing" />
+    <Reference Include="System.Windows.Forms" />
     <Reference Include="System.Xml.Linq" />
     <Reference Include="System.Data.DataSetExtensions" />
     <Reference Include="Microsoft.CSharp" />
@@ -60,33 +44,23 @@
     <Reference Include="System.Xml" />
   </ItemGroup>
   <ItemGroup>
-    <Compile Include="DBEngine\Configuration.cs" />
-    <Compile Include="DBEngine\Mapping.cs" />
-    <Compile Include="DBEngine\Muse.cs" />
-    <Compile Include="DBEngine\SuperDb.cs" />
     <Compile Include="Models\ExceptionLogs.cs" />
     <Compile Include="Models\RunningStatus.cs" />
     <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="Utils\BlackBoxTool.cs" />
   </ItemGroup>
   <ItemGroup>
     <None Include="App.config" />
-    <None Include="packages.config">
-      <SubType>Designer</SubType>
-    </None>
   </ItemGroup>
-  <ItemGroup />
   <ItemGroup>
+    <ProjectReference Include="..\Azylee.Core.Plus\Azylee.Core.Plus.csproj">
+      <Project>{915ae524-7efd-4ecc-b731-de1d1f5558f0}</Project>
+      <Name>Azylee.Core.Plus</Name>
+    </ProjectReference>
     <ProjectReference Include="..\Azylee.Core\Azylee.Core.csproj">
       <Project>{88dc61fa-95f0-41b7-9d7d-ab0f3cbd169c}</Project>
       <Name>Azylee.Core</Name>
     </ProjectReference>
   </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
-  <Import Project="..\..\packages\System.Data.SQLite.Core.1.0.108.0\build\net40\System.Data.SQLite.Core.targets" Condition="Exists('..\..\packages\System.Data.SQLite.Core.1.0.108.0\build\net40\System.Data.SQLite.Core.targets')" />
-  <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
-    <PropertyGroup>
-      <ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
-    </PropertyGroup>
-    <Error Condition="!Exists('..\..\packages\System.Data.SQLite.Core.1.0.108.0\build\net40\System.Data.SQLite.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\System.Data.SQLite.Core.1.0.108.0\build\net40\System.Data.SQLite.Core.targets'))" />
-  </Target>
 </Project>

+ 0 - 16
Fork.Net/Azylee.Utils/Azylee.BlackBox/DBEngine/Configuration.cs

@@ -1,16 +0,0 @@
-using System.Data.Entity.Migrations;
-
-namespace Azylee.BlackBox.DBEngine
-{
-    public class Configuration : DbMigrationsConfiguration<SuperDb>
-    {
-        public Configuration()
-        {
-            AutomaticMigrationsEnabled = true;
-            AutomaticMigrationDataLossAllowed = true;
-            //SetSqlGenerator("System.Data.SQLite", new SQLiteMigrationSqlGenerator());
-        }
-        protected override void Seed(SuperDb context)
-        { }
-    }
-}

+ 0 - 15
Fork.Net/Azylee.Utils/Azylee.BlackBox/DBEngine/Mapping.cs

@@ -1,15 +0,0 @@
-using Azylee.BlackBox.Models;
-using System.ComponentModel.DataAnnotations.Schema;
-using System.Data.Entity.Infrastructure.Annotations;
-using System.Data.Entity.ModelConfiguration;
-
-namespace Azylee.BlackBox.DBEngine
-{
-    public class RunningStatusMap : EntityTypeConfiguration<RunningStatus>
-    {
-        public RunningStatusMap()
-        {
-            //this.Property(o => o.Id).HasColumnAnnotation("Index", new IndexAnnotation(new IndexAttribute() { IsUnique = true }));
-        }
-    }
-}

+ 0 - 178
Fork.Net/Azylee.Utils/Azylee.BlackBox/DBEngine/Muse.cs

@@ -1,178 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Data.Entity;
-using System.Data.Entity.Infrastructure;
-using System.Linq;
-using System.Linq.Expressions;
-
-namespace Azylee.BlackBox.DBEngine
-{
-    class Muse : IDisposable
-    {
-        public SuperDb Context;
-        public Muse()
-        {
-            Context = new SuperDb();
-        }
-
-        public int Add<T>(T EntityObj, bool isSave = true) where T : class
-        {
-            try
-            {
-                this.Context.Set<T>().Add(EntityObj);
-                if (isSave)
-                {
-                    return Save();
-                }
-            }
-            catch (Exception e) { }
-            return 0;
-        }
-        public int Adds<T>(IEnumerable<T> EntityObjs) where T : class
-        {
-            try
-            {
-                Context.Set<T>().AddRange(EntityObjs);
-                return Save();
-            }
-            catch (Exception e)
-            {
-                return 0;
-            }
-        }
-        public int Del<T>(T EntityObj, bool isSave) where T : class
-        {
-            try
-            {
-                this.Context.Set<T>().Remove(EntityObj);
-                if (isSave)
-                {
-                    return Save();
-                }
-            }
-            catch (Exception e) { }
-            return 0;
-        }
-        public int Dels<T>(IEnumerable<T> EntityObjs) where T : class
-        {
-            try
-            {
-                this.Context.Set<T>().RemoveRange(EntityObjs);
-                return Save();
-            }
-            catch (Exception e) { }
-            return 0;
-        }
-        public int Update<T>(T EntityObj, bool isSave) where T : class
-        {
-            try
-            {
-                this.Context.Entry(EntityObj).State = EntityState.Modified;
-                if (isSave)
-                {
-                    return Save();
-                }
-            }
-            catch (Exception e) { }
-            return 0;
-        }
-        public int Save()
-        {
-            return Context.SaveChanges();
-        }
-
-        public T Get<T>(Expression<Func<T, bool>> expression, string[] include) where T : class
-        {
-            try
-            {
-                if (include != null && include.Count() > 0)
-                {
-                    DbQuery<T> query = GetInclude<T>(include);
-                    if (query != null)
-                        return query.FirstOrDefault(expression);
-                }
-                return this.Context.Set<T>().FirstOrDefault(expression);
-            }
-            catch (Exception e)
-            {
-            }
-            return null;
-        }
-        public IEnumerable<T> Gets<T>(Expression<Func<T, bool>> expression, string[] include) where T : class
-        {
-            try
-            {
-                if (include != null && include.Count() > 0)
-                {
-                    DbQuery<T> query = GetInclude<T>(include);
-                    if (query != null)
-                        return query.Where(expression).ToList();
-                }
-            }
-            catch (Exception)
-            {
-                throw;
-            }
-            return Context.Set<T>().Where(expression).ToList();
-        }
-        public IEnumerable<T> GetAll<T>(string[] include, bool track) where T : class
-        {
-            if (include != null && include.Count() > 0)
-            {
-                DbQuery<T> query = GetInclude<T>(include);
-                if (query != null)
-                    if (track)
-                        return query.ToList();
-                    else
-                        return query.AsNoTracking().ToList();
-            }
-            if (!track)
-                Context.Set<T>().AsNoTracking().ToList();
-            return Context.Set<T>().ToList();
-        }
-        private DbQuery<T> GetInclude<T>(string[] include) where T : class
-        {
-            DbQuery<T> searchCondition = null;
-            foreach (var item in include)
-            {
-                if (searchCondition == null)
-                    searchCondition = this.Context.Set<T>().Include(item);
-                else
-                    searchCondition = searchCondition.Include(item);
-            }
-            return searchCondition;
-        }
-
-        public bool Any<T>(Expression<Func<T, bool>> expression, string[] include) where T : class
-        {
-            try
-            {
-                if (include != null && include.Count() > 0)
-                {
-                    DbQuery<T> query = GetInclude<T>(include);
-                    if (query != null)
-                        return query.Any(expression);
-                }
-                return this.Context.Set<T>().Any(expression);
-            }
-            catch (Exception e)
-            {
-            }
-            return false;
-        }
-        public DbSet<T> Do<T>() where T : class
-        {
-            return Context.Set<T>();
-        }
-        public IEnumerable<T> ExecuteSqlCom<T, U>(string sql, U paramObjs)
-            where U : class
-            where T : class
-        {
-            return Context.Set<T>().SqlQuery(sql, paramObjs);
-        }
-        public void Dispose()
-        {
-            Context.Dispose();
-        }
-    }
-}

+ 0 - 37
Fork.Net/Azylee.Utils/Azylee.BlackBox/DBEngine/SuperDb.cs

@@ -1,37 +0,0 @@
-using SQLite.CodeFirst;
-using System.Data.Entity;
-using System.Data.Entity.ModelConfiguration.Conventions;
-
-namespace Azylee.BlackBox.DBEngine
-{
-    public class SuperDb : DbContext
-    {
-        public SuperDb() : base(@"DefaultConnection")
-        {
-            Database.SetInitializer(new MigrateDatabaseToLatestVersion<SuperDb, Configuration>());
-        }
-
-        protected override void OnModelCreating(DbModelBuilder modelBuilder)
-        {
-            modelBuilder.Conventions.Remove<PluralizingTableNameConvention>();
-            modelBuilder.Configurations.AddFromAssembly(typeof(SuperDb).Assembly);
-
-            //Database.SetInitializer(new MyDbInitializer(Database.Connection.ConnectionString, modelBuilder));
-        }
-
-        public class MyDbInitializer : SqliteCreateDatabaseIfNotExists<SuperDb>//SqliteDropCreateDatabaseAlways
-        {
-            public MyDbInitializer(string connectionString, DbModelBuilder modelBuilder)
-                : base(modelBuilder)
-            {
-                Database.SetInitializer(new MigrateDatabaseToLatestVersion<SuperDb, Configuration>());
-            }
-
-            protected override void Seed(SuperDb context)
-            {
-                //context.Set<Files>().Add(new Files { FileName = "123" });
-                base.Seed(context);
-            }
-        }
-    }
-}

+ 13 - 29
Fork.Net/Azylee.Utils/Azylee.BlackBox/Models/RunningStatus.cs

@@ -11,57 +11,41 @@ namespace Azylee.BlackBox.Models
     public class RunningStatus
     {
         /// <summary>
-        /// 主键
+        /// 时间
         /// </summary>
-        public Guid Id { get; set; }
+        public DateTime Time { get; set; }
         /// <summary>
-        /// 开始时间
+        /// 统计时长
         /// </summary>
-        public DateTime BeginTime { get; set; }
-        /// <summary>
-        /// 结束时间
-        /// </summary>
-        public DateTime EndTime { get; set; }
+        public int Long { get; set; }
         /// <summary>
         /// 脱机时长
         /// </summary>
-        public long AfkTime { get; set; }
-        /// <summary>
-        /// 操作使用率
-        /// </summary>
-        public double OperationUtilization { get; set; }
+        public long AFK { get; set; }
         /// <summary>
         /// Cpu使用率
         /// </summary>
-        public double CpuUtilization { get; set; }
+        public double CpuPer { get; set; }
         /// <summary>
         /// 内存容量
         /// </summary>
-        public long RamCapacity { get; set; }
+        public long RamSize { get; set; }
         /// <summary>
-        /// 用内存
+        /// 用内存
         /// </summary>
-        public long RamUsed { get; set; }
-        /// <summary>
-        /// 内存使用率
-        /// </summary>
-        public double RamUtilization { get; set; }
+        public long RamFree { get; set; }
         /// <summary>
         /// 系统盘容量
         /// </summary>
-        public long SysDriveCapacity { get; set; }
-        /// <summary>
-        /// 已用系统盘容量
-        /// </summary>
-        public long SysDriveUsed { get; set; }
+        public long SysDriveSize { get; set; }
         /// <summary>
-        /// 系统盘使用率
+        /// 可用系统盘容量
         /// </summary>
-        public double SysDriveUtilization { get; set; }
+        public long SysDriveFree { get; set; }
         /// <summary>
         /// 应用程序Cpu使用率
         /// </summary>
-        public double AppCpuUtilization { get; set; }
+        public double AppCpuPer { get; set; }
         /// <summary>
         /// 应用程序占用内存
         /// </summary>

+ 108 - 0
Fork.Net/Azylee.Utils/Azylee.BlackBox/Utils/BlackBoxTool.cs

@@ -0,0 +1,108 @@
+using Azylee.BlackBox.Models;
+using Azylee.Core.AppUtils;
+using Azylee.Core.IOUtils.DirUtils;
+using Azylee.Core.IOUtils.TxtUtils;
+using Azylee.Core.Plus.DataUtils.JsonUtils;
+using Azylee.Core.WindowsUtils.APIUtils;
+using Azylee.Core.WindowsUtils.InfoUtils;
+using System;
+using System.Threading;
+using System.Threading.Tasks;
+
+namespace Azylee.BlackBox.Utils
+{
+    public sealed class BlackBoxTool
+    {
+        #region 单例模式
+        private static BlackBoxTool _BlackBoxTool;
+        private static readonly object syncObject = new object();
+        private BlackBoxTool() { }
+        public static BlackBoxTool Instance
+        {
+            get
+            {
+                if (_BlackBoxTool == null)
+                    lock (syncObject)
+                        if (_BlackBoxTool == null)
+                            _BlackBoxTool = new BlackBoxTool();
+                return _BlackBoxTool;
+            }
+        }
+        #endregion
+        DateTime Time = DateTime.Now;
+        int Interval = 1 * 1000;
+        Task Listener = null;
+        CancellationTokenSource CancelToken = new CancellationTokenSource();
+        public bool Start()
+        {
+            //如果任务停止运行,则重新创建Token,并释放上次任务
+            if (Listener != null && Listener.Status != TaskStatus.Running)
+            {
+                try
+                {
+                    CancelToken = new CancellationTokenSource();
+                    Listener.Dispose();
+                }
+                catch { }
+            }
+            //如果任务没取消,并且没有运行任务,则运行任务
+            if (!CancelToken.IsCancellationRequested && (Listener == null || Listener.Status != TaskStatus.Running))
+            {
+                Listener = Task.Factory.StartNew(() =>
+                {
+                    try
+                    {
+                        //using (Muse db = new Muse())
+                        //{
+                        //    CollectData(db);
+                        while (!CancelToken.IsCancellationRequested)
+                        {
+                            Time = DateTime.Now;
+                            Thread.Sleep(Interval);
+                            CollectData();
+                        }
+                        //}
+                    }
+                    catch { }
+                }, CancelToken.Token);
+                return true;
+            }
+            return false;
+        }
+        public bool Stop()
+        {
+            try
+            {
+                if (!CancelToken.IsCancellationRequested)
+                {
+                    CancelToken.Cancel();
+                }
+                return true;
+            }
+            catch { return false; }
+        }
+        private void CollectData()
+        {
+            try
+            {
+                RunningStatus status = new RunningStatus()
+                {
+                    Time = Time,
+                    Long = Interval,
+                    AFK = WindowsAPI.GetLastInputTime(),
+                    CpuPer = ComputerStatusTool.CpuUtilization(),
+                    RamSize = (long)ComputerInfoTool.TotalPhysicalMemory(),
+                    RamFree = (long)ComputerInfoTool.AvailablePhysicalMemory(),
+                    SysDriveSize = ComputerInfoTool.GetSystemDriveTotalSize(),
+                    SysDriveFree = ComputerInfoTool.GetSystemDriveAvailableSize(),
+                    AppCpuPer = AppInfoTool.CPU(),
+                    AppRamUsed = AppInfoTool.RAM(),
+                };
+                TxtTool.Append(
+                    DirTool.Combine(AppDomain.CurrentDomain.BaseDirectory, "BlackBox-Status.txt"),
+                    JsonTool.ToStr(status));
+            }
+            catch { }
+        }
+    }
+}

+ 0 - 9
Fork.Net/Azylee.Utils/Azylee.BlackBox/packages.config

@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<packages>
-  <package id="EntityFramework" version="6.2.0" targetFramework="net40" />
-  <package id="SQLite.CodeFirst" version="1.5.1.25" targetFramework="net40" />
-  <package id="System.Data.SQLite" version="1.0.108.0" targetFramework="net40" />
-  <package id="System.Data.SQLite.Core" version="1.0.108.0" targetFramework="net40" />
-  <package id="System.Data.SQLite.EF6" version="1.0.108.0" targetFramework="net40" />
-  <package id="System.Data.SQLite.Linq" version="1.0.108.0" targetFramework="net40" />
-</packages>

+ 52 - 0
Fork.Net/Azylee.Utils/Azylee.Core/AppUtils/AppInfoTool.cs

@@ -0,0 +1,52 @@
+using System;
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Linq;
+using System.Text;
+
+namespace Azylee.Core.AppUtils
+{
+    public class AppInfoTool
+    {
+        /// <summary>
+        /// 读取APP占用CPU
+        /// </summary>
+        /// <returns></returns>
+        public static double CPU()
+        {
+            double value = 0;
+            Process p = null;
+            PerformanceCounter processor = null;
+            try
+            {
+                p = Process.GetCurrentProcess();
+                processor = new PerformanceCounter("Process", "% Processor Time", p.ProcessName);
+                value = processor.NextValue();
+            }
+            catch { }
+            finally
+            {
+                processor?.Dispose();
+                p?.Dispose();
+            }
+            return value;
+        }
+        /// <summary>
+        /// 读取APP占用内存
+        /// </summary>
+        /// <returns></returns>
+        public static long RAM()
+        {
+            long value = 0;
+            Process p = null;
+            try
+            {
+                p = Process.GetCurrentProcess();
+                value = p.WorkingSet64;
+            }
+            catch { }
+            finally { p?.Dispose(); }
+            return value;
+        }
+    }
+}

+ 2 - 0
Fork.Net/Azylee.Utils/Azylee.Core/Azylee.Core.csproj

@@ -40,6 +40,7 @@
     <Reference Include="System.Xml" />
   </ItemGroup>
   <ItemGroup>
+    <Compile Include="AppUtils\AppInfoTool.cs" />
     <Compile Include="AppUtils\AppLaunchTool.cs" />
     <Compile Include="AppUtils\AppSettleTool.cs" />
     <Compile Include="AppUtils\AppUnique.cs" />
@@ -87,6 +88,7 @@
     <Compile Include="WindowsUtils\APIUtils\SystemSleepAPI.cs" />
     <Compile Include="WindowsUtils\APIUtils\WindowsAPI.cs" />
     <Compile Include="WindowsUtils\InfoUtils\ComputerInfoTool.cs" />
+    <Compile Include="WindowsUtils\InfoUtils\ComputerStatusTool.cs" />
     <Compile Include="WindowsUtils\InfoUtils\NetcardInfoTool.cs" />
     <Compile Include="WindowsUtils\RegisterUtils\RegisterTool.cs" />
     <Compile Include="WindowsUtils\ShortcutUtils\ShortcutTool.cs" />

+ 20 - 0
Fork.Net/Azylee.Utils/Azylee.Core/WindowsUtils/InfoUtils/ComputerInfoTool.cs

@@ -424,5 +424,25 @@ namespace Azylee.Core.WindowsUtils.InfoUtils
             catch { }
             return 0;
         }
+        /// <summary>
+        /// 获取系统盘可用容量
+        /// </summary>
+        /// <returns></returns>
+        public static long GetSystemDriveAvailableSize()
+        {
+            long size = 0;
+            try
+            {
+                var osinfo = OsInfo();
+                if (osinfo != null)
+                {
+                    string drive = osinfo.Item2.Substring(0, 1);
+                    DriveInfo Drive = new DriveInfo(drive);
+                    size = Drive.TotalFreeSpace;
+                }
+            }
+            catch { }
+            return size;
+        }
     }
 }

+ 29 - 0
Fork.Net/Azylee.Utils/Azylee.Core/WindowsUtils/InfoUtils/ComputerStatusTool.cs

@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Linq;
+using System.Text;
+
+namespace Azylee.Core.WindowsUtils.InfoUtils
+{
+    public class ComputerStatusTool
+    {
+        /// <summary>
+        /// CPU占用率
+        /// </summary>
+        /// <returns></returns>
+        public static double CpuUtilization()
+        {
+            double value = 0;
+            PerformanceCounter processor = null;
+            try
+            {
+                processor = new PerformanceCounter("Processor", "% Processor Time", "_Total");
+                value = processor.NextValue();
+            }
+            catch { }
+            finally { processor?.Dispose(); }
+            return value;
+        }
+    }
+}

+ 11 - 0
Fork.Net/Fork.Net.sln

@@ -83,6 +83,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test.RaiseOtherApp", "Test\
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azylee.BlackBox", "Azylee.Utils\Azylee.BlackBox\Azylee.BlackBox.csproj", "{6B84AB76-94B9-4DAE-B168-A6E216DD54F0}"
 EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test.BlackBox", "Test\Test.BlackBox\Test.BlackBox.csproj", "{6C69CF15-398D-4030-AA90-C617E52DC016}"
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug|Any CPU = Debug|Any CPU
@@ -371,6 +373,14 @@ Global
 		{6B84AB76-94B9-4DAE-B168-A6E216DD54F0}.Release|Any CPU.Build.0 = Release|Any CPU
 		{6B84AB76-94B9-4DAE-B168-A6E216DD54F0}.Release|x86.ActiveCfg = Release|Any CPU
 		{6B84AB76-94B9-4DAE-B168-A6E216DD54F0}.Release|x86.Build.0 = Release|Any CPU
+		{6C69CF15-398D-4030-AA90-C617E52DC016}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{6C69CF15-398D-4030-AA90-C617E52DC016}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{6C69CF15-398D-4030-AA90-C617E52DC016}.Debug|x86.ActiveCfg = Debug|Any CPU
+		{6C69CF15-398D-4030-AA90-C617E52DC016}.Debug|x86.Build.0 = Debug|Any CPU
+		{6C69CF15-398D-4030-AA90-C617E52DC016}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{6C69CF15-398D-4030-AA90-C617E52DC016}.Release|Any CPU.Build.0 = Release|Any CPU
+		{6C69CF15-398D-4030-AA90-C617E52DC016}.Release|x86.ActiveCfg = Release|Any CPU
+		{6C69CF15-398D-4030-AA90-C617E52DC016}.Release|x86.Build.0 = Release|Any CPU
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE
@@ -410,6 +420,7 @@ Global
 		{3AB4B914-CCD0-48C9-8106-75A8FE542ACC} = {A89FC45A-A907-4487-8719-114530A62684}
 		{79FCD171-33AC-47BF-B8A7-C19D365D2983} = {A89FC45A-A907-4487-8719-114530A62684}
 		{6B84AB76-94B9-4DAE-B168-A6E216DD54F0} = {C34A95B5-5F83-46E3-868A-56BDDA2D0B87}
+		{6C69CF15-398D-4030-AA90-C617E52DC016} = {A89FC45A-A907-4487-8719-114530A62684}
 	EndGlobalSection
 	GlobalSection(ExtensibilityGlobals) = postSolution
 		SolutionGuid = {5436696D-5F55-490A-AB40-050B54BE2AB4}

+ 86 - 0
Fork.Net/Test/Test.BlackBox/Form1.Designer.cs

@@ -0,0 +1,86 @@
+namespace Test.BlackBox
+{
+    partial class Form1
+    {
+        /// <summary>
+        /// 必需的设计器变量。
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// 清理所有正在使用的资源。
+        /// </summary>
+        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows 窗体设计器生成的代码
+
+        /// <summary>
+        /// 设计器支持所需的方法 - 不要修改
+        /// 使用代码编辑器修改此方法的内容。
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.BTStartBB = new System.Windows.Forms.Button();
+            this.textBox1 = new System.Windows.Forms.TextBox();
+            this.BTStopBB = new System.Windows.Forms.Button();
+            this.SuspendLayout();
+            // 
+            // BTStartBB
+            // 
+            this.BTStartBB.Location = new System.Drawing.Point(363, 54);
+            this.BTStartBB.Name = "BTStartBB";
+            this.BTStartBB.Size = new System.Drawing.Size(75, 23);
+            this.BTStartBB.TabIndex = 0;
+            this.BTStartBB.Text = "启动黑匣子";
+            this.BTStartBB.UseVisualStyleBackColor = true;
+            this.BTStartBB.Click += new System.EventHandler(this.BTStartBB_Click);
+            // 
+            // textBox1
+            // 
+            this.textBox1.Location = new System.Drawing.Point(13, 13);
+            this.textBox1.Multiline = true;
+            this.textBox1.Name = "textBox1";
+            this.textBox1.Size = new System.Drawing.Size(297, 340);
+            this.textBox1.TabIndex = 1;
+            // 
+            // BTStopBB
+            // 
+            this.BTStopBB.Location = new System.Drawing.Point(444, 54);
+            this.BTStopBB.Name = "BTStopBB";
+            this.BTStopBB.Size = new System.Drawing.Size(75, 23);
+            this.BTStopBB.TabIndex = 2;
+            this.BTStopBB.Text = "停止黑匣子";
+            this.BTStopBB.UseVisualStyleBackColor = true;
+            this.BTStopBB.Click += new System.EventHandler(this.BTStopBB_Click);
+            // 
+            // Form1
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(553, 365);
+            this.Controls.Add(this.BTStopBB);
+            this.Controls.Add(this.textBox1);
+            this.Controls.Add(this.BTStartBB);
+            this.Name = "Form1";
+            this.Text = "Form1";
+            this.ResumeLayout(false);
+            this.PerformLayout();
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.Button BTStartBB;
+        private System.Windows.Forms.TextBox textBox1;
+        private System.Windows.Forms.Button BTStopBB;
+    }
+}
+

+ 32 - 0
Fork.Net/Test/Test.BlackBox/Form1.cs

@@ -0,0 +1,32 @@
+using Azylee.BlackBox.Utils;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+
+namespace Test.BlackBox
+{
+    public partial class Form1 : Form
+    {
+        public Form1()
+        {
+            InitializeComponent();
+        }
+
+        private void BTStartBB_Click(object sender, EventArgs e)
+        {
+            bool flag = BlackBoxTool.Instance.Start();
+            textBox1.AppendText(Environment.NewLine + (flag ? "启动成功" : "启动失败"));
+        }
+
+        private void BTStopBB_Click(object sender, EventArgs e)
+        {
+            bool flag = BlackBoxTool.Instance.Stop();
+            textBox1.AppendText(Environment.NewLine + (flag ? "停止成功" : "停止失败"));
+        }
+    }
+}

+ 120 - 0
Fork.Net/Test/Test.BlackBox/Form1.resx

@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>

+ 21 - 0
Fork.Net/Test/Test.BlackBox/Program.cs

@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Windows.Forms;
+
+namespace Test.BlackBox
+{
+    static class Program
+    {
+        /// <summary>
+        /// 应用程序的主入口点。
+        /// </summary>
+        [STAThread]
+        static void Main()
+        {
+            Application.EnableVisualStyles();
+            Application.SetCompatibleTextRenderingDefault(false);
+            Application.Run(new Form1());
+        }
+    }
+}

+ 36 - 0
Fork.Net/Test/Test.BlackBox/Properties/AssemblyInfo.cs

@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// 有关程序集的一般信息由以下
+// 控制。更改这些特性值可修改
+// 与程序集关联的信息。
+[assembly: AssemblyTitle("Test.BlackBox")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Test.BlackBox")]
+[assembly: AssemblyCopyright("Copyright ©  2018")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// 将 ComVisible 设置为 false 会使此程序集中的类型
+//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
+//请将此类型的 ComVisible 特性设置为 true。
+[assembly: ComVisible(false)]
+
+// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
+[assembly: Guid("6c69cf15-398d-4030-aa90-c617e52dc016")]
+
+// 程序集的版本信息由下列四个值组成: 
+//
+//      主版本
+//      次版本
+//      生成号
+//      修订号
+//
+// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
+// 方法是按如下所示使用“*”: :
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

+ 71 - 0
Fork.Net/Test/Test.BlackBox/Properties/Resources.Designer.cs

@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     此代码由工具生成。
+//     运行时版本: 4.0.30319.42000
+//
+//     对此文件的更改可能导致不正确的行为,如果
+//     重新生成代码,则所做更改将丢失。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace Test.BlackBox.Properties
+{
+
+
+    /// <summary>
+    ///   强类型资源类,用于查找本地化字符串等。
+    /// </summary>
+    // 此类是由 StronglyTypedResourceBuilder
+    // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
+    // 若要添加或删除成员,请编辑 .ResX 文件,然后重新运行 ResGen
+    // (以 /str 作为命令选项),或重新生成 VS 项目。
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+    internal class Resources
+    {
+
+        private static global::System.Resources.ResourceManager resourceMan;
+
+        private static global::System.Globalization.CultureInfo resourceCulture;
+
+        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+        internal Resources()
+        {
+        }
+
+        /// <summary>
+        ///   返回此类使用的缓存 ResourceManager 实例。
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Resources.ResourceManager ResourceManager
+        {
+            get
+            {
+                if ((resourceMan == null))
+                {
+                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Test.BlackBox.Properties.Resources", typeof(Resources).Assembly);
+                    resourceMan = temp;
+                }
+                return resourceMan;
+            }
+        }
+
+        /// <summary>
+        ///   覆盖当前线程的 CurrentUICulture 属性
+        ///   使用此强类型的资源类的资源查找。
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Globalization.CultureInfo Culture
+        {
+            get
+            {
+                return resourceCulture;
+            }
+            set
+            {
+                resourceCulture = value;
+            }
+        }
+    }
+}

+ 117 - 0
Fork.Net/Test/Test.BlackBox/Properties/Resources.resx

@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>

+ 30 - 0
Fork.Net/Test/Test.BlackBox/Properties/Settings.Designer.cs

@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace Test.BlackBox.Properties
+{
+
+
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
+    internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+    {
+
+        private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+        public static Settings Default
+        {
+            get
+            {
+                return defaultInstance;
+            }
+        }
+    }
+}

+ 7 - 0
Fork.Net/Test/Test.BlackBox/Properties/Settings.settings

@@ -0,0 +1,7 @@
+<?xml version='1.0' encoding='utf-8'?>
+<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
+  <Profiles>
+    <Profile Name="(Default)" />
+  </Profiles>
+  <Settings />
+</SettingsFile>

+ 87 - 0
Fork.Net/Test/Test.BlackBox/Test.BlackBox.csproj

@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{6C69CF15-398D-4030-AA90-C617E52DC016}</ProjectGuid>
+    <OutputType>WinExe</OutputType>
+    <RootNamespace>Test.BlackBox</RootNamespace>
+    <AssemblyName>Test.BlackBox</AssemblyName>
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Deployment" />
+    <Reference Include="System.Drawing" />
+    <Reference Include="System.Windows.Forms" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Form1.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="Form1.Designer.cs">
+      <DependentUpon>Form1.cs</DependentUpon>
+    </Compile>
+    <Compile Include="Program.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <EmbeddedResource Include="Form1.resx">
+      <DependentUpon>Form1.cs</DependentUpon>
+    </EmbeddedResource>
+    <EmbeddedResource Include="Properties\Resources.resx">
+      <Generator>ResXFileCodeGenerator</Generator>
+      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <Compile Include="Properties\Resources.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DependentUpon>Resources.resx</DependentUpon>
+    </Compile>
+    <None Include="Properties\Settings.settings">
+      <Generator>SettingsSingleFileGenerator</Generator>
+      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
+    </None>
+    <Compile Include="Properties\Settings.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DependentUpon>Settings.settings</DependentUpon>
+      <DesignTimeSharedInput>True</DesignTimeSharedInput>
+    </Compile>
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\Azylee.Utils\Azylee.BlackBox\Azylee.BlackBox.csproj">
+      <Project>{6b84ab76-94b9-4dae-b168-a6e216dd54f0}</Project>
+      <Name>Azylee.BlackBox</Name>
+    </ProjectReference>
+    <ProjectReference Include="..\..\Azylee.Utils\Azylee.Core\Azylee.Core.csproj">
+      <Project>{88dc61fa-95f0-41b7-9d7d-ab0f3cbd169c}</Project>
+      <Name>Azylee.Core</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+</Project>

BIN
Fork.Net/packages/SQLite.CodeFirst.1.5.1.25/SQLite.CodeFirst.1.5.1.25.nupkg


BIN
Fork.Net/packages/SQLite.CodeFirst.1.5.1.25/lib/net40/SQLite.CodeFirst.dll


BIN
Fork.Net/packages/SQLite.CodeFirst.1.5.1.25/lib/net45/SQLite.CodeFirst.dll


BIN
Fork.Net/packages/System.Data.SQLite.1.0.108.0/System.Data.SQLite.1.0.108.0.nupkg


BIN
Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/System.Data.SQLite.Core.1.0.108.0.nupkg


BIN
Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net20/System.Data.SQLite.dll


+ 0 - 20
Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net20/System.Data.SQLite.dll.config

@@ -1,20 +0,0 @@
-<?xml version="1.0"?>
-<!--
- *
- * System.Data.SQLite.dll.config -
- *
- * WARNING: This XML configuration file is intended for use within the NuGet
- *          package directories only.  Please do not copy this file to any of
- *          the build output directories because it could interfere with the
- *          native library pre-loading feature.
- *
- * Written by Joe Mistachkin.
- * Released to the public domain, use at your own risk!
- *
--->
-<configuration>
-  <appSettings>
-    <add key="PreLoadSQLite_BaseDirectory"
-         value="%PreLoadSQLite_AssemblyDirectory%\..\..\build\%PreLoadSQLite_TargetFramework%" />
-  </appSettings>
-</configuration>

File diff suppressed because it is too large
+ 0 - 20387
Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net20/System.Data.SQLite.xml


BIN
Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net40/System.Data.SQLite.dll


+ 0 - 20
Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net40/System.Data.SQLite.dll.config

@@ -1,20 +0,0 @@
-<?xml version="1.0"?>
-<!--
- *
- * System.Data.SQLite.dll.config -
- *
- * WARNING: This XML configuration file is intended for use within the NuGet
- *          package directories only.  Please do not copy this file to any of
- *          the build output directories because it could interfere with the
- *          native library pre-loading feature.
- *
- * Written by Joe Mistachkin.
- * Released to the public domain, use at your own risk!
- *
--->
-<configuration>
-  <appSettings>
-    <add key="PreLoadSQLite_BaseDirectory"
-         value="%PreLoadSQLite_AssemblyDirectory%\..\..\build\%PreLoadSQLite_TargetFramework%" />
-  </appSettings>
-</configuration>

File diff suppressed because it is too large
+ 0 - 20387
Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net40/System.Data.SQLite.xml


BIN
Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net45/System.Data.SQLite.dll


+ 0 - 20
Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net45/System.Data.SQLite.dll.config

@@ -1,20 +0,0 @@
-<?xml version="1.0"?>
-<!--
- *
- * System.Data.SQLite.dll.config -
- *
- * WARNING: This XML configuration file is intended for use within the NuGet
- *          package directories only.  Please do not copy this file to any of
- *          the build output directories because it could interfere with the
- *          native library pre-loading feature.
- *
- * Written by Joe Mistachkin.
- * Released to the public domain, use at your own risk!
- *
--->
-<configuration>
-  <appSettings>
-    <add key="PreLoadSQLite_BaseDirectory"
-         value="%PreLoadSQLite_AssemblyDirectory%\..\..\build\%PreLoadSQLite_TargetFramework%" />
-  </appSettings>
-</configuration>

File diff suppressed because it is too large
+ 0 - 20387
Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net45/System.Data.SQLite.xml


BIN
Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net451/System.Data.SQLite.dll


+ 0 - 20
Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net451/System.Data.SQLite.dll.config

@@ -1,20 +0,0 @@
-<?xml version="1.0"?>
-<!--
- *
- * System.Data.SQLite.dll.config -
- *
- * WARNING: This XML configuration file is intended for use within the NuGet
- *          package directories only.  Please do not copy this file to any of
- *          the build output directories because it could interfere with the
- *          native library pre-loading feature.
- *
- * Written by Joe Mistachkin.
- * Released to the public domain, use at your own risk!
- *
--->
-<configuration>
-  <appSettings>
-    <add key="PreLoadSQLite_BaseDirectory"
-         value="%PreLoadSQLite_AssemblyDirectory%\..\..\build\%PreLoadSQLite_TargetFramework%" />
-  </appSettings>
-</configuration>

File diff suppressed because it is too large
+ 0 - 20387
Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net451/System.Data.SQLite.xml


BIN
Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net46/System.Data.SQLite.dll


+ 0 - 20
Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net46/System.Data.SQLite.dll.config

@@ -1,20 +0,0 @@
-<?xml version="1.0"?>
-<!--
- *
- * System.Data.SQLite.dll.config -
- *
- * WARNING: This XML configuration file is intended for use within the NuGet
- *          package directories only.  Please do not copy this file to any of
- *          the build output directories because it could interfere with the
- *          native library pre-loading feature.
- *
- * Written by Joe Mistachkin.
- * Released to the public domain, use at your own risk!
- *
--->
-<configuration>
-  <appSettings>
-    <add key="PreLoadSQLite_BaseDirectory"
-         value="%PreLoadSQLite_AssemblyDirectory%\..\..\build\%PreLoadSQLite_TargetFramework%" />
-  </appSettings>
-</configuration>

File diff suppressed because it is too large
+ 0 - 20387
Fork.Net/packages/System.Data.SQLite.Core.1.0.108.0/lib/net46/System.Data.SQLite.xml


BIN
Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/System.Data.SQLite.EF6.1.0.108.0.nupkg


+ 0 - 12
Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net40/app.config.install.xdt

@@ -1,12 +0,0 @@
-<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
-  <system.data>
-    <DbProviderFactories>
-      <remove xdt:Transform="RemoveAll"
-              xdt:Locator="Condition(@invariant='System.Data.SQLite' or
-                                     @invariant='System.Data.SQLite.Linq')" />
-      <add xdt:Transform="RemoveAll"
-           xdt:Locator="Condition(@invariant='System.Data.SQLite' or
-                                  @invariant='System.Data.SQLite.Linq')" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

+ 0 - 11
Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net40/app.config.transform

@@ -1,11 +0,0 @@
-<configuration>
-  <system.data>
-    <DbProviderFactories>
-      <remove invariant="System.Data.SQLite.EF6" />
-      <add name="SQLite Data Provider (Entity Framework 6)"
-           invariant="System.Data.SQLite.EF6"
-           description=".NET Framework Data Provider for SQLite (Entity Framework 6)"
-           type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

+ 0 - 12
Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net40/web.config.install.xdt

@@ -1,12 +0,0 @@
-<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
-  <system.data>
-    <DbProviderFactories>
-      <remove xdt:Transform="RemoveAll"
-              xdt:Locator="Condition(@invariant='System.Data.SQLite' or
-                                     @invariant='System.Data.SQLite.Linq')" />
-      <add xdt:Transform="RemoveAll"
-           xdt:Locator="Condition(@invariant='System.Data.SQLite' or
-                                  @invariant='System.Data.SQLite.Linq')" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

+ 0 - 11
Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net40/web.config.transform

@@ -1,11 +0,0 @@
-<configuration>
-  <system.data>
-    <DbProviderFactories>
-      <remove invariant="System.Data.SQLite.EF6" />
-      <add name="SQLite Data Provider (Entity Framework 6)"
-           invariant="System.Data.SQLite.EF6"
-           description=".NET Framework Data Provider for SQLite (Entity Framework 6)"
-           type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

+ 0 - 12
Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net45/app.config.install.xdt

@@ -1,12 +0,0 @@
-<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
-  <system.data>
-    <DbProviderFactories>
-      <remove xdt:Transform="RemoveAll"
-              xdt:Locator="Condition(@invariant='System.Data.SQLite' or
-                                     @invariant='System.Data.SQLite.Linq')" />
-      <add xdt:Transform="RemoveAll"
-           xdt:Locator="Condition(@invariant='System.Data.SQLite' or
-                                  @invariant='System.Data.SQLite.Linq')" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

+ 0 - 11
Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net45/app.config.transform

@@ -1,11 +0,0 @@
-<configuration>
-  <system.data>
-    <DbProviderFactories>
-      <remove invariant="System.Data.SQLite.EF6" />
-      <add name="SQLite Data Provider (Entity Framework 6)"
-           invariant="System.Data.SQLite.EF6"
-           description=".NET Framework Data Provider for SQLite (Entity Framework 6)"
-           type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

+ 0 - 12
Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net45/web.config.install.xdt

@@ -1,12 +0,0 @@
-<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
-  <system.data>
-    <DbProviderFactories>
-      <remove xdt:Transform="RemoveAll"
-              xdt:Locator="Condition(@invariant='System.Data.SQLite' or
-                                     @invariant='System.Data.SQLite.Linq')" />
-      <add xdt:Transform="RemoveAll"
-           xdt:Locator="Condition(@invariant='System.Data.SQLite' or
-                                  @invariant='System.Data.SQLite.Linq')" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

+ 0 - 11
Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net45/web.config.transform

@@ -1,11 +0,0 @@
-<configuration>
-  <system.data>
-    <DbProviderFactories>
-      <remove invariant="System.Data.SQLite.EF6" />
-      <add name="SQLite Data Provider (Entity Framework 6)"
-           invariant="System.Data.SQLite.EF6"
-           description=".NET Framework Data Provider for SQLite (Entity Framework 6)"
-           type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

+ 0 - 12
Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net451/app.config.install.xdt

@@ -1,12 +0,0 @@
-<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
-  <system.data>
-    <DbProviderFactories>
-      <remove xdt:Transform="RemoveAll"
-              xdt:Locator="Condition(@invariant='System.Data.SQLite' or
-                                     @invariant='System.Data.SQLite.Linq')" />
-      <add xdt:Transform="RemoveAll"
-           xdt:Locator="Condition(@invariant='System.Data.SQLite' or
-                                  @invariant='System.Data.SQLite.Linq')" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

+ 0 - 11
Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net451/app.config.transform

@@ -1,11 +0,0 @@
-<configuration>
-  <system.data>
-    <DbProviderFactories>
-      <remove invariant="System.Data.SQLite.EF6" />
-      <add name="SQLite Data Provider (Entity Framework 6)"
-           invariant="System.Data.SQLite.EF6"
-           description=".NET Framework Data Provider for SQLite (Entity Framework 6)"
-           type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

+ 0 - 12
Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net451/web.config.install.xdt

@@ -1,12 +0,0 @@
-<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
-  <system.data>
-    <DbProviderFactories>
-      <remove xdt:Transform="RemoveAll"
-              xdt:Locator="Condition(@invariant='System.Data.SQLite' or
-                                     @invariant='System.Data.SQLite.Linq')" />
-      <add xdt:Transform="RemoveAll"
-           xdt:Locator="Condition(@invariant='System.Data.SQLite' or
-                                  @invariant='System.Data.SQLite.Linq')" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

+ 0 - 11
Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net451/web.config.transform

@@ -1,11 +0,0 @@
-<configuration>
-  <system.data>
-    <DbProviderFactories>
-      <remove invariant="System.Data.SQLite.EF6" />
-      <add name="SQLite Data Provider (Entity Framework 6)"
-           invariant="System.Data.SQLite.EF6"
-           description=".NET Framework Data Provider for SQLite (Entity Framework 6)"
-           type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

+ 0 - 12
Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net46/app.config.install.xdt

@@ -1,12 +0,0 @@
-<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
-  <system.data>
-    <DbProviderFactories>
-      <remove xdt:Transform="RemoveAll"
-              xdt:Locator="Condition(@invariant='System.Data.SQLite' or
-                                     @invariant='System.Data.SQLite.Linq')" />
-      <add xdt:Transform="RemoveAll"
-           xdt:Locator="Condition(@invariant='System.Data.SQLite' or
-                                  @invariant='System.Data.SQLite.Linq')" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

+ 0 - 11
Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net46/app.config.transform

@@ -1,11 +0,0 @@
-<configuration>
-  <system.data>
-    <DbProviderFactories>
-      <remove invariant="System.Data.SQLite.EF6" />
-      <add name="SQLite Data Provider (Entity Framework 6)"
-           invariant="System.Data.SQLite.EF6"
-           description=".NET Framework Data Provider for SQLite (Entity Framework 6)"
-           type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

+ 0 - 12
Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net46/web.config.install.xdt

@@ -1,12 +0,0 @@
-<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
-  <system.data>
-    <DbProviderFactories>
-      <remove xdt:Transform="RemoveAll"
-              xdt:Locator="Condition(@invariant='System.Data.SQLite' or
-                                     @invariant='System.Data.SQLite.Linq')" />
-      <add xdt:Transform="RemoveAll"
-           xdt:Locator="Condition(@invariant='System.Data.SQLite' or
-                                  @invariant='System.Data.SQLite.Linq')" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

+ 0 - 11
Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/content/net46/web.config.transform

@@ -1,11 +0,0 @@
-<configuration>
-  <system.data>
-    <DbProviderFactories>
-      <remove invariant="System.Data.SQLite.EF6" />
-      <add name="SQLite Data Provider (Entity Framework 6)"
-           invariant="System.Data.SQLite.EF6"
-           description=".NET Framework Data Provider for SQLite (Entity Framework 6)"
-           type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

BIN
Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/lib/net40/System.Data.SQLite.EF6.dll


BIN
Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/lib/net45/System.Data.SQLite.EF6.dll


BIN
Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/lib/net451/System.Data.SQLite.EF6.dll


BIN
Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/lib/net46/System.Data.SQLite.EF6.dll


+ 0 - 13
Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/tools/net40/install.ps1

@@ -1,13 +0,0 @@
-###############################################################################
-#
-# provider.ps1 --
-#
-# Written by Joe Mistachkin.
-# Released to the public domain, use at your own risk!
-#
-###############################################################################
-
-param($installPath, $toolsPath, $package, $project)
-
-Add-EFProvider $project "System.Data.SQLite.EF6" `
-    "System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6"

+ 0 - 13
Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/tools/net45/install.ps1

@@ -1,13 +0,0 @@
-###############################################################################
-#
-# provider.ps1 --
-#
-# Written by Joe Mistachkin.
-# Released to the public domain, use at your own risk!
-#
-###############################################################################
-
-param($installPath, $toolsPath, $package, $project)
-
-Add-EFProvider $project "System.Data.SQLite.EF6" `
-    "System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6"

+ 0 - 13
Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/tools/net451/install.ps1

@@ -1,13 +0,0 @@
-###############################################################################
-#
-# provider.ps1 --
-#
-# Written by Joe Mistachkin.
-# Released to the public domain, use at your own risk!
-#
-###############################################################################
-
-param($installPath, $toolsPath, $package, $project)
-
-Add-EFProvider $project "System.Data.SQLite.EF6" `
-    "System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6"

+ 0 - 13
Fork.Net/packages/System.Data.SQLite.EF6.1.0.108.0/tools/net46/install.ps1

@@ -1,13 +0,0 @@
-###############################################################################
-#
-# provider.ps1 --
-#
-# Written by Joe Mistachkin.
-# Released to the public domain, use at your own risk!
-#
-###############################################################################
-
-param($installPath, $toolsPath, $package, $project)
-
-Add-EFProvider $project "System.Data.SQLite.EF6" `
-    "System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6"

BIN
Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/System.Data.SQLite.Linq.1.0.108.0.nupkg


+ 0 - 11
Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/content/net20/app.config.transform

@@ -1,11 +0,0 @@
-<configuration>
-  <system.data>
-    <DbProviderFactories>
-      <remove invariant="System.Data.SQLite" />
-      <add name="SQLite Data Provider"
-           invariant="System.Data.SQLite"
-           description=".NET Framework Data Provider for SQLite"
-           type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

+ 0 - 11
Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/content/net20/web.config.transform

@@ -1,11 +0,0 @@
-<configuration>
-  <system.data>
-    <DbProviderFactories>
-      <remove invariant="System.Data.SQLite" />
-      <add name="SQLite Data Provider"
-           invariant="System.Data.SQLite"
-           description=".NET Framework Data Provider for SQLite"
-           type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

+ 0 - 11
Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/content/net40/app.config.transform

@@ -1,11 +0,0 @@
-<configuration>
-  <system.data>
-    <DbProviderFactories>
-      <remove invariant="System.Data.SQLite" />
-      <add name="SQLite Data Provider"
-           invariant="System.Data.SQLite"
-           description=".NET Framework Data Provider for SQLite"
-           type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

+ 0 - 11
Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/content/net40/web.config.transform

@@ -1,11 +0,0 @@
-<configuration>
-  <system.data>
-    <DbProviderFactories>
-      <remove invariant="System.Data.SQLite" />
-      <add name="SQLite Data Provider"
-           invariant="System.Data.SQLite"
-           description=".NET Framework Data Provider for SQLite"
-           type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

+ 0 - 11
Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/content/net45/app.config.transform

@@ -1,11 +0,0 @@
-<configuration>
-  <system.data>
-    <DbProviderFactories>
-      <remove invariant="System.Data.SQLite" />
-      <add name="SQLite Data Provider"
-           invariant="System.Data.SQLite"
-           description=".NET Framework Data Provider for SQLite"
-           type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

+ 0 - 11
Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/content/net45/web.config.transform

@@ -1,11 +0,0 @@
-<configuration>
-  <system.data>
-    <DbProviderFactories>
-      <remove invariant="System.Data.SQLite" />
-      <add name="SQLite Data Provider"
-           invariant="System.Data.SQLite"
-           description=".NET Framework Data Provider for SQLite"
-           type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

+ 0 - 11
Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/content/net451/app.config.transform

@@ -1,11 +0,0 @@
-<configuration>
-  <system.data>
-    <DbProviderFactories>
-      <remove invariant="System.Data.SQLite" />
-      <add name="SQLite Data Provider"
-           invariant="System.Data.SQLite"
-           description=".NET Framework Data Provider for SQLite"
-           type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

+ 0 - 11
Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/content/net451/web.config.transform

@@ -1,11 +0,0 @@
-<configuration>
-  <system.data>
-    <DbProviderFactories>
-      <remove invariant="System.Data.SQLite" />
-      <add name="SQLite Data Provider"
-           invariant="System.Data.SQLite"
-           description=".NET Framework Data Provider for SQLite"
-           type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

+ 0 - 11
Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/content/net46/app.config.transform

@@ -1,11 +0,0 @@
-<configuration>
-  <system.data>
-    <DbProviderFactories>
-      <remove invariant="System.Data.SQLite" />
-      <add name="SQLite Data Provider"
-           invariant="System.Data.SQLite"
-           description=".NET Framework Data Provider for SQLite"
-           type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

+ 0 - 11
Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/content/net46/web.config.transform

@@ -1,11 +0,0 @@
-<configuration>
-  <system.data>
-    <DbProviderFactories>
-      <remove invariant="System.Data.SQLite" />
-      <add name="SQLite Data Provider"
-           invariant="System.Data.SQLite"
-           description=".NET Framework Data Provider for SQLite"
-           type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
-    </DbProviderFactories>
-  </system.data>
-</configuration>

BIN
Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/lib/net20/System.Data.SQLite.Linq.dll


BIN
Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/lib/net40/System.Data.SQLite.Linq.dll


BIN
Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/lib/net45/System.Data.SQLite.Linq.dll


BIN
Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/lib/net451/System.Data.SQLite.Linq.dll


BIN
Fork.Net/packages/System.Data.SQLite.Linq.1.0.108.0/lib/net46/System.Data.SQLite.Linq.dll