public void Map(DriversLicensesReminder poco) { poco.DriverLicenseID = this.DriverLicenseID; poco.ReminderID = this.ReminderID; poco.ReminderType = this.ReminderType; poco.ShouldRemind = this.ShouldRemind; poco.HasSentReminder = this.HasSentReminder; }
public DriverLicenseReminderModel(DriversLicensesReminder poco) { this.DriverLicenseReminderID = poco.DriverLicenseReminderID; this.DriverLicenseID = poco.DriverLicenseID; this.ReminderID = poco.ReminderID; this.ReminderType = poco.ReminderType; this.ShouldRemind = poco.ShouldRemind; this.HasSentReminder = poco.HasSentReminder; }