Class CityProps

Assembly: redb.Examples.dll

City props for list examples (linked objects).
Used as target object for RedbListItem.Object reference.

[RedbScheme("City")]
public class CityProps

Inheritance

ObjectCityProps

Properties

Coordinates

GPS coordinates [lat, lon].

public double[] Coordinates { get; set; }

IsCapital

Is capital city?

public bool IsCapital { get; set; }

Name

City name.

public string Name { get; set; }

Population

Population count.

public int Population { get; set; }

Region

Region or district.

public string Region { get; set; }