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