예제 #1
0
        public void AddReasonLog(ApplicationStatuses status, int applicationId, int reasonId, Guid userId, DateTime date)
        {
            ReasonLog log = new ReasonLog();
            log.ApplicationId = applicationId;
            log.DateLogged = date;
            log.ReasonId = reasonId;
            log.UserAdderId = userId;

            context.ReasonLogs.InsertOnSubmit(log);
            context.SubmitChanges();
        }
예제 #2
0
 partial void DeleteReasonLog(ReasonLog instance);
예제 #3
0
 partial void UpdateReasonLog(ReasonLog instance);
예제 #4
0
 partial void InsertReasonLog(ReasonLog instance);
예제 #5
0
		private void detach_ReasonLogs(ReasonLog entity)
		{
			this.SendPropertyChanging();
			entity.Reason = null;
		}
예제 #6
0
		private void attach_ReasonLogs(ReasonLog entity)
		{
			this.SendPropertyChanging();
			entity.Reason = this;
		}