Share Complex Data Objects between Modules
Posted: Mon Jun 11, 2018 9:06 am
Hello;
I have a question about best practises ti share complex Data Objects between Two Modules
For example, assume that i have module_a and module_b. module_a create a list of SimpleUCDTO IList(<SimpleDTO>(see bellow), and module_b have to use it
Best regards
I have a question about best practises ti share complex Data Objects between Two Modules
For example, assume that i have module_a and module_b. module_a create a list of SimpleUCDTO IList(<SimpleDTO>(see bellow), and module_b have to use it
Code: Select all
namespace CustomCode.DTO
{
[Serializable]
public class SimpleDTO
{
public SimpleDTO()
{
}
public SimpleUCDTO(String Type, String Percent)
{
this.Type= Type;
this.Percent= Percent;
}
public String Type{get; set;}
public String Percent{get; set;}
}
}