S
shapper
Hello,
I have two tables:
[Tags] > TagId, PostId
[PostsTags] > TagId, PostId
How can I delete, given a TagId, the record from Tags and all records
associated with it in PostTags.
I have created the Linq to SQL classes.
I need to create this code inside my LinqDataSource, which I use as
DataSource of my ListView:
private void lds_Deleting(object sender, LinqDataSourceDeleteEventArgs
e)
{
}
Could someone, please, help me out?
Thanks,
Miguel
I have two tables:
[Tags] > TagId, PostId
[PostsTags] > TagId, PostId
How can I delete, given a TagId, the record from Tags and all records
associated with it in PostTags.
I have created the Linq to SQL classes.
I need to create this code inside my LinqDataSource, which I use as
DataSource of my ListView:
private void lds_Deleting(object sender, LinqDataSourceDeleteEventArgs
e)
{
}
Could someone, please, help me out?
Thanks,
Miguel