You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
marektihkan edited this page Sep 13, 2010
·
1 revision
Workflow
Create class to DataContracts.(BoundedContext) namespace
Add public properties
Add [Serializable] attribute if needed
Example
namespace ExampleSolution.DataContracts
{
[Serializable]
public class PersonDataContract
{
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string AddressLine1 { get; set; }
public string AddressLine2 { get; set; }
public string Zip { get; set; }
}
}