C# Class ShameTheThrones.Models.RestroomSearchResultModel

Exibir arquivo 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_oe property

public string address
return string

coordX public_oe property

public decimal coordX
return decimal

coordY public_oe property

public decimal coordY
return decimal

description public_oe property

public string description
return string

gender public_oe property

public byte gender
return byte

id public_oe property

public int id
return int

rated public_oe property

public Boolean,System rated
return System.Boolean

rating public_oe property

public double rating
return double