private void RefreshRoleName()
{
//try
//{
// string newRoleName = string.Empty;
// if ((this.ParentTableRef != null) && (this.ChildTableRef != null))
// {
// newRoleName = ((Table)this.ParentTableRef.Object).Name + "_" + ((Table)this.ChildTableRef.Object).Name;
// Database database = ((ModelRoot)this.Root).Database;
// if (database.RelationRoleExists(newRoleName, this))
// {
// //If we are in there then need to loop and find a new name
// int ii = 1;
// while (database.RelationRoleExists(newRoleName + ii.ToString(), this))
// ii++;
// newRoleName = newRoleName + ii.ToString();
// }
// }
// this.RoleName = newRoleName;
//}
//catch (Exception ex)
//{
// throw;
//}
}