C# 클래스 Kooboo.Commerce.Recommendations.Engine.Storage.Sqlce.Behaviors.SqlceBehaviorStore

상속: IBehaviorStore
파일 보기 프로젝트 열기: Kooboo/Ecommerce

공개 메소드들

메소드 설명
GetAllItems ( ) : IEnumerable
GetBehaviorTimestamp ( string userId, string itemId ) : System.DateTime
GetItemsUserHadBehaviorsOn ( string userId, int take ) : IEnumerable
GetRecentBehaviors ( int count ) : IEnumerable
GetTotalUsersHadBehaviorsOn ( string itemId ) : int
GetUserActiveRate ( string userId ) : int
GetUsersHadBehaviorsOnBoth ( string item1, string item2 ) : IEnumerable
SaveBehaviors ( IEnumerable behaviors ) : void
SqlceBehaviorStore ( string instanceName, string behaviorType ) : System

비공개 메소드들

메소드 설명
CreateDbContext ( ) : BehaviorDbContext

메소드 상세

GetAllItems() 공개 메소드

public GetAllItems ( ) : IEnumerable
리턴 IEnumerable

GetBehaviorTimestamp() 공개 메소드

public GetBehaviorTimestamp ( string userId, string itemId ) : System.DateTime
userId string
itemId string
리턴 System.DateTime

GetItemsUserHadBehaviorsOn() 공개 메소드

public GetItemsUserHadBehaviorsOn ( string userId, int take ) : IEnumerable
userId string
take int
리턴 IEnumerable

GetRecentBehaviors() 공개 메소드

public GetRecentBehaviors ( int count ) : IEnumerable
count int
리턴 IEnumerable

GetTotalUsersHadBehaviorsOn() 공개 메소드

public GetTotalUsersHadBehaviorsOn ( string itemId ) : int
itemId string
리턴 int

GetUserActiveRate() 공개 메소드

public GetUserActiveRate ( string userId ) : int
userId string
리턴 int

GetUsersHadBehaviorsOnBoth() 공개 메소드

public GetUsersHadBehaviorsOnBoth ( string item1, string item2 ) : IEnumerable
item1 string
item2 string
리턴 IEnumerable

SaveBehaviors() 공개 메소드

public SaveBehaviors ( IEnumerable behaviors ) : void
behaviors IEnumerable
리턴 void

SqlceBehaviorStore() 공개 메소드

public SqlceBehaviorStore ( string instanceName, string behaviorType ) : System
instanceName string
behaviorType string
리턴 System