///<summary></summary> public static void Update(Site site) { if(RemotingClient.RemotingRole==RemotingRole.ClientWeb) { Meth.GetVoid(MethodBase.GetCurrentMethod(),site); return; } Crud.SiteCrud.Update(site); }
///<summary></summary> public static long Insert(Site site) { if(RemotingClient.RemotingRole==RemotingRole.ClientWeb) { site.SiteNum=Meth.GetLong(MethodBase.GetCurrentMethod(),site); return site.SiteNum; } return Crud.SiteCrud.Insert(site); }