SmartSql.DyRepository 3.0.0-pre2

This is a prerelease version of SmartSql.DyRepository.
There is a newer version of this package available.
See the version list below for details.
Install-Package SmartSql.DyRepository -Version 3.0.0-pre2
dotnet add package SmartSql.DyRepository --version 3.0.0-pre2
<PackageReference Include="SmartSql.DyRepository" Version="3.0.0-pre2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SmartSql.DyRepository --version 3.0.0-pre2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SmartSql.DyRepository, 3.0.0-pre2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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=3.0.0-pre2&prerelease

// Install SmartSql.DyRepository as a Cake Tool
#tool nuget:?package=SmartSql.DyRepository&version=3.0.0-pre2&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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";
            });

NuGet packages (2)

Showing the top 2 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 ....

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.1.57 3,536 11/17/2020
4.1.56 1,444 7/14/2020
4.1.55 1,594 6/18/2020
4.1.54 886 6/12/2020
4.1.53 1,629 4/8/2020
4.1.52 970 3/27/2020
4.1.51 1,029 3/21/2020
4.1.50 872 3/9/2020
4.1.48 810 3/5/2020
4.1.46 973 12/18/2019
4.1.45 796 12/18/2019
4.1.44 1,096 12/5/2019
4.1.43 874 11/20/2019
4.1.42 1,035 11/18/2019
4.1.40 750 11/12/2019
4.1.39 832 11/6/2019
4.1.38 846 10/29/2019
4.1.37 786 10/29/2019
4.1.36 812 10/29/2019
4.1.35 828 10/29/2019
4.1.34 765 10/28/2019
4.1.33 800 10/28/2019
4.1.32 6,829 9/30/2019
4.1.31 759 9/29/2019
4.1.30 753 9/27/2019
4.1.29 786 9/26/2019
4.1.28 906 9/2/2019
4.1.27 816 8/30/2019
4.1.26 836 8/30/2019
4.1.25 832 8/30/2019
4.1.24 916 8/28/2019
4.1.23 2,110 8/20/2019
4.1.22 789 8/19/2019
4.1.21 850 8/13/2019
4.1.20 816 8/13/2019
4.1.19 860 8/13/2019
4.1.18 1,000 8/5/2019
4.1.17 976 8/1/2019
4.1.16 862 8/1/2019
4.1.15 842 7/30/2019
4.1.14 861 7/30/2019
4.1.12 869 7/30/2019
4.1.11 893 7/30/2019
4.1.9 821 7/29/2019
4.1.8 859 7/29/2019
4.1.7 837 7/29/2019
4.1.6 906 7/29/2019
4.1.5 842 7/27/2019
4.1.3 831 7/26/2019
4.1.2 850 7/25/2019
4.1.1 818 7/25/2019
4.1.0 845 7/24/2019
4.0.88 812 7/24/2019
4.0.86 791 7/22/2019
4.0.85 855 7/22/2019
4.0.84 823 7/22/2019
4.0.81 867 7/19/2019
4.0.80 866 7/19/2019
4.0.78 810 7/19/2019
4.0.76 912 7/17/2019
4.0.75 906 7/10/2019
4.0.73 894 7/10/2019
4.0.72 918 7/5/2019
4.0.71 931 6/25/2019
4.0.70 840 6/25/2019
4.0.69 847 6/25/2019
4.0.68 833 6/20/2019
4.0.66 858 6/18/2019
4.0.65 917 6/17/2019
4.0.63 1,669 6/12/2019
4.0.62 827 6/12/2019
4.0.60 895 6/11/2019
4.0.59 824 6/11/2019
4.0.58 933 6/3/2019
4.0.56 862 5/31/2019
4.0.55 827 5/30/2019
4.0.53 847 5/30/2019
4.0.52 831 5/30/2019
4.0.51 868 5/30/2019
4.0.50 849 5/29/2019
4.0.49 867 5/29/2019
4.0.48 846 5/24/2019
4.0.46 893 5/15/2019
4.0.45 805 5/10/2019
4.0.44 697 5/7/2019
4.0.43 646 5/7/2019
4.0.42 866 4/28/2019
4.0.41 649 4/28/2019
4.0.40 678 4/26/2019
4.0.38 698 4/26/2019
4.0.36 680 4/25/2019
4.0.35 673 4/25/2019
4.0.34 755 4/23/2019
4.0.33 691 4/19/2019
4.0.32 737 4/19/2019
4.0.30 688 4/19/2019
4.0.29 667 4/18/2019
4.0.28 649 4/18/2019
4.0.26 651 4/18/2019
4.0.25 662 4/17/2019
4.0.21 666 4/17/2019
4.0.20 665 4/16/2019
4.0.19 683 4/15/2019
4.0.18 649 4/15/2019
4.0.16 692 4/11/2019
4.0.15 635 4/11/2019
4.0.14 675 4/9/2019
4.0.13 571 4/9/2019
4.0.12 625 4/4/2019
4.0.11 566 4/4/2019
4.0.10 485 4/3/2019
4.0.8 449 4/3/2019
4.0.7 439 4/3/2019
4.0.6 417 4/3/2019
4.0.5 489 4/2/2019
4.0.4 486 4/2/2019
4.0.3 553 4/2/2019
4.0.2 487 4/1/2019
4.0.0 480 4/1/2019
4.0.0-rc999 389 3/31/2019
4.0.0-rc998 346 3/29/2019
4.0.0-rc997 327 3/29/2019
4.0.0-rc996 313 3/29/2019
4.0.0-rc995 334 3/28/2019
4.0.0-rc994 347 3/28/2019
4.0.0-rc993 362 3/28/2019
4.0.0-rc991 349 3/27/2019
4.0.0-rc990 342 3/27/2019
4.0.0-rc99 353 3/27/2019
4.0.0-rc98 359 3/26/2019
4.0.0-rc97 343 3/26/2019
4.0.0-rc96 333 3/26/2019
4.0.0-rc95 362 3/25/2019
4.0.0-rc93 341 3/25/2019
4.0.0-rc92 346 3/25/2019
4.0.0-rc91 346 3/22/2019
4.0.0-rc9 343 3/22/2019
4.0.0-rc8 343 3/21/2019
4.0.0-rc6 353 3/21/2019
4.0.0-rc5 341 3/20/2019
4.0.0-rc3 315 3/19/2019
4.0.0-rc10 342 3/22/2019
4.0.0-rc1 372 3/17/2019
4.0.0-beta5 348 3/16/2019
4.0.0-beta4 347 3/11/2019
4.0.0-beta3 356 3/9/2019
4.0.0-beta2 352 3/8/2019
4.0.0-beta1 351 3/7/2019
3.8.12 926 12/17/2018
3.8.8 506 12/11/2018
3.7.16 2,959 10/26/2018
3.7.15 608 10/24/2018
3.7.13 639 10/22/2018
3.7.10 784 10/11/2018
3.7.9 507 10/11/2018
3.6.1 1,875 8/10/2018
3.6.0 647 8/8/2018
3.6.0-rc2 490 8/7/2018
3.6.0-rc1 509 8/5/2018
3.6.0-pre8 534 8/5/2018
3.6.0-pre6 530 8/4/2018
3.5.9 594 8/1/2018
3.5.8 638 7/31/2018
3.5.6 539 7/31/2018
3.5.5 625 7/26/2018
3.5.4 641 7/26/2018
3.5.3 600 7/25/2018
3.5.0 683 7/24/2018
3.5.0-pre2 556 7/23/2018
3.4.9 641 7/21/2018
3.4.8 657 7/19/2018
3.4.6 674 7/19/2018
3.3.12 842 7/17/2018
3.3.10 606 7/16/2018
3.3.8 737 6/29/2018
3.3.6 700 6/26/2018
3.3.4 825 6/26/2018
3.3.2 907 6/21/2018
3.3.0 672 6/11/2018
3.2.0 736 6/11/2018
3.1.0 723 6/9/2018
3.0.0 814 6/2/2018
3.0.0-rc92 602 5/31/2018
3.0.0-rc91 648 5/30/2018
3.0.0-rc6 668 5/28/2018
3.0.0-rc11 739 5/30/2018
3.0.0-pre9 719 5/15/2018
3.0.0-pre2 641 5/6/2018
3.0.0-pre1 610 5/6/2018
1.0.1 735 4/24/2018
1.0.0 875 4/21/2018
1.0.0-pre 621 4/19/2018