Madhu Dhanasekaran
Madhu Dhanasekaran

Reputation: 221

BreezeJS Get Metadata from the server without using Entity Framework for complex objects (nested objects)

This is my model on the server side. I don't want to use Entity Framework, how would I generate BreezeJS metadata from the server. Breeze Metadata Format found here http://www.breezejs.com/documentation/breeze-metadata-format doesn't work.

public class User
{
    public string Id { get; set; }
    public string Name { get; set; }
    public List<App> Apps { get; set; }
}

public class App
{
    public string Id { get; set; }
    public string Name { get; set; }
    public Dictionary<string, string> Info { get; set; }
}

Did anyone try complex objects (nested object) similar to above one without using EF.

Using Breeze Metdata API or OData ?

Upvotes: 3

Views: 1078

Answers (1)

Piotr Stapp
Piotr Stapp

Reputation: 19830

Look at this example http://www.breezejs.com/samples/nodb it should give you a clue.

Upvotes: 1

Related Questions