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);
        }
Ejemplo n.º 2
0
 internal void Load(HRPaidTimeOffDataContext db, int entWFStateId, ENTNotificationEO.NotificationType notificationType)
 {
     LoadFromList(new ENTNotificationENTUserAccountData().SelectByENTWFStateId(db, entWFStateId, (int)notificationType), false);
 }
Ejemplo n.º 3
0
 public ENTNotificationENTUserAccountEO Get(ENTNotificationEO.NotificationType notificationType)
 {
     return(this.SingleOrDefault(n => n.ENTNotificationId == (int)notificationType));
 }