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