How to get table relationships in excel sheet

Hi,
I have multiple tables in my excel sheet and i have defined relationship between those tables. I can get this relationship information using Interop.Excel as shown in below code.

private static List GetTableRelations(Microsoft.Office.Interop.Excel.Workbook myBook)
{
List relations = new List();
Microsoft.Office.Interop.Excel.Model model = myBook.Model;
Microsoft.Office.Interop.Excel.ModelRelationships relationships = model.ModelRelationships;
foreach (Microsoft.Office.Interop.Excel.ModelRelationship rel in relationships)
{
relations.Add(new Relationship()
{
PKTableName = rel.PrimaryKeyTable.Name,
PKColumnName = rel.PrimaryKeyColumn.Name,
FKTableName = rel.ForeignKeyTable.Name,
FKColumnName = rel.ForeignKeyColumn.Name
});
}
return relations;
}

I am not able to find similar classes in Aspose. How to get table relationships using aspose.cells?

Thanks,
Sanjay A.

@SanjayAswale,

I have logged the issue in our database for investigation. Once, we will have some news for you, we will update you in this topic.

This issue has been logged as

CELLSNET-46694 - Get table relationships in excel sheet

Also, could you please share your template file for our analysis.

Attached image shows how to add relationships in the Excel sheet.
Also attached (inside zip) is my sample Excel sheet for your reference.

ExcelTableRelationship.png (262.7 KB)
AgilePoint4.zip (46.2 KB)

Thanks,
Sanjay A.

@SanjayAswale,

Thank you. We will write back here once any feedback is ready to share.

Any updates on this ticket?

@SanjayAswale,
I am afraid that still no progress is made in this direction due to its complexity. We will write back here when any update will be ready to share.

We are sorry for the inconvenience caused to you.

@SanjayAswale,
We are looking into Data Model, we hope that we can support it in the next month.

Hi,
Any updates on this ticket?

@SanjayAswale,

The feature is not implemented yet. We will write back here once there is an update on it.