小编x_s*_*_xx的帖子

SQLite.Net - 不知道 System.Collections.Generic.List 故障 - Xamarin Android

我现在在这个问题上搜索了几个小时,他不知道能力是非常合乎逻辑的(因为能力尚未制造),但是你们知道如何解决这个问题吗?

这是我得到的错误信息:不知道 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)

c# sqlite orm android xamarin

5
推荐指数
1
解决办法
6934
查看次数

标签 统计

android ×1

c# ×1

orm ×1

sqlite ×1

xamarin ×1