-
-
Notifications
You must be signed in to change notification settings - Fork 519
Open
Description
Hello,
I am trying to see if it is possible to map results to an Property which is an object.
public class Location
{
public Guid LocationId { get; set; }
public Address Address { get; set; }
}
public class Address
{
public string Address1 { get; set; }
public string Address2 { get; set; }
public string Suite { get; set; }
public int City { get; set; }
public string State { get; set; }
public string PostalCode { get; set; }
public string Country { get; set; }
}
and provided that the all columns for address are returned back in the query result.
How can I get the Location object populated with address information .
Thank you,
Mar
Metadata
Metadata
Assignees
Labels
No labels