1
我有一個帶有包含productid和productname的表的windows移動服務。我正在使用Azure移動服務同步服務與雲同步數據。但我找不到在客戶端爲表定義索引的方法。如何使用windows Azure移動服務定義sqlite表的索引sqlite store
public class Product
{
public string id;
[JsonProperty(PropertyName = "ProductCode")]
public int ProductCode{ get; set; }
[JsonProperty(PropertyName = "ProductName")]
public string ProductName { get; set; }
}
我定義表作爲
var store = new MobileServiceSQLiteStore("sqlite.db");
store.DefineTable<Product>();
現在我該怎樣在SQLite表定義的索引。?我無法找到任何方式在msdn或任何其他論壇。
你有沒有找到答案? –
你有沒有找到任何解決方案? –