Esempio n. 1
0
		///<summary></summary>
		public static void Update(TaskNote taskNote){
			if(RemotingClient.RemotingRole==RemotingRole.ClientWeb){
				Meth.GetVoid(MethodBase.GetCurrentMethod(),taskNote);
				return;
			}
			Crud.TaskNoteCrud.Update(taskNote);
		}
Esempio n. 2
0
		///<summary></summary>
		public static long Insert(TaskNote taskNote){
			if(RemotingClient.RemotingRole==RemotingRole.ClientWeb){
				taskNote.TaskNoteNum=Meth.GetLong(MethodBase.GetCurrentMethod(),taskNote);
				return taskNote.TaskNoteNum;
			}
			return Crud.TaskNoteCrud.Insert(taskNote);
		}
Esempio n. 3
0
 ///<summary></summary>
 public static long Insert(TaskNote taskNote)
 {
     if (RemotingClient.RemotingRole == RemotingRole.ClientWeb)
     {
         taskNote.TaskNoteNum = Meth.GetLong(MethodBase.GetCurrentMethod(), taskNote);
         return(taskNote.TaskNoteNum);
     }
     return(Crud.TaskNoteCrud.Insert(taskNote));
 }
Esempio n. 4
0
 ///<summary></summary>
 public static void Update(TaskNote taskNote)
 {
     if (RemotingClient.RemotingRole == RemotingRole.ClientWeb)
     {
         Meth.GetVoid(MethodBase.GetCurrentMethod(), taskNote);
         return;
     }
     Crud.TaskNoteCrud.Update(taskNote);
 }