Exemple #1
0
        public IEnumerable <FeeModel> GetWorkItems()
        {
            var ids = Context.Service_Fee.Where(p => p.Service_Id == Id)
                      .Select(p => p.Id);

            foreach (var id in ids)
            {
                var item = new FeeModel(ContextProvider);

                item.Load(id);

                yield return(item);
            }
        }
Exemple #2
0
 public void AddWorkItem(FeeModel item)
 {
     item.AssignTo(this);
 }