我正在上课:
public class Player
{
public int Id { get; set; }
public string Name { get; set; }
// May be Class A, Class B, ..., Class Z
public object[] Inventory {get; set;}
}
如何从这段代码创建sql表? EF只创建:
create table [dbo].[Players] (
[Id] [int] not null identity,
[Name] [nvarchar](max) null,
primary key ([Id])
);
没有对象[]