我现在在这个问题上搜索了几个小时,他不知道能力是非常合乎逻辑的(因为能力尚未制造),但是你们知道如何解决这个问题吗?
这是我得到的错误信息:不知道 System.Collections.Generic.List`1[pokedex.Ability]
我的课程:-能力
[Table ("Ability")]
public class Ability
{
[PrimaryKey,AutoIncrement]
public int Id { get; set; }
public String name{ get; set; }
[ManyToMany (typeof(PokemonAbility))]
public List<Pokemon> pokemon{ get; set; }
public Ability (String n)
{
name = n;
}
}
Run Code Online (Sandbox Code Playgroud)
-口袋妖怪:
[Table ("Pokemon")]
public class Pokemon
{
[PrimaryKey,AutoIncrement]
public int DBId { get; set; }
public int id { get; set; }
public String name{ get; set; }
public String type{ get; set; }
public String image{ get; …Run Code Online (Sandbox Code Playgroud)