NSystem.Data.Dabber 2023.6.6

dotnet add package NSystem.Data.Dabber --version 2023.6.6
NuGet\Install-Package NSystem.Data.Dabber -Version 2023.6.6
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NSystem.Data.Dabber" Version="2023.6.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NSystem.Data.Dabber --version 2023.6.6
#r "nuget: NSystem.Data.Dabber, 2023.6.6"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install NSystem.Data.Dabber as a Cake Addin
#addin nuget:?package=NSystem.Data.Dabber&version=2023.6.6

// Install NSystem.Data.Dabber as a Cake Tool
#tool nuget:?package=NSystem.Data.Dabber&version=2023.6.6

NSystem.Data.Dabber

本仓库最初基于Dapper进行开发,因为之前为方便操作,写了一个简单的SQL自动生成的功能,使用中发现后续Dapper不支持较低版本的.NET Framework,所以将自己的代码和Dapper进行合并,加上其他项目中引用的基础类库内容,从而衍生出此项目。

类库介绍

0.System

此中是针对应用中最频繁的内容进行的扩展,比如Alertable相关内容、Pagingable相关内容、Swappable相关内容、Testable相关内容。

1.System.Data.Dabber

此命名空间是基于Dapper(v2.0.90)内容,有进行扩展的项,比如DbConnectionPool相关,其余并未做过多修改,只是将不支持较低的.NET Framework,进行了兼容,增加了CompatAssist(兼容助手)类,修改了些注释,方便阅读。后续会跟进Dapper的更新,使此项目的易用度得到提升,敬请期待!

2.System.Data.Cobber

此命名空间自动SQL系列,其中包括自助生成SQL类的AutoSqlBuilder系列,支持SQLite、MySQL、SqlServer、Access,通过DbCol标记,然后创建实体类的AutoSqlModel,生成一些常用的SQL语句;存储模型StoreModel,存放数据库类型及连接,通过此与Provider配合使用,支持切换数据库操作;CacheModel提供几种静态字典的缓存使用,提供简单的存取;DbMigration提供仿照EntityFramework的迁移形式进行迁移,使用方式很简单DbAutoMigration.Regist指定参数的迁移方法或IDbAutoMigration接口类;ADataAccess是一些简单操作,可使用此继承方式快速实现数据访问;ConnBuilder提供简单的创建、解析连接字符串等。<br/> 另外命名空间还包括加密系列,其中包括AppConfigJsonFile配置文件类;Newtonsoft.Json扩展;用户加密,如AES加密解密方法,其余使用UserPassword、UserFileable进行其余部分加密;UserExCell是针对Excel封装的行列模型对应;UserKeyGuid是将Guid或双Int64转换成64位/32位字符串的相互转换,以减少空间;<br/> 其他内容,如LazyBone仿照Lazy实现,目的是可以重新加载;MemberAccessor是使用反射、委托、表达式树三种形式实现的通过类型或泛型找到属性进行get和set的方式,注释提供性能参考;静态调用类,此类是一些泛型或者常用对象的扩展操作方法,不常用的或一些复杂的在Extter中有所体现等。

3.System.Data.Extter

常用扩展类,是一些本人开发中整理的扩展操作类及方法。常用的有类型的Caller类,未避免重复有些Caller类有两个命名空间,但是在同一个文件中,避免和Cobber中的已定义重复,不一一介绍了。

4.System.Data.Logger

此例中包含日志定义,当前实现有TextLogWriter,可以通过Console.SetOut进行设置并生效使用;SQLiteLogWriter尚在开发过程中,实际中未进行使用。

5.System.Data.Chineser

此命名空间是汉字转拼音及拼音字符串的一些内容,移植自PinYinConverterCore,因为需要兼容较低版本的.NET Framework,所以在项目中进行了集成。

6.System.Data.Dibber

此命名空间是后续进行Dabber、Expression、Emit等其他流行ORM融合的一个命名空间,是对数据挖掘内容的一个支持。

7.System.Data.Dobber

此命名空间是对于生成SQL语句进行ORM或者数据检索的一个应用命名空间,此例中的SqlScriptBuilder已经在使用中。

8.System.Data.Dubber

此命名空间是对于网络组件/通信组件进行封装的内容,其中包含FluentFTP,因为需要兼容较低版本的.NET Framework,所以在项目中进行了集成。另外此中的管道通信内容已在跨进程通信中使用。

9.System.Data.Impeller

此命名空间是对于动态链接库导入的一个应用内容封装,其中是常见的用到的一些系统内容。

10.System.Data.Mabber

此命名空间是对象映射进行封装的内容,其中包括TinyMapper,因为应用比较广泛所以在项目中进行了集成。

11.System.Data.Hopper

此命名空间是对网络调用进行封装的内容,因为后续HttpWebRequest等内容过期,需要无缝衔接到新式调用上,故创建此命名空间,目前HttpResStatusCode是约定使用。

99.System.Data.Obsoleter

此中无命名空间,只存放哪些标记Obsolete的内容。

安装说明

可以通过Nuget获取此包的发布

Install-Package NSystem.Data.Dabber

免责声明

如侵犯原作者权益,望告知,发现问题立即整改。

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.1 is compatible. 
.NET Framework net40 is compatible.  net403 was computed.  net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on NSystem.Data.Dabber:

Package Downloads
NSystem.Data.SolutionCore

NSystem.Data.SolutionCore-快速构建汇总项目组件

NSystem.Data.HardwareInterfaces

硬件项目通用接口集成

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2023.6.6 0 5/6/2024
2023.3.3 169 1/8/2024
2023.1.1 954 9/10/2023
2022.12.12 835 7/30/2023
2022.11.11 527 4/19/2023
2022.9.9 2,407 1/4/2023
2022.8.8 840 11/27/2022
2022.7.11 1,105 8/24/2022
2022.7.7 1,058 8/19/2022
2022.6.6 2,450 8/3/2022
2022.3.11 689 4/13/2022
2022.2.1 653 2/23/2022
2022.1.11 416 1/13/2022
2022.1.1 377 1/3/2022
2021.12.20 288 12/22/2021
2021.12.12 253 12/20/2021
2021.11.22 276 11/29/2021
2021.11.11 328 11/17/2021
2021.10.1 313 10/21/2021
2021.9.21 282 9/22/2021
2021.9.15 366 9/15/2021
1.0.1 378 7/4/2021
1.0.0 356 6/22/2021

Copyright © 2020 版权所有