Пример #1
0
 public void CreateBranch(Branch branch)
 {
     DataContext.Branches.InsertOnSubmit(branch);
     DataContext.SubmitChanges();
 }
 partial void DeleteBranch(Branch instance);
 partial void UpdateBranch(Branch instance);
 partial void InsertBranch(Branch instance);
		private void detach_Branches(Branch entity)
		{
			this.SendPropertyChanging();
			entity.Outlet = null;
		}
		private void attach_Branches(Branch entity)
		{
			this.SendPropertyChanging();
			entity.Outlet = this;
		}