private void LoadForeignKeys()
{
string[] restrictions = new string[4] { null, owningNode.Database, Name, null };
DataTable dt = owningNode.GetSchema("Foreign Keys", restrictions);
foreach (DataRow row in dt.Rows)
{
ForeignKey key = new ForeignKey(this, row);
ForeignKeys.Add(key);
}
}