Exemple #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);
 }
Exemple #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));
 }
Exemple #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);
		}
Exemple #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);
		}