private void detach_ScheTmplates(ScheTmplate entity)
 {
     this.SendPropertyChanging("ScheTmplates");
     entity.Dept = null;
 }
 partial void UpdateScheTmplate(ScheTmplate instance);
 partial void DeleteScheTmplate(ScheTmplate instance);
 partial void InsertScheTmplate(ScheTmplate instance);