예제 #1
0
 ///<summary></summary>
 public static void Update(EduResource eduResource)
 {
     if (RemotingClient.RemotingRole == RemotingRole.ClientWeb)
     {
         Meth.GetVoid(MethodBase.GetCurrentMethod(), eduResource);
         return;
     }
     Crud.EduResourceCrud.Update(eduResource);
 }
예제 #2
0
 ///<summary></summary>
 public static long Insert(EduResource eduResource)
 {
     if (RemotingClient.RemotingRole == RemotingRole.ClientWeb)
     {
         eduResource.EduResourceNum = Meth.GetLong(MethodBase.GetCurrentMethod(), eduResource);
         return(eduResource.EduResourceNum);
     }
     return(Crud.EduResourceCrud.Insert(eduResource));
 }
예제 #3
0
파일: EduResources.cs 프로젝트: mnisl/OD
		///<summary></summary>
		public static void Update(EduResource eduResource) {
			if(RemotingClient.RemotingRole==RemotingRole.ClientWeb) {
				Meth.GetVoid(MethodBase.GetCurrentMethod(),eduResource);
				return;
			}
			Crud.EduResourceCrud.Update(eduResource);
		}
예제 #4
0
파일: EduResources.cs 프로젝트: mnisl/OD
		///<summary></summary>
		public static long Insert(EduResource eduResource) {
			if(RemotingClient.RemotingRole==RemotingRole.ClientWeb) {
				eduResource.EduResourceNum=Meth.GetLong(MethodBase.GetCurrentMethod(),eduResource);
				return eduResource.EduResourceNum;
			}
			return Crud.EduResourceCrud.Insert(eduResource);
		}