SmartSql.DyRepository 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package SmartSql.DyRepository --version 1.0.1                
NuGet\Install-Package SmartSql.DyRepository -Version 1.0.1                
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="SmartSql.DyRepository" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SmartSql.DyRepository --version 1.0.1                
#r "nuget: SmartSql.DyRepository, 1.0.1"                
#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 SmartSql.DyRepository as a Cake Addin
#addin nuget:?package=SmartSql.DyRepository&version=1.0.1

// Install SmartSql.DyRepository as a Cake Tool
#tool nuget:?package=SmartSql.DyRepository&version=1.0.1                

SmartSql 动态仓储接口编程模型

    /**
     *  ---- First : 数据访问接口定义 ----
     **/
    /// <summary>
    /// 属性可选: [SqlMap(Scope = "User")] ,不设置 则默认 Scope 模板:I{Scope}Repository
    /// 可传入自定义模板
    /// RepositoryBuilder builder=new RepositoryBuilder("I{Scope}DAL");
    /// </summary>
    public interface IUserRepository
    {
        /// <summary>
        /// 属性可选 [Statement(Execute = ExecuteBehavior.Auto,Id = "Query")]
        /// 默认 Execute:Auto ,自动判断 执行类型
        /// 默认 Id : 方法名
        /// </summary>
        /// <param name="reqParams"></param>
        /// <returns></returns>
        IEnumerable<User> Query(object reqParams);
        long GetRecord(object reqParams);
        User Get(object reqParams);
        long Insert(User entity);
        int Update(User entity);
        int Delete(User enttiy);
    }
            services.AddSingleton((sp) =>
            {
                var loggerFactory = sp.GetRequiredService<ILoggerFactory>();
                return SmartSql.MapperContainer.Instance.GetSqlMapper(loggerFactory);
            });
            //注册仓储动态代理工厂
            services.AddRepositoryFactory();
            //自动注册该程序集下的所有仓储接口
            services.AddRepositoryFromAssembly((options) =>
            {
                options.AssemblyString = "Ahoo.Demo.Repositories";
            });
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net46 is compatible.  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 tizen40 was computed.  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 (3)

Showing the top 3 NuGet packages that depend on SmartSql.DyRepository:

Package Downloads
SmartSql.DIExtension

SmartSql = MyBatis + Cache(Memory | Redis) + ZooKeeper + R/W Splitting +Dynamic Repository ....

SmartSql.Test

SmartSql = MyBatis + Cache(Memory | Redis) + ZooKeeper + R/W Splitting +Dynamic Repository ....

RockWang.SmartSql.Extension

SmartSql的扩展类

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on SmartSql.DyRepository:

Repository Stars
lindexi/lindexi_gd
博客用到的代码
Version Downloads Last updated
4.1.67 10,430 10/19/2023
4.1.66 1,126 9/21/2023
4.1.65 406 9/21/2023
4.1.64 22,514 5/13/2022
4.1.63 2,532 5/4/2022
4.1.62 2,457 4/29/2022
4.1.59 3,085 3/10/2022
4.1.58 2,595 3/3/2022
4.1.57 9,796 11/17/2020
4.1.56 5,711 7/14/2020
4.1.55 2,983 6/18/2020
4.1.54 2,000 6/12/2020
4.1.53 2,951 4/8/2020
4.1.52 2,018 3/27/2020
4.1.51 2,130 3/21/2020
4.1.50 1,930 3/9/2020
4.1.48 1,910 3/5/2020
4.1.46 2,079 12/18/2019
4.1.45 1,921 12/18/2019
4.1.44 2,716 12/5/2019
4.1.43 2,006 11/20/2019
4.1.42 2,257 11/18/2019
4.1.40 1,821 11/12/2019
4.1.39 1,916 11/6/2019
4.1.38 1,978 10/29/2019
4.1.37 1,888 10/29/2019
4.1.36 1,926 10/29/2019
4.1.35 1,930 10/29/2019
4.1.34 1,846 10/28/2019
4.1.33 1,864 10/28/2019
4.1.32 11,017 9/30/2019
4.1.31 1,843 9/29/2019
4.1.30 1,861 9/27/2019
4.1.29 1,847 9/26/2019
4.1.28 1,963 9/2/2019
4.1.27 1,841 8/30/2019
4.1.26 1,888 8/30/2019
4.1.25 1,891 8/30/2019
4.1.24 1,962 8/28/2019
4.1.23 3,159 8/20/2019
4.1.22 1,880 8/19/2019
4.1.21 1,934 8/13/2019
4.1.20 1,913 8/13/2019
4.1.19 1,950 8/13/2019
4.1.18 2,057 8/5/2019
4.1.17 2,077 8/1/2019
4.1.16 2,029 8/1/2019
4.1.15 1,958 7/30/2019
4.1.14 1,901 7/30/2019
4.1.12 1,974 7/30/2019
4.1.11 2,020 7/30/2019
4.1.9 1,964 7/29/2019
4.1.8 1,956 7/29/2019
4.1.7 1,893 7/29/2019
4.1.6 2,013 7/29/2019
4.1.5 1,888 7/27/2019
4.1.3 1,928 7/26/2019
4.1.2 1,938 7/25/2019
4.1.1 1,871 7/25/2019
4.1.0 1,921 7/24/2019
4.0.88 1,907 7/24/2019
4.0.86 1,868 7/22/2019
4.0.85 1,915 7/22/2019
4.0.84 1,939 7/22/2019
4.0.81 2,045 7/19/2019
4.0.80 1,981 7/19/2019
4.0.78 1,898 7/19/2019
4.0.76 2,049 7/17/2019
4.0.75 2,034 7/10/2019
4.0.73 2,048 7/10/2019
4.0.72 2,087 7/5/2019
4.0.71 1,970 6/25/2019
4.0.70 1,817 6/25/2019
4.0.69 1,845 6/25/2019
4.0.68 1,870 6/20/2019
4.0.66 1,872 6/18/2019
4.0.65 1,981 6/17/2019
4.0.63 3,182 6/12/2019
4.0.62 1,868 6/12/2019
4.0.60 1,914 6/11/2019
4.0.59 1,844 6/11/2019
4.0.58 1,927 6/3/2019
4.0.56 1,871 5/31/2019
4.0.55 1,803 5/30/2019
4.0.53 1,888 5/30/2019
4.0.52 1,843 5/30/2019
4.0.51 1,850 5/30/2019
4.0.50 1,862 5/29/2019
4.0.49 1,913 5/29/2019
4.0.48 1,910 5/24/2019
4.0.46 1,658 5/15/2019
4.0.45 1,548 5/10/2019
4.0.44 1,402 5/7/2019
4.0.43 1,358 5/7/2019
4.0.42 1,609 4/28/2019
4.0.41 1,324 4/28/2019
4.0.40 1,363 4/26/2019
4.0.38 1,400 4/26/2019
4.0.36 1,358 4/25/2019
4.0.35 1,363 4/25/2019
4.0.34 1,479 4/23/2019
4.0.33 1,408 4/19/2019
4.0.32 1,447 4/19/2019
4.0.30 1,389 4/19/2019
4.0.29 1,357 4/18/2019
4.0.28 1,375 4/18/2019
4.0.26 1,324 4/18/2019
4.0.25 1,347 4/17/2019
4.0.21 1,374 4/17/2019
4.0.20 1,368 4/16/2019
4.0.19 1,386 4/15/2019
4.0.18 1,338 4/15/2019
4.0.16 1,372 4/11/2019
4.0.15 1,323 4/11/2019
4.0.14 1,427 4/9/2019
4.0.13 1,165 4/9/2019
4.0.12 1,223 4/4/2019
4.0.11 1,135 4/4/2019
4.0.10 892 4/3/2019
4.0.8 846 4/3/2019
4.0.7 853 4/3/2019
4.0.6 824 4/3/2019
4.0.5 865 4/2/2019
4.0.4 878 4/2/2019
4.0.3 1,136 4/2/2019
4.0.2 882 4/1/2019
4.0.0 893 4/1/2019
4.0.0-rc999 618 3/31/2019
4.0.0-rc998 547 3/29/2019
4.0.0-rc997 534 3/29/2019
4.0.0-rc996 538 3/29/2019
4.0.0-rc995 539 3/28/2019
4.0.0-rc994 561 3/28/2019
4.0.0-rc993 573 3/28/2019
4.0.0-rc991 574 3/27/2019
4.0.0-rc990 544 3/27/2019
4.0.0-rc99 580 3/27/2019
4.0.0-rc98 545 3/26/2019
4.0.0-rc97 566 3/26/2019
4.0.0-rc96 531 3/26/2019
4.0.0-rc95 572 3/25/2019
4.0.0-rc93 571 3/25/2019
4.0.0-rc92 568 3/25/2019
4.0.0-rc91 564 3/22/2019
4.0.0-rc9 556 3/22/2019
4.0.0-rc8 570 3/21/2019
4.0.0-rc6 570 3/21/2019
4.0.0-rc5 552 3/20/2019
4.0.0-rc3 544 3/19/2019
4.0.0-rc10 571 3/22/2019
4.0.0-rc1 589 3/17/2019
4.0.0-beta5 579 3/16/2019
4.0.0-beta4 566 3/11/2019
4.0.0-beta3 559 3/9/2019
4.0.0-beta2 572 3/8/2019
4.0.0-beta1 566 3/7/2019
3.8.12 1,278 12/17/2018
3.8.8 810 12/11/2018
3.7.16 3,947 10/26/2018
3.7.15 1,094 10/24/2018
3.7.13 1,103 10/22/2018
3.7.10 1,461 10/11/2018
3.7.9 867 10/11/2018
3.6.1 3,550 8/10/2018
3.6.0 1,137 8/8/2018
3.6.0-rc2 754 8/7/2018
3.6.0-rc1 759 8/5/2018
3.6.0-pre8 795 8/5/2018
3.6.0-pre6 799 8/4/2018
3.5.9 996 8/1/2018
3.5.8 1,138 7/31/2018
3.5.6 918 7/31/2018
3.5.5 1,120 7/26/2018
3.5.4 1,120 7/26/2018
3.5.3 993 7/25/2018
3.5.0 1,286 7/24/2018
3.5.0-pre2 847 7/23/2018
3.4.9 1,097 7/21/2018
3.4.8 1,106 7/19/2018
3.4.6 1,156 7/19/2018
3.3.12 1,557 7/17/2018
3.3.10 1,055 7/16/2018
3.3.8 1,307 6/29/2018
3.3.6 1,155 6/26/2018
3.3.4 1,589 6/26/2018
3.3.2 1,741 6/21/2018
3.3.0 1,209 6/11/2018
3.2.0 1,315 6/11/2018
3.1.0 1,273 6/9/2018
3.0.0 1,534 6/2/2018
3.0.0-rc92 990 5/31/2018
3.0.0-rc91 1,021 5/30/2018
3.0.0-rc6 1,036 5/28/2018
3.0.0-rc11 1,114 5/30/2018
3.0.0-pre9 1,080 5/15/2018
3.0.0-pre2 1,002 5/6/2018
3.0.0-pre1 968 5/6/2018
1.0.1 1,253 4/24/2018
1.0.0 1,394 4/21/2018
1.0.0-pre 1,040 4/19/2018

Add generic method support.