We currently have one app that has a somewhat big database with only static data (readonly).

We are considering to deploy the data in the form of compiled assembly with model objects constructed filling collections. A quick example:

```
public Model()
{
    this.Property1 = new List<AClass>();
    this.Property1.Add(new AClass(1,2));
    this.Property1.Add(new AClass(4,3));
    this.Property1.Add(new AClass(2,6));
}

```

The main concern the people has is that they never saw someone doing it this way. Have you seen / used this approach before?

The main benefits are that you don't need anymore a data access layer and you have faster performance.

EDIT: The readonly database is currently generated by a tool so the code would be generated by a tool as well.