private List <PolicyLimit> primeCasualtyLimits()
        {
            List <PolicyLimit> casualtyLimits = null;
            List <Limit>       limits         = null;

            limits = LimitManager.GetAll(LimitType.LIMIT_TYPE_CASUALTY);

            casualtyLimits = (from x in limits
                              select new PolicyLimit {
                LimitID = x.LimitID,
                Limit = x
            }).ToList <PolicyLimit>();

            return(casualtyLimits);
        }
Пример #2
0
        private List <PolicyLimit> primePropertyLimits()
        {
            List <PolicyLimit> propertyLimits = null;
            List <Limit>       limits         = null;

            limits = LimitManager.GetAll(LimitType.LIMIT_TYPE_PROPERTY);

            propertyLimits = (from x in limits
                              select new PolicyLimit {
                LimitID = x.LimitID,
                Limit = x
            }).ToList <PolicyLimit>();

            return(propertyLimits);
        }
        private List <vw_ClaimLimit> primePropertyLimits()
        {
            List <Limit>         limits         = null;
            List <vw_ClaimLimit> propertyLimits = null;

            limits = LimitManager.GetAll(LimitType.LIMIT_TYPE_PROPERTY);

            propertyLimits = (from x in limits
                              select new vw_ClaimLimit {
                LimitID = x.LimitID,
                LimitLetter = x.LimitLetter,
                LimitType = x.LimitType,
                LimitDescription = x.LimitDescription
            }).ToList <vw_ClaimLimit>();

            return(propertyLimits);
        }
        private List <vw_ClaimLimit> primeCasualtyLimits()
        {
            List <Limit>         limits         = null;
            List <vw_ClaimLimit> casualtyLimits = null;

            limits = LimitManager.GetAll(LimitType.LIMIT_TYPE_CASUALTY);

            casualtyLimits = (from x in limits
                              select new vw_ClaimLimit {
                LimitID = x.LimitID,
                LimitLetter = x.LimitLetter,
                LimitType = x.LimitType,
                LimitDescription = x.LimitDescription
            }).ToList <vw_ClaimLimit>();

            return(casualtyLimits);
        }