Пример #1
0
        public void AddNote(int applicationId, int applicantId, string noteText, Guid providerUserKey, DateTime dateTime)
        {
            Note note = new Note() { ApplicantId = applicantId, ApplicationId = applicationId, DateAdded = dateTime, Text = noteText, UserAdderId = providerUserKey };

            context.Notes.InsertOnSubmit(note);
            context.SubmitChanges();
        }
Пример #2
0
 partial void UpdateNote(Note instance);
Пример #3
0
 partial void DeleteNote(Note instance);
Пример #4
0
 partial void InsertNote(Note instance);
Пример #5
0
		private void detach_Notes(Note entity)
		{
			this.SendPropertyChanging();
			entity.aspnet_User = null;
		}
Пример #6
0
		private void attach_Notes(Note entity)
		{
			this.SendPropertyChanging();
			entity.aspnet_User = this;
		}
Пример #7
0
		private void detach_Notes(Note entity)
		{
			this.SendPropertyChanging();
			entity.Application = null;
		}
Пример #8
0
		private void attach_Notes(Note entity)
		{
			this.SendPropertyChanging();
			entity.Application = this;
		}