Exemple #1
0
 public void InsertAttributeForImage(string str)
 {
     if (Selected != null)
     {
         //update the left Attributes, add attributes from each image to all attributes
         Attribute att = new Attribute();
         att.Name = str;
         int result = new DatabaseContext <Attribute>().Insert(att);
         AttributesTableSource.ReloadDataAll();
         attributesTableViewController.ReloadTableData();
     }
 }
 public override void ViewWillAppear(bool animated)
 {
     base.ViewWillAppear(animated);
     AttributesTableSource.ReloadDataAll();
     attributesTableViewController.ReloadTableData();
 }