这错误怎么办, 这个表的主键是多个,没有自增长ID 返回
English Message : This type of Dictionary is not supported for the time being. You can try Dictionary<string, string>, or contact the author!!
Chinese Message : 暂时不支持该类型的Dictionary 你可以试试 Dictionary<string ,string>或者联系作者!!
public class PlatfromTagKeyValuePair
{
/// <summary>
/// 平台
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
public int PlatfromId { get; set; }
/// <summary>
/// 关键字
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
public int KeyWord { get; set; }
/// <summary>
/// 值
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
public int Value { get; set; }
/// <summary>
/// 类型
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
public int KeyValueTypeId { get; set; }
public DateTime CreatedTime { get; set; } = DateTime.Now;
/// <summary>
/// 使用次数
/// </summary>
public int UseNumber { get; set; } = 1;
}
系统在转换模型的时候出错了,哪位大侠有对应的解决方案的?
热忱回答(1)
-
fate stay night VIP0
2019/6/5这个会修复的
0 回复