///<summary></summary> public static void Update(TaskNote taskNote){ if(RemotingClient.RemotingRole==RemotingRole.ClientWeb){ Meth.GetVoid(MethodBase.GetCurrentMethod(),taskNote); return; } Crud.TaskNoteCrud.Update(taskNote); }
///<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); }
///<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)); }
///<summary></summary> public static void Update(TaskNote taskNote) { if (RemotingClient.RemotingRole == RemotingRole.ClientWeb) { Meth.GetVoid(MethodBase.GetCurrentMethod(), taskNote); return; } Crud.TaskNoteCrud.Update(taskNote); }