假设你的类型定义如下
class A
{
public string A1{get;set;}
public int A2{get;set;}
public List<List<string>> A3{get;set;}
}
表A:
ID int not null, 主键
A1 nvarchar(255) not null
A2 int not null
表A3:
ID int not null 主键
AID int,外键,对应A表的主键
Key int not null
Value nvarchar(255) not null
A表不用解释,A3表的Key就是List<List<string>>第一级(红色)的下标,string的具体内容就存在Value里