Example #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();
        }
Example #2
0
 partial void DeleteReasonLog(ReasonLog instance);
Example #3
0
 partial void UpdateReasonLog(ReasonLog instance);
Example #4
0
 partial void InsertReasonLog(ReasonLog instance);
Example #5
0
		private void detach_ReasonLogs(ReasonLog entity)
		{
			this.SendPropertyChanging();
			entity.Reason = null;
		}
Example #6
0
		private void attach_ReasonLogs(ReasonLog entity)
		{
			this.SendPropertyChanging();
			entity.Reason = this;
		}