示例#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;
		}