Méthode | Description | |
---|---|---|
AddNewList ( |
Adding new list to collection and save it to local database
|
|
AddNewListItem ( |
Adding new list item to list
|
|
AddNewStore ( |
Add new store to list
|
|
ChangeItemStatus ( |
Change item status. If status was 'Unchecked' -> change to 'Checked', else if status was 'Checked' -> change to 'Unchecked'
|
|
DeleteList ( |
Delete list from database
|
|
DeleteListItem ( |
Delete item from list permanently
|
|
DeleteStore ( string storeName ) : void | ||
LoadData ( ) : void | ||
LoadStoresPerItem ( int itemId ) : IEnumerable |
Load stores per one list item
|
|
MoveItemToAnotherList ( |
Move item to another list
|
|
PickItem ( |
Set current item status to 'Picked'
|
|
RenameList ( |
Rename list
|
|
RenameStore ( string storeName, string newName ) : void | ||
ShoppingListViewModel ( string toDoDBConnectionString ) : System | ||
UpdateItemPriority ( |
Update item priority
|
|
UpdateItemQuantity ( |
Update item quantity
|
|
UpdateItemStatus ( |
Update list item status
|
|
UpdateListFilterStore ( |
||
UpdateListFilterTag ( |
||
UpdateListItem ( int listID, int ID, string name, int quantity, string units, float price, string tags, int priority, string note ) : void |
Update item fields
|
|
UpdateRelationship ( int itemId, string storeName, bool isCheck, string aisle, float price ) : void |
Méthode | Description | |
---|---|---|
NotifyPropertyChanged ( String propertyName ) : void |
public AddNewList ( |
||
newList | Instance of new adding list | |
Résultat | void |
public AddNewListItem ( |
||
currentList | Instance of list to which add new item | |
newListItem | Instance of new item to be added | |
Résultat | void |
public AddNewStore ( |
||
list | Instance of list in which store will be added | |
store | Instance of store to be added | |
Résultat | void |
public ChangeItemStatus ( |
||
currentList | Instance of list containing item to be changed | |
item | Instance of item to be updated | |
Résultat | void |
public DeleteList ( |
||
delList | List to be deleted | |
Résultat | void |
public DeleteListItem ( |
||
delItem | Item to be deleted permanently | |
Résultat | void |
public DeleteStore ( string storeName ) : void | ||
storeName | string | |
Résultat | void |
public LoadStoresPerItem ( int itemId ) : IEnumerable |
||
itemId | int | Item ID stores of which need to return |
Résultat | IEnumerable |
public MoveItemToAnotherList ( |
||
oldList | Instance of old item list | |
newList | Instance of new item list | |
listItem | Instance of item to be moved | |
Résultat | void |
public PickItem ( |
||
item | Instance of item to be picked | |
Résultat | void |
public RenameList ( |
||
renameList | List to be renamed | |
newName | string | New list name |
Résultat | void |
public RenameStore ( string storeName, string newName ) : void | ||
storeName | string | |
newName | string | |
Résultat | void |
public ShoppingListViewModel ( string toDoDBConnectionString ) : System | ||
toDoDBConnectionString | string | |
Résultat | System |
public UpdateItemPriority ( |
||
item | Instance of item to be updated | |
newPriority | int | |
Résultat | void |
public UpdateItemQuantity ( |
||
item | Instance of item to be updated | |
newQuantity | int | New item quantity |
Résultat | void |
public UpdateItemStatus ( |
||
item | Instance of list item to be updated | |
status | bool | New list item status |
Résultat | void |
public UpdateListFilterStore ( |
||
list | ||
filterStore | string | |
Résultat | void |
public UpdateListFilterTag ( |
||
list | ||
filterTag | string | |
Résultat | void |
public UpdateListItem ( int listID, int ID, string name, int quantity, string units, float price, string tags, int priority, string note ) : void | ||
listID | int | List ID containing item to be updated |
ID | int | ID of item to be updated |
name | string | New item name |
quantity | int | New item quantity |
units | string | New item units |
price | float | New item price |
tags | string | New item tags |
priority | int | New item priority |
note | string | New item note |
Résultat | void |
public UpdateRelationship ( int itemId, string storeName, bool isCheck, string aisle, float price ) : void | ||
itemId | int | |
storeName | string | |
isCheck | bool | |
aisle | string | |
price | float | |
Résultat | void |