예제 #1
0
		///<summary></summary>
		public static void Update(Site site) {
			if(RemotingClient.RemotingRole==RemotingRole.ClientWeb) {
				Meth.GetVoid(MethodBase.GetCurrentMethod(),site);
				return;
			}
			Crud.SiteCrud.Update(site);
		}
예제 #2
0
		///<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);
		}