示例#1
0
 public void Save(DCGroup2 dcgrp)
 {
     try
     {
         Group2Detail detgrp = new Group2Detail();
         GMUtilities.GMReflectionUtils.Copy(dcgrp, detgrp);
         m_biz.Save(detgrp);
     }
     catch (Exception exp)
     { throw exp; }
     finally {}
 }
示例#2
0
 public void Get(DCGroup2 dcgrp)
 {
     try
     {
         GMUtilities.GMReflectionUtils.Copy(m_biz.Get(dcgrp.ID), dcgrp);
         dcgrp.DSUNSelected = m_optbiz.GetPermissions();
         if (dcgrp.ID.HasValue)
         {
             dcgrp.DSSelected = GMUtilities.DataUtils.DetachSelection(dcgrp.DSUNSelected, m_biz.GetPermissions(dcgrp.ID));
         }
     }
     catch (Exception exp) { throw exp; }
     finally {}
 }
示例#3
0
 public DCGroup2 Save(DCGroup2 dcgrp)
 {
     m_gf.Save(dcgrp);
     GetHeaderToken(dcgrp);
     return(dcgrp);
 }
示例#4
0
 public DCGroup2 Get(DCGroup2 dcgrp)
 {
     m_gf.Get(dcgrp);
     GetHeaderToken(dcgrp);
     return(dcgrp);
 }