C# Class Shopsterify.Database.ShopsterifyDatabase

Afficher le fichier Open project: shopster/NconnectSter

Méthodes publiques

Méthode Description
DeleteShopsterProductIds ( List productIds ) : int

GetShopsterUserId ( MyApiContext apiContext ) : int

Use an apicontext (the authtoken and secret) to find the UserID in the db.

InsertShopsterProducts ( List items, int shopsterUser ) : int

For now takes a List will be refactored to take InventoryItemListType

ShopsterifyDatabase ( ) : System
getShopsterProductIds ( ) : List

Get all shopsterProduct Ids in Shopsterify

getShopsterProductIdsByUser ( int userId ) : List

Get all shopster product ids in Shopsterify, filtered by userId Parameter.

Method Details

DeleteShopsterProductIds() public méthode

public DeleteShopsterProductIds ( List productIds ) : int
productIds List
Résultat int

GetShopsterUserId() public méthode

Use an apicontext (the authtoken and secret) to find the UserID in the db.
public GetShopsterUserId ( MyApiContext apiContext ) : int
apiContext MyApiContext
Résultat int

InsertShopsterProducts() public méthode

For now takes a List will be refactored to take InventoryItemListType
public InsertShopsterProducts ( List items, int shopsterUser ) : int
items List
shopsterUser int
Résultat int

ShopsterifyDatabase() public méthode

public ShopsterifyDatabase ( ) : System
Résultat System

getShopsterProductIds() public méthode

Get all shopsterProduct Ids in Shopsterify
public getShopsterProductIds ( ) : List
Résultat List

getShopsterProductIdsByUser() public méthode

Get all shopster product ids in Shopsterify, filtered by userId Parameter.
public getShopsterProductIdsByUser ( int userId ) : List
userId int Filter the select statement by this id.
Résultat List