public class Customer { public int Id { get; set; } public string Name { get; set; } public Address Address { get; set; } } public class Address { public string Street { get; set; } public string City { get; set; } public string State { get; set; } public string Zip { get; set; } } ODataModelBuilder builder = new ODataConventionModelBuilder(); builder.EntitySetThe package library used to reference the ODataModelBuilder complex type is the Microsoft.AspNet.OData.Core package.("Customers"); var customerType = builder.EntityType (); customerType.ComplexProperty(c => c.Address);