我得到了一個xamarain SQLite表(原生Android/PCL):Xamarin的SQLite使用LINQ
[Table("Customer")]
public class Customer
{
[PrimaryKey, AutoIncrement]
public int Id { get; set; }
public Address Address{ get; set; }
}
「地址」 表示第二個表。
1)是否有可能當我打電話
connection.CreateTable<CustomerDto>();
因爲它依賴於自動創建的「地址」表?
2)是否有可能使用LINQ表達自動正確的「地址」映射到這個「客戶