Exemplo n.º 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();
        }
Exemplo n.º 2
0
 partial void UpdateNote(Note instance);
Exemplo n.º 3
0
 partial void DeleteNote(Note instance);
Exemplo n.º 4
0
 partial void InsertNote(Note instance);
Exemplo n.º 5
0
		private void detach_Notes(Note entity)
		{
			this.SendPropertyChanging();
			entity.aspnet_User = null;
		}
Exemplo n.º 6
0
		private void attach_Notes(Note entity)
		{
			this.SendPropertyChanging();
			entity.aspnet_User = this;
		}
Exemplo n.º 7
0
		private void detach_Notes(Note entity)
		{
			this.SendPropertyChanging();
			entity.Application = null;
		}
Exemplo n.º 8
0
		private void attach_Notes(Note entity)
		{
			this.SendPropertyChanging();
			entity.Application = this;
		}