public ServiceMethod SaveAndSynchronize(ServiceMethod serviceMethod)
        {
            Cdc.MetaManager.DataAccess.Domain.Action action = ModelService.GetDomainObject <Cdc.MetaManager.DataAccess.Domain.Action>(serviceMethod.MappedToAction.Id);

            ModelService.CreateAndSynchronizePropertyMaps(action, serviceMethod);
            serviceMethod = (DataAccess.Domain.ServiceMethod)ModelService.MergeSaveDomainObject(serviceMethod);

            return(serviceMethod);
        }
 public DAD.Action SaveOrUpdateMerge(DAD.Action action)
 {
     action = (DAD.Action)Session.Merge(action);
     HibernateTemplate.SaveOrUpdate(action);
     return(action);
 }
 public void Delete(DAD.Action action)
 {
     HibernateTemplate.Delete(action);
 }
 public DAD.Action SaveOrUpdate(DAD.Action action)
 {
     HibernateTemplate.SaveOrUpdate(action);
     return(action);
 }