partial void DeleteUserGroup(UserGroup instance);
partial void UpdateUserGroup(UserGroup instance);
private void detach_UserGroups(UserGroup entity) { this.SendPropertyChanging(); entity.Role = null; }
partial void InsertUserGroup(UserGroup instance);
private void attach_UserGroups(UserGroup entity) { this.SendPropertyChanging(); entity.Role = this; }