C# Класс Shopsterify.Database.ShopsterifyDatabase

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

DeleteShopsterProductIds() публичный Метод

public DeleteShopsterProductIds ( List productIds ) : int
productIds List
Результат int

GetShopsterUserId() публичный Метод

Use an apicontext (the authtoken and secret) to find the UserID in the db.
public GetShopsterUserId ( MyApiContext apiContext ) : int
apiContext MyApiContext
Результат int

InsertShopsterProducts() публичный Метод

For now takes a List will be refactored to take InventoryItemListType
public InsertShopsterProducts ( List items, int shopsterUser ) : int
items List
shopsterUser int
Результат int

ShopsterifyDatabase() публичный Метод

public ShopsterifyDatabase ( ) : System
Результат System

getShopsterProductIds() публичный Метод

Get all shopsterProduct Ids in Shopsterify
public getShopsterProductIds ( ) : List
Результат List

getShopsterProductIdsByUser() публичный Метод

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.
Результат List