wangboshun

Results 9 issues of wangboshun

报错信息:An item with the same key has already been added. 调用方法:DbFirst.GetTablesByDatabase().First().Columns;

使用ClickHouse.Client升级7.0后批量插入失败,还原为6.8.1正常。 报错异常信息: System.InvalidOperationException: Column names not initialized. Call InitAsync once to load column data at FreeSql.ClickHouse.Curd.ClickHouseInsert`1.RawExecuteAffrows() at FreeSql.ClickHouse.Curd.ClickHouseInsert`1.SplitExecuteAffrows(Int32 valuesLimit, Int32 parameterLimit) at FreeSql.ClickHouse.Curd.ClickHouseInsert`1.ExecuteAffrows() ```c# _fsql.Insert(list).NoneParameter().ExecuteAffrows(); ``` #### 数据库版本 clickhouse 23...

使用UpdateDict方法进行数据更新时报异常。 ![image](https://github.com/dotnetcore/FreeSql/assets/6279612/e6a10b6e-8403-4fb8-b9e9-1214c28f50d4) 表结构: create table if not exists test.st_pptn_r_3 ( STCD String, TM DateTime, DRP Nullable(Decimal(9, 6)), DRP_C Nullable(Int32) ) engine = ReplacingMergeTree() PARTITION BY toYYYYMMDD(TM) PRIMARY KEY (STCD, TM)...

https://docs.osharp.org/ 打不开

请问有没有支持mqtt的计划?

在使用最新版的clickhouse.client驱动7.7.3时,使用批量删除失败。 通过跟踪源代码发现是因为freesql转换的DataTable的字段顺序和clickhouse.client不一样导致的。 这个原因请问该如何解决? freesql InsertProvider文件的ToDataTable方法 ![image](https://github.com/user-attachments/assets/51650999-b48c-49e0-9bab-8b2d5c0291fc) clickhouse.client ClickHouseBulkCopy文件的LoadNamesAndTypesAsync 方法 ![image](https://github.com/user-attachments/assets/c7cb4ae1-5457-458b-ae66-0fd3c6a6d04f) ![image](https://github.com/user-attachments/assets/9c7a5070-1285-4251-a102-2338fd7b1510) clickhouse.client ClickHouseBulkCopy文件的SerializeBatch ![image](https://github.com/user-attachments/assets/57388961-c41e-41a0-93ad-f833cca86cd6) ![image](https://github.com/user-attachments/assets/644b333c-82a0-4927-a9a6-16ee5b171c89) #### 问题描述及重现代码: ```c# _fsql.Insert(list).NoneParameter().ExecuteAffrows(); 实体如下 [Table(Name = "sys_api_log")] public class ApiLogEntity { [Column(IsPrimary = true,...

### Current Behavior 批量插入时 字段的顺序变了,导致类型转换错误 ![image](https://github.com/user-attachments/assets/f48e2dc6-1869-449b-8c2f-7edd5403da56) ![image](https://github.com/user-attachments/assets/70df39c2-0c17-4770-bec5-8fa9b1fe5c02) ### Expected Behavior 能够批量插入 ### Steps To Reproduce _No response_ ### Environment ```markdown - OS: win11 - Runtime:.net8 ``` ### Anything else? _No...

bug

控制面板点击【任务日志】,显示的是api文档了。 我使用的最新版程序,sqlite进行存储。 using FreeScheduler; namespace WebApplication1 { public class Program { public static void Main(string[] args) { var builder = WebApplication.CreateBuilder(args); builder.Services.AddControllers(); var fsql = new FreeSql.FreeSqlBuilder() .UseConnectionString(FreeSql.DataType.Sqlite, "data source=task.db;max...