public Resource(int seatNum, ResourceType type, string name, DateTime age, float consumption) : this(seatNum,type) { this.name = name; this.age = age; this.consumption = consumption; }
internal static CarpoolingDAL.ResourceType createDALResourceTyFromResourceTy(ResourceType resourceType) { CarpoolingDAL.ResourceType nrt = new CarpoolingDAL.ResourceType(); nrt.name = resourceType.Name; return nrt; }
public Resource(int seatNum, ResourceType type) { this.seatNumber = seatNum; this.type = type; }