Exemplo n.º 1
0
        public void DeleteChildItem(D_Item_Relationship childItem)
        {
            if (childItem == null)
                throw new ArgumentNullException("childItem null");

            _itemRelationshipRepository.Delete(childItem);
        }
Exemplo n.º 2
0
 public static ItemViewModel.ChildItemLineViewModel ToModel(this D_Item_Relationship entity)
 {
     return(entity.MapTo <D_Item_Relationship, ItemViewModel.ChildItemLineViewModel>());
 }
Exemplo n.º 3
0
 public static D_Item_Relationship ToEntity(this ItemViewModel.ChildItemLineViewModel model, D_Item_Relationship destination)
 {
     return(model.MapTo(destination));
 }