What is the error in this code? Why are duplicate values accepted?
public class Gateways { public long ID { get; set; } public string