Exemplo 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);
		}
Exemplo 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);
		}
Exemplo 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));
 }
Exemplo 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);
 }