partial void DeleteMoldType(MoldType instance);
 partial void UpdateMoldType(MoldType instance);
		private void detach_MoldType(MoldType entity)
		{
			this.SendPropertyChanging();
			entity.MoldCategory = null;
		}
 partial void InsertMoldType(MoldType instance);
 /// <summary>
 /// 新建模具型号
 /// </summary>
 /// <param name="moldType">模具型号</param>
 public void Add(MoldType moldType)
 {
     context.MoldType.InsertOnSubmit(moldType);
 }