예제 #1
0
 /// <summary>
 /// 新建模具
 /// </summary>
 /// <param name="mold">模具</param>
 public void Add(Mold mold)
 {
     context.Mold.InsertOnSubmit(mold);
 }
 partial void DeleteMold(Mold instance);
 partial void UpdateMold(Mold instance);
 partial void InsertMold(Mold instance);
		private void detach_Mold(Mold entity)
		{
			this.SendPropertyChanging();
			entity.Project = null;
		}
		private void attach_Mold(Mold entity)
		{
			this.SendPropertyChanging();
			entity.Project = this;
		}