Procházet zdrojové kódy

[tag] Sqler 3.0.11

lith před 3 roky
rodič
revize
14863d9f26

+ 1 - 1
Publish/ReleaseFile/docker-image/制作镜像.md

@@ -38,7 +38,7 @@ cd /root/image
 
 #构建镜像并推送到 Docker Hub 
 cd sqler
-docker buildx build . -t serset/sqler:3.0.10 -t serset/sqler --platform=linux/amd64,linux/arm64,linux/arm/v7 --push
+docker buildx build . -t serset/sqler:3.0.11 -t serset/sqler --platform=linux/amd64,linux/arm64,linux/arm/v7 --push
  
 
 

+ 1 - 2
Sqler/Module/AutoTemp/Logical/AutoTempHelp.cs

@@ -4,7 +4,6 @@ using Vit.Extensions;
 using System.Text.RegularExpressions;
 using System;
 using System.Linq;
-using Vit.Extensions.IEnumerable;
 using System.ComponentModel.DataAnnotations;
 using System.Reflection;
 using Vit.Core.Util.XmlComment;
@@ -156,7 +155,7 @@ namespace App.Module.AutoTemp.Logical
                 {
                     var title = field["title"];
                     filterFields.Where(token => token["field"].EqualIgnore(column.column_name)
-                    && string.IsNullOrWhiteSpace(token["title"].ConvertToString())).ForEach(
+                    && string.IsNullOrWhiteSpace(token["title"].ConvertToString())).IEnumerable_ForEach(
                         token =>
                         {
                             token["title"] = title;

+ 0 - 45
Sqler/Module/Sqler/ConsoleCommand/IEnumeratorExtensions.cs

@@ -1,45 +0,0 @@
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Runtime.CompilerServices;
-
-namespace Vit.Extensions
-{
-    /// <summary>
-    ///  
-    /// </summary>
-    public static partial class IEnumeratorExtensions
-    {
-
-        /// <summary>
-        /// 
-        /// </summary>
-        /// <typeparam name="T"></typeparam>
-        /// <param name="data"></param>
-        /// <returns></returns>
-        [MethodImpl(MethodImplOptions.AggressiveInlining)]
-        public static List<T> IEnumerator_ToList<T>(this IEnumerator data)
-        {
-            var list = new List<T>();
-            data.Reset();
-            while (data.MoveNext())
-            {
-                list.Add((T)data.Current);
-            }
-            return list;
-        }
-
-        /// <summary>
-        /// 
-        /// </summary>
-        /// <typeparam name="T"></typeparam>
-        /// <param name="data"></param>
-        /// <returns></returns>
-        [MethodImpl(MethodImplOptions.AggressiveInlining)]
-        public static List<T> IEnumerable_ToList<T>(this System.Collections.IEnumerable data) //ICollection data
-        {
-            return data?.GetEnumerator().IEnumerator_ToList<T>();
-        }      
-
-    }
-}

+ 5 - 5
Sqler/Sqler.csproj

@@ -7,7 +7,7 @@
 
 	<PropertyGroup>
 		<TargetFramework>netcoreapp2.1</TargetFramework>
-		<Version>3.0.10</Version>
+		<Version>3.0.11</Version>
 		<Description>https://github.com/serset/Sqler</Description>
 		<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
 		<PreserveCompilationContext>true</PreserveCompilationContext>
@@ -23,10 +23,10 @@
 	<ItemGroup>
 		<PackageReference Include="Microsoft.AspNetCore.App" />
 		
-		<PackageReference Include="Sers.Core" Version="2.1.11" />
-		<PackageReference Include="Vit.WebHost" Version="2.1.10" />
-		<PackageReference Include="Vit.Orm.EntityFramework.Dynamic" Version="2.2.6" />
-		<PackageReference Include="Vit.Db.DbMng" Version="2.2.6" />
+		<PackageReference Include="Sers.Core" Version="2.1.12" />
+		<PackageReference Include="Vit.WebHost" Version="2.1.11" />
+		<PackageReference Include="Vit.Orm.EntityFramework.Dynamic" Version="2.2.7" />
+		<PackageReference Include="Vit.Db.DbMng" Version="2.2.7" />
 	</ItemGroup>