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