C# Class DataStoreLib.Storage.TableManager

Inheritance: IStore
显示文件 Open project: viren85/moviemirchi Class Usage Examples

Public Methods

Method Description
DeleteNewsItemById ( List newsIds ) : bool
DeleteTwitterItemById ( List twitterIds ) : bool
GetAffilationsByid ( IEnumerable ids ) : AffilationEntity>.IDictionary

Return the affiliations by id

GetAllAffilation ( ) : AffilationEntity>.IDictionary

Return all affiliations

GetAllArtist ( string artistName ) : IEnumerable
GetAllMovies ( ) : MovieEntity>.IDictionary

Return the all Movies

GetAllReviewer ( ) : ReviewerEntity>.IDictionary

Return all reviewer

GetAllReviewer ( string reviewerName ) : IEnumerable
GetAllUser ( ) : UserEntity>.IDictionary

Return the all user

GetArtist ( string artistName ) : ArtistEntity
GetArtistMovies ( ) : MovieEntity>.IDictionary
GetGenrewiseMovies ( ) : MovieEntity>.IDictionary
GetMoviesById ( IEnumerable ids ) : MovieEntity>.IDictionary

Return the movies by its id

GetMoviesByUniqueName ( string name ) : MovieEntity>.IDictionary

Return the list of movies by uniqueName

GetNewsById ( IEnumerable ids ) : NewsEntity>.IDictionary
GetNewsItems ( ) : NewsEntity>.IDictionary
GetPopularOnMovieMirchisById ( IEnumerable ids ) : PopularOnMovieMirchiEntity>.IDictionary
GetRecentNews ( int startIndex, int pageSize = 20 ) : IEnumerable
GetRecentTweets ( int startIndex, int pageSize = 20 ) : IEnumerable
GetRecentTweets ( string tweetType, string name, int startIndex, int pageSize = 20 ) : IEnumerable
GetReviewerById ( IEnumerable reviewerIds ) : ReviewerEntity>.IDictionary

Return the reviewer by id

GetReviewersById ( IEnumerable ids ) : Models.ReviewerEntity>.IDictionary

Return the List of reviewers by its id

GetReviewsById ( IEnumerable ids ) : ReviewEntity>.IDictionary

return the reviews by review id

GetReviewsByMovieId ( string movieId ) : Models.ReviewEntity>.IDictionary

Return the reviews by movieid

GetReviewsByReviewer ( string reviewerName ) : ReviewEntity>.IDictionary

Return the reviews by the reviewerid

GetReviewsDetailById ( string reviewerId, string movieId ) : ReviewEntity>.IDictionary

Return the reviews detail on the basis of reviewerid and movieid

GetTweetById ( string id ) : TwitterEntity>.IDictionary
GetUserFavoritesById ( IEnumerable ids ) : UserFavoriteEntity>.IDictionary
GetUserFavoritesByUserId ( string userId ) : UserFavoriteEntity
GetUsersById ( IEnumerable userIds ) : UserEntity>.IDictionary

Return the users by its id

GetUsersByName ( string userName ) : UserEntity>.IDictionary

Return the List of all UserName

IsTweetExist ( IEnumerable ids ) : bool

TODO: Please add comments here

UpdateAffilationsById ( IEnumerable affilations ) : bool>.IDictionary

Update the affiliation by id

UpdateArtistItemById ( IEnumerable artist ) : bool>.IDictionary
UpdateMoviesById ( IEnumerable movies ) : bool>.IDictionary

Update the movies by id

UpdateNewsItemById ( IEnumerable news ) : bool>.IDictionary
UpdatePopularOnMovieMirchisById ( IEnumerable popularOnMovieMirchis ) : bool>.IDictionary
UpdateReviewRating ( string reviewId, string rating ) : bool

Update the review rating

UpdateReviewers ( IEnumerable reviewers ) : bool>.IDictionary

Return the list of reviewers to update

UpdateReviewesByReviewerId ( IEnumerable reviews ) : bool>.IDictionary

Return the list of reviewes bu reviewerId

UpdateReviewesByReviewerId ( IEnumerable ids ) : ReviewEntity>.IDictionary

Update Reviewes by reviewerId

UpdateReviewsById ( IEnumerable reviews ) : bool>.IDictionary

Update the reviews by id

UpdateTweetById ( IEnumerable tweets ) : bool>.IDictionary
UpdateUserFavoritesById ( IEnumerable userFavorites ) : bool>.IDictionary
UpdateUsersById ( IEnumerable users ) : bool>.IDictionary

Update the user by its Id

Method Details

DeleteNewsItemById() public method

public DeleteNewsItemById ( List newsIds ) : bool
newsIds List
return bool

DeleteTwitterItemById() public method

public DeleteTwitterItemById ( List twitterIds ) : bool
twitterIds List
return bool

GetAffilationsByid() public method

Return the affiliations by id
public GetAffilationsByid ( IEnumerable ids ) : AffilationEntity>.IDictionary
ids IEnumerable
return AffilationEntity>.IDictionary

GetAllAffilation() public method

Return all affiliations
public GetAllAffilation ( ) : AffilationEntity>.IDictionary
return AffilationEntity>.IDictionary

GetAllArtist() public method

public GetAllArtist ( string artistName ) : IEnumerable
artistName string
return IEnumerable

GetAllMovies() public method

Return the all Movies
public GetAllMovies ( ) : MovieEntity>.IDictionary
return MovieEntity>.IDictionary

GetAllReviewer() public method

Return all reviewer
public GetAllReviewer ( ) : ReviewerEntity>.IDictionary
return ReviewerEntity>.IDictionary

GetAllReviewer() public method

public GetAllReviewer ( string reviewerName ) : IEnumerable
reviewerName string
return IEnumerable

GetAllUser() public method

Return the all user
public GetAllUser ( ) : UserEntity>.IDictionary
return UserEntity>.IDictionary

GetArtist() public method

public GetArtist ( string artistName ) : ArtistEntity
artistName string
return DataStoreLib.Models.ArtistEntity

GetArtistMovies() public method

public GetArtistMovies ( ) : MovieEntity>.IDictionary
return MovieEntity>.IDictionary

GetGenrewiseMovies() public method

public GetGenrewiseMovies ( ) : MovieEntity>.IDictionary
return MovieEntity>.IDictionary

GetMoviesById() public method

Return the movies by its id
public GetMoviesById ( IEnumerable ids ) : MovieEntity>.IDictionary
ids IEnumerable
return MovieEntity>.IDictionary

GetMoviesByUniqueName() public method

Return the list of movies by uniqueName
public GetMoviesByUniqueName ( string name ) : MovieEntity>.IDictionary
name string
return MovieEntity>.IDictionary

GetNewsById() public method

public GetNewsById ( IEnumerable ids ) : NewsEntity>.IDictionary
ids IEnumerable
return NewsEntity>.IDictionary

GetNewsItems() public method

public GetNewsItems ( ) : NewsEntity>.IDictionary
return NewsEntity>.IDictionary

GetPopularOnMovieMirchisById() public method

public GetPopularOnMovieMirchisById ( IEnumerable ids ) : PopularOnMovieMirchiEntity>.IDictionary
ids IEnumerable
return PopularOnMovieMirchiEntity>.IDictionary

GetRecentNews() public method

public GetRecentNews ( int startIndex, int pageSize = 20 ) : IEnumerable
startIndex int
pageSize int
return IEnumerable

GetRecentTweets() public method

public GetRecentTweets ( int startIndex, int pageSize = 20 ) : IEnumerable
startIndex int
pageSize int
return IEnumerable

GetRecentTweets() public method

public GetRecentTweets ( string tweetType, string name, int startIndex, int pageSize = 20 ) : IEnumerable
tweetType string
name string
startIndex int
pageSize int
return IEnumerable

GetReviewerById() public method

Return the reviewer by id
public GetReviewerById ( IEnumerable reviewerIds ) : ReviewerEntity>.IDictionary
reviewerIds IEnumerable
return ReviewerEntity>.IDictionary

GetReviewersById() public method

Return the List of reviewers by its id
public GetReviewersById ( IEnumerable ids ) : Models.ReviewerEntity>.IDictionary
ids IEnumerable
return Models.ReviewerEntity>.IDictionary

GetReviewsById() public method

return the reviews by review id
public GetReviewsById ( IEnumerable ids ) : ReviewEntity>.IDictionary
ids IEnumerable
return ReviewEntity>.IDictionary

GetReviewsByMovieId() public method

Return the reviews by movieid
public GetReviewsByMovieId ( string movieId ) : Models.ReviewEntity>.IDictionary
movieId string
return Models.ReviewEntity>.IDictionary

GetReviewsByReviewer() public method

Return the reviews by the reviewerid
public GetReviewsByReviewer ( string reviewerName ) : ReviewEntity>.IDictionary
reviewerName string
return ReviewEntity>.IDictionary

GetReviewsDetailById() public method

Return the reviews detail on the basis of reviewerid and movieid
public GetReviewsDetailById ( string reviewerId, string movieId ) : ReviewEntity>.IDictionary
reviewerId string
movieId string
return ReviewEntity>.IDictionary

GetTweetById() public method

public GetTweetById ( string id ) : TwitterEntity>.IDictionary
id string
return TwitterEntity>.IDictionary

GetUserFavoritesById() public method

public GetUserFavoritesById ( IEnumerable ids ) : UserFavoriteEntity>.IDictionary
ids IEnumerable
return UserFavoriteEntity>.IDictionary

GetUserFavoritesByUserId() public method

public GetUserFavoritesByUserId ( string userId ) : UserFavoriteEntity
userId string
return DataStoreLib.Models.UserFavoriteEntity

GetUsersById() public method

Return the users by its id
public GetUsersById ( IEnumerable userIds ) : UserEntity>.IDictionary
userIds IEnumerable
return UserEntity>.IDictionary

GetUsersByName() public method

Return the List of all UserName
public GetUsersByName ( string userName ) : UserEntity>.IDictionary
userName string
return UserEntity>.IDictionary

IsTweetExist() public method

TODO: Please add comments here
public IsTweetExist ( IEnumerable ids ) : bool
ids IEnumerable
return bool

UpdateAffilationsById() public method

Update the affiliation by id
public UpdateAffilationsById ( IEnumerable affilations ) : bool>.IDictionary
affilations IEnumerable
return bool>.IDictionary

UpdateArtistItemById() public method

public UpdateArtistItemById ( IEnumerable artist ) : bool>.IDictionary
artist IEnumerable
return bool>.IDictionary

UpdateMoviesById() public method

Update the movies by id
public UpdateMoviesById ( IEnumerable movies ) : bool>.IDictionary
movies IEnumerable
return bool>.IDictionary

UpdateNewsItemById() public method

public UpdateNewsItemById ( IEnumerable news ) : bool>.IDictionary
news IEnumerable
return bool>.IDictionary

UpdatePopularOnMovieMirchisById() public method

public UpdatePopularOnMovieMirchisById ( IEnumerable popularOnMovieMirchis ) : bool>.IDictionary
popularOnMovieMirchis IEnumerable
return bool>.IDictionary

UpdateReviewRating() public method

Update the review rating
public UpdateReviewRating ( string reviewId, string rating ) : bool
reviewId string
rating string
return bool

UpdateReviewers() public method

Return the list of reviewers to update
public UpdateReviewers ( IEnumerable reviewers ) : bool>.IDictionary
reviewers IEnumerable
return bool>.IDictionary

UpdateReviewesByReviewerId() public method

Return the list of reviewes bu reviewerId
public UpdateReviewesByReviewerId ( IEnumerable reviews ) : bool>.IDictionary
reviews IEnumerable
return bool>.IDictionary

UpdateReviewesByReviewerId() public method

Update Reviewes by reviewerId
public UpdateReviewesByReviewerId ( IEnumerable ids ) : ReviewEntity>.IDictionary
ids IEnumerable
return ReviewEntity>.IDictionary

UpdateReviewsById() public method

Update the reviews by id
public UpdateReviewsById ( IEnumerable reviews ) : bool>.IDictionary
reviews IEnumerable
return bool>.IDictionary

UpdateTweetById() public method

public UpdateTweetById ( IEnumerable tweets ) : bool>.IDictionary
tweets IEnumerable
return bool>.IDictionary

UpdateUserFavoritesById() public method

public UpdateUserFavoritesById ( IEnumerable userFavorites ) : bool>.IDictionary
userFavorites IEnumerable
return bool>.IDictionary

UpdateUsersById() public method

Update the user by its Id
public UpdateUsersById ( IEnumerable users ) : bool>.IDictionary
users IEnumerable
return bool>.IDictionary