Example #1
0
    public Table View(Type viewType)
    {
        var tn = this.Settings.TypeAttribute <CacheViewMetadataAttribute>(viewType);

        if (tn != null)
        {
            return(Views.GetOrCreate(viewType, ViewBuilder.NewView(viewType)));
        }

        return(ViewBuilder.NewView(viewType));
    }