Пример #1
0
		///<summary></summary>
		public static void Update(RecallType recallType) {
			if(RemotingClient.RemotingRole==RemotingRole.ClientWeb) {
				Meth.GetVoid(MethodBase.GetCurrentMethod(),recallType);
				return;
			}
			Crud.RecallTypeCrud.Update(recallType);
		}
Пример #2
0
		///<summary></summary>
		public static long Insert(RecallType recallType) {
			if(RemotingClient.RemotingRole==RemotingRole.ClientWeb) {
				recallType.RecallTypeNum=Meth.GetLong(MethodBase.GetCurrentMethod(),recallType);
				return recallType.RecallTypeNum;
			}
			return Crud.RecallTypeCrud.Insert(recallType);
		}
Пример #3
0
 ///<summary></summary>
 public static long Insert(RecallType recallType)
 {
     if (RemotingClient.RemotingRole == RemotingRole.ClientWeb)
     {
         recallType.RecallTypeNum = Meth.GetLong(MethodBase.GetCurrentMethod(), recallType);
         return(recallType.RecallTypeNum);
     }
     return(Crud.RecallTypeCrud.Insert(recallType));
 }
Пример #4
0
 ///<summary></summary>
 public static void Update(RecallType recallType)
 {
     if (RemotingClient.RemotingRole == RemotingRole.ClientWeb)
     {
         Meth.GetVoid(MethodBase.GetCurrentMethod(), recallType);
         return;
     }
     Crud.RecallTypeCrud.Update(recallType);
 }