SmartSql.DyRespository 1.0.0-pre

This is a prerelease version of SmartSql.DyRespository.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package SmartSql.DyRespository --version 1.0.0-pre
NuGet\Install-Package SmartSql.DyRespository -Version 1.0.0-pre
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.DyRespository" Version="1.0.0-pre" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SmartSql.DyRespository --version 1.0.0-pre
#r "nuget: SmartSql.DyRespository, 1.0.0-pre"
#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.DyRespository as a Cake Addin
#addin nuget:?package=SmartSql.DyRespository&version=1.0.0-pre&prerelease

// Install SmartSql.DyRespository as a Cake Tool
#tool nuget:?package=SmartSql.DyRespository&version=1.0.0-pre&prerelease

SmartSql 动态仓储接口编程模型

    /**
     *  ---- First : 数据访问接口定义 ----
     **/
    /// <summary>
    /// 属性可选: [SqlMap(Scope = "User")] ,不设置 则默认 Scope 模板:I{Scope}Respository
    /// 可传入自定义模板
    /// RespositoryBuilder builder=new RespositoryBuilder("I{Scope}DAL");
    /// </summary>
    public interface IUserRespository
    {
        /// <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.AddRespositoryFactory();
            //自动注册该程序集下的所有仓储接口
            services.AddRespositoryFromAssembly((options) =>
            {
                options.AssemblyString = "Ahoo.Demo.Respositories";
            });
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. 
.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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated