public void btnCreateGroupSave_Clicked(object sender, EventArgs e)
    {
        Monks.jkp_DiscussionGroup dGroup = new Monks.jkp_DiscussionGroup();
        dGroup.DGroup_RetreatID = RetreatId;
        dGroup.DGroup_ID = Guid.NewGuid();
        dGroup.DGroup_Name = txtCreateGroupName.Text.Trim();
        dGroup.DGroup_Location = txtCreateGroupLocation.Text.Trim();

        db.jkp_DiscussionGroups.InsertOnSubmit(dGroup);
        db.SubmitChanges();
        LoadAllPageData();
        modalCreateAssignment.Hide();
    }
示例#2
0
		private void detach_jkp_DiscussionGroups(jkp_DiscussionGroup entity)
		{
			this.SendPropertyChanging();
			entity.jkp_Retreat = null;
		}