C# Class ShameTheThrones.Models.rating.RatingModel

显示文件 Open project: jasekiw/ShameTheThrones Class Usage Examples

Public Properties

Property Type Description
UserId int

Private Properties

Property Type Description

Public Methods

Method Description
RatingModel ( ) : System.ComponentModel.DataAnnotations
RatingModel ( Rating rating ) : System.ComponentModel.DataAnnotations
add ( ) : void
getLatestRatings ( ) : RatingListModel

Method Details

RatingModel() public method

public RatingModel ( ) : System.ComponentModel.DataAnnotations
return System.ComponentModel.DataAnnotations

RatingModel() public method

public RatingModel ( Rating rating ) : System.ComponentModel.DataAnnotations
rating ShameTheThrones.Models.DbModels.Rating
return System.ComponentModel.DataAnnotations

add() public method

public add ( ) : void
return void

getLatestRatings() public static method

public static getLatestRatings ( ) : RatingListModel
return RatingListModel

Property Details

UserId public_oe property

public int UserId
return int