C# 클래스 Shopsterify.Database.ShopsterifyDatabase

파일 보기 프로젝트 열기: shopster/NconnectSter

공개 메소드들

메소드 설명
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