Beispiel #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);
 }
Beispiel #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));
 }
Beispiel #3
0
		///<summary></summary>
		public static void Update(EduResource eduResource) {
			if(RemotingClient.RemotingRole==RemotingRole.ClientWeb) {
				Meth.GetVoid(MethodBase.GetCurrentMethod(),eduResource);
				return;
			}
			Crud.EduResourceCrud.Update(eduResource);
		}
Beispiel #4
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);
		}