C# Class ShameTheThrones.Models.RestroomSearchResultModel

Show file Open project: jasekiw/ShameTheThrones Class Usage Examples

Public Properties

Property Type Description
address string
coordX decimal
coordY decimal
description string
gender byte
id int
rated System.Boolean
rating double

Public Methods

Method Description
getFromDatabaseModel ( Restroom restroom ) : RestroomSearchResultModel
getFromDatabaseModel ( Restroom restroom, System.Boolean rating ) : RestroomSearchResultModel
getListFromDatabaseModelsList ( List restrooms ) : List

Method Details

getFromDatabaseModel() public static method

public static getFromDatabaseModel ( Restroom restroom ) : RestroomSearchResultModel
restroom ShameTheThrones.Models.DbModels.Restroom
return RestroomSearchResultModel

getFromDatabaseModel() public static method

public static getFromDatabaseModel ( Restroom restroom, System.Boolean rating ) : RestroomSearchResultModel
restroom ShameTheThrones.Models.DbModels.Restroom
rating System.Boolean
return RestroomSearchResultModel

getListFromDatabaseModelsList() public static method

public static getListFromDatabaseModelsList ( List restrooms ) : List
restrooms List
return List

Property Details

address public property

public string address
return string

coordX public property

public decimal coordX
return decimal

coordY public property

public decimal coordY
return decimal

description public property

public string description
return string

gender public property

public byte gender
return byte

id public property

public int id
return int

rated public property

public Boolean,System rated
return System.Boolean

rating public property

public double rating
return double