internal bool Load(HRPaidTimeOffDataContext db, ENTNotificationEO.NotificationType notificationType, int entUserAccountId) { //Get the entity object from the DAL. ENTNotification eNTNotificationENTUserAccount = new ENTNotificationData().SelectByIdENTUserAccountId(db, (int)notificationType, entUserAccountId); MapEntityToProperties(eNTNotificationENTUserAccount); return(eNTNotificationENTUserAccount != null); }
internal void Load(HRPaidTimeOffDataContext db, int entWFStateId, ENTNotificationEO.NotificationType notificationType) { LoadFromList(new ENTNotificationENTUserAccountData().SelectByENTWFStateId(db, entWFStateId, (int)notificationType), false); }
public ENTNotificationENTUserAccountEO Get(ENTNotificationEO.NotificationType notificationType) { return(this.SingleOrDefault(n => n.ENTNotificationId == (int)notificationType)); }