protected void LogThis(int RID, short logType, String Message)
 {
     AP_Staff_Rmb_Log entry = new AP_Staff_Rmb_Log();
     entry.Timestamp=DateTime.Now;
     entry.LogType=logType;
     entry.RID=RID;
     entry.Username = "******";
     entry.Message = Message;
     StaffRmbDataContext d = new StaffRmbDataContext();
     d.AP_Staff_Rmb_Logs.InsertOnSubmit(entry);
     d.SubmitChanges();
 }
 partial void UpdateAP_Staff_Rmb_Log(AP_Staff_Rmb_Log instance);
 partial void DeleteAP_Staff_Rmb_Log(AP_Staff_Rmb_Log instance);
 partial void InsertAP_Staff_Rmb_Log(AP_Staff_Rmb_Log instance);