C# Class DataStoreLib.Storage.IStoreHelpers

Show file Open project: viren85/moviemirchi

Public Methods

Method Description
GetAffilationById ( this store, string id ) : AffilationEntity

Return the Affiliation by affiliation id

GetArtistMovies ( this store, string artistName ) : IEnumerable
GetCurrentMovies ( this store ) : IEnumerable

Return the runing movie

GetGenrewiseMovies ( this store, string genre ) : IEnumerable
GetMovieById ( this store, string id ) : MovieEntity

Return the movie By MovieId

GetMovieByUniqueName ( this store, string name ) : MovieEntity

Return the Movie name

GetNewsItems ( this store ) : IEnumerable
GetPopularOnMovieMirchiById ( this store, string id ) : PopularOnMovieMirchiEntity
GetReviewById ( this store, string id ) : ReviewEntity

Return the Review by the Id

GetReviewByMovieId ( this store, string movieId ) : List
GetReviewDetailById ( this store, string reviewerId, string movieId ) : ReviewEntity

Return the review detail by its id

GetReviewerById ( this store, string id ) : ReviewerEntity

Return the reviewer by Reviewerid

GetSortedAffilationByName ( this store ) : List

Return the list of Affiliation name in the sorted order

GetSortedMoviesByName ( this store ) : IEnumerable

Return the movie name in sorted order

GetSortedReviewerByName ( this store ) : List

Return the Reviewer name in sorted order

GetUpcomingMovies ( this store ) : IEnumerable
GetUserById ( this store, string userId ) : UserEntity

Return particular User By Id

GetUserByName ( this store, string userName ) : UserEntity

Return the user if key(Name) found

GetUserFavoriteById ( this store, string id ) : UserFavoriteEntity
IsTweetExist ( this store, string tweetId ) : bool
SearchCharacter ( this store, string searchText ) : IEnumerable
SearchMovies ( this store, string searchText ) : IEnumerable
SearchMoviesByActor ( this store, string searchText ) : IEnumerable
SearchSongs ( this store, string searchText ) : IEnumerable
SearchTitle ( this store, string searchText ) : IEnumerable
SearchTrailer ( this store, string searchText ) : IEnumerable
SearchUser ( this store, string searchText ) : List

Return the List of UserName

UpdateAffilationById ( this store, AffilationEntity affilation ) : bool

Update the affiliation by Affiliation id

UpdateArtistById ( this store, ArtistEntity artist ) : bool
UpdateMovieById ( this store, MovieEntity movie ) : bool

Update the movie detail by its id

UpdateNewsById ( this store, IEnumerable news ) : bool
UpdatePopularOnMovieMirchiId ( this store, PopularOnMovieMirchiEntity popularOnMovieMirchi ) : bool
UpdateReviewById ( this store, ReviewEntity review ) : bool

Update the review by its id

UpdateReviewRating ( this store, string reviewId, string rating ) : bool
UpdateReviewerById ( this store, ReviewerEntity reviewer ) : bool

Update the reviewer by reviewerid

UpdateTweetById ( this store, TwitterEntity tweet ) : bool
UpdateUserById ( this store, UserEntity user ) : bool

Return update the user if user is found

UpdateUserFavoriteById ( this store, UserFavoriteEntity userFavorite ) : bool

Method Details

GetAffilationById() public static method

Return the Affiliation by affiliation id
public static GetAffilationById ( this store, string id ) : AffilationEntity
store this
id string
return DataStoreLib.Models.AffilationEntity

GetArtistMovies() public static method

public static GetArtistMovies ( this store, string artistName ) : IEnumerable
store this
artistName string
return IEnumerable

GetCurrentMovies() public static method

Return the runing movie
public static GetCurrentMovies ( this store ) : IEnumerable
store this
return IEnumerable

GetGenrewiseMovies() public static method

public static GetGenrewiseMovies ( this store, string genre ) : IEnumerable
store this
genre string
return IEnumerable

GetMovieById() public static method

Return the movie By MovieId
public static GetMovieById ( this store, string id ) : MovieEntity
store this
id string
return DataStoreLib.Models.MovieEntity

GetMovieByUniqueName() public static method

Return the Movie name
public static GetMovieByUniqueName ( this store, string name ) : MovieEntity
store this
name string
return DataStoreLib.Models.MovieEntity

GetNewsItems() public static method

public static GetNewsItems ( this store ) : IEnumerable
store this
return IEnumerable

GetPopularOnMovieMirchiById() public static method

public static GetPopularOnMovieMirchiById ( this store, string id ) : PopularOnMovieMirchiEntity
store this
id string
return PopularOnMovieMirchiEntity

GetReviewById() public static method

Return the Review by the Id
public static GetReviewById ( this store, string id ) : ReviewEntity
store this
id string
return ReviewEntity

GetReviewByMovieId() public static method

public static GetReviewByMovieId ( this store, string movieId ) : List
store this
movieId string
return List

GetReviewDetailById() public static method

Return the review detail by its id
public static GetReviewDetailById ( this store, string reviewerId, string movieId ) : ReviewEntity
store this
reviewerId string
movieId string
return ReviewEntity

GetReviewerById() public static method

Return the reviewer by Reviewerid
public static GetReviewerById ( this store, string id ) : ReviewerEntity
store this
id string
return ReviewerEntity

GetSortedAffilationByName() public static method

Return the list of Affiliation name in the sorted order
public static GetSortedAffilationByName ( this store ) : List
store this
return List

GetSortedMoviesByName() public static method

Return the movie name in sorted order
public static GetSortedMoviesByName ( this store ) : IEnumerable
store this
return IEnumerable

GetSortedReviewerByName() public static method

Return the Reviewer name in sorted order
public static GetSortedReviewerByName ( this store ) : List
store this
return List

GetUpcomingMovies() public static method

public static GetUpcomingMovies ( this store ) : IEnumerable
store this
return IEnumerable

GetUserById() public static method

Return particular User By Id
public static GetUserById ( this store, string userId ) : UserEntity
store this
userId string
return UserEntity

GetUserByName() public static method

Return the user if key(Name) found
public static GetUserByName ( this store, string userName ) : UserEntity
store this
userName string
return UserEntity

GetUserFavoriteById() public static method

public static GetUserFavoriteById ( this store, string id ) : UserFavoriteEntity
store this
id string
return UserFavoriteEntity

IsTweetExist() public static method

public static IsTweetExist ( this store, string tweetId ) : bool
store this
tweetId string
return bool

SearchCharacter() public static method

public static SearchCharacter ( this store, string searchText ) : IEnumerable
store this
searchText string
return IEnumerable

SearchMovies() public static method

public static SearchMovies ( this store, string searchText ) : IEnumerable
store this
searchText string
return IEnumerable

SearchMoviesByActor() public static method

public static SearchMoviesByActor ( this store, string searchText ) : IEnumerable
store this
searchText string
return IEnumerable

SearchSongs() public static method

public static SearchSongs ( this store, string searchText ) : IEnumerable
store this
searchText string
return IEnumerable

SearchTitle() public static method

public static SearchTitle ( this store, string searchText ) : IEnumerable
store this
searchText string
return IEnumerable

SearchTrailer() public static method

public static SearchTrailer ( this store, string searchText ) : IEnumerable
store this
searchText string
return IEnumerable

SearchUser() public static method

Return the List of UserName
public static SearchUser ( this store, string searchText ) : List
store this
searchText string
return List

UpdateAffilationById() public static method

Update the affiliation by Affiliation id
public static UpdateAffilationById ( this store, AffilationEntity affilation ) : bool
store this
affilation AffilationEntity
return bool

UpdateArtistById() public static method

public static UpdateArtistById ( this store, ArtistEntity artist ) : bool
store this
artist ArtistEntity
return bool

UpdateMovieById() public static method

Update the movie detail by its id
public static UpdateMovieById ( this store, MovieEntity movie ) : bool
store this
movie MovieEntity
return bool

UpdateNewsById() public static method

public static UpdateNewsById ( this store, IEnumerable news ) : bool
store this
news IEnumerable
return bool

UpdatePopularOnMovieMirchiId() public static method

public static UpdatePopularOnMovieMirchiId ( this store, PopularOnMovieMirchiEntity popularOnMovieMirchi ) : bool
store this
popularOnMovieMirchi PopularOnMovieMirchiEntity
return bool

UpdateReviewById() public static method

Update the review by its id
public static UpdateReviewById ( this store, ReviewEntity review ) : bool
store this
review ReviewEntity
return bool

UpdateReviewRating() public static method

public static UpdateReviewRating ( this store, string reviewId, string rating ) : bool
store this
reviewId string
rating string
return bool

UpdateReviewerById() public static method

Update the reviewer by reviewerid
public static UpdateReviewerById ( this store, ReviewerEntity reviewer ) : bool
store this
reviewer ReviewerEntity
return bool

UpdateTweetById() public static method

public static UpdateTweetById ( this store, TwitterEntity tweet ) : bool
store this
tweet TwitterEntity
return bool

UpdateUserById() public static method

Return update the user if user is found
public static UpdateUserById ( this store, UserEntity user ) : bool
store this
user UserEntity
return bool

UpdateUserFavoriteById() public static method

public static UpdateUserFavoriteById ( this store, UserFavoriteEntity userFavorite ) : bool
store this
userFavorite UserFavoriteEntity
return bool