AutoHistory icon indicating copy to clipboard operation
AutoHistory copied to clipboard

the data not save nested table

Open jindovu opened this issue 6 years ago • 2 comments

Hi Team, The value of before and after not save data with nested table, how can I log all data change include (table relationship change)

Thanks

jindovu avatar Sep 16 '19 06:09 jindovu

Have some demo about this?

rigofunc avatar Dec 13 '19 07:12 rigofunc

I have 2 table bellow, when I insert Product I want to get all data of Category with dynamic but now it's working seperate table

public class Product{
	public int Id { get; set; }
	public int CategoryId { get; set; }
	public string Name {get;set;}
	
	public vitrual Category Category {get;set;}
}
public class Category{
	public int Id { get; set; }
	public string Name {get;set;}
	
	public vitrual List<Product> Products {get;set;}
}

Thank you for asking

jindovu avatar Jan 15 '20 03:01 jindovu