mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-10-31 07:49:26 +08:00 
			
		
		
		
	QuestDbGlobalExtensions优化命名
This commit is contained in:
		| @@ -213,7 +213,6 @@ public static partial class QuestDbGlobalExtensions | ||||
|                 await client.PostAsync($"{RestAPIExtension.BaseUrl}/imp?name={name}", httpContent); | ||||
|             var readAsStringAsync = await httpResponseMessage.Content.ReadAsStringAsync(); | ||||
|             var splitByLine = SplitByLine(readAsStringAsync); | ||||
|             //Console.WriteLine(readAsStringAsync); | ||||
|             foreach (var s in splitByLine) | ||||
|             { | ||||
|                 if (s.Contains("Rows")) | ||||
| @@ -236,7 +235,10 @@ public static partial class QuestDbGlobalExtensions | ||||
|             { | ||||
|                 File.Delete(filePath); | ||||
|             } | ||||
|             catch { } | ||||
|             catch | ||||
|             { | ||||
|                 // ignored | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         return result; | ||||
| @@ -246,7 +248,7 @@ public static partial class QuestDbGlobalExtensions | ||||
|     /// 批量快速插入 | ||||
|     /// </summary> | ||||
|     /// <typeparam name="T"></typeparam> | ||||
|     /// <param name="that"></param> | ||||
|     /// <param name="insert"></param> | ||||
|     /// <returns></returns> | ||||
|     public static int ExecuteBulkCopy<T>(this IInsert<T> insert) where T : class | ||||
|     { | ||||
| @@ -340,7 +342,7 @@ static class RestAPIExtension | ||||
|             var base64 = Convert.ToBase64String(Encoding.UTF8.GetBytes($"{username}:{password}")); | ||||
|             authorization = $"Basic {base64}"; | ||||
|         } | ||||
|         //RESTAPI需要无参数 | ||||
|         //RestApi需要无参数 | ||||
|         buider.UseNoneCommandParameter(true); | ||||
|         return buider; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 d4ilys
					d4ilys