Deepload on nettier

Nettier architecture supports deapload feature.
Here how you can deepload data on code behind.

TList<TABLENAME> entities=Data.DataRepository.TABLENAMEProvider.GetByUserId(UserId);
Data.DataRepository.TABLENAMEProvider.DeepLoad(entities, true, Data.DeepLoadType.IncludeChildren, typeof(OBJECTTODEEPLOAD));
grdGridView.DataSource = entities;
grdGridView.DataBind();

Bind the data like this on the aspx page.

<asp:TemplateField HeaderText=”Header info for propery”  >

<ItemTemplate>

<%# Eval(“FKColumnNameSource.PropertyName”) %>

</ItemTemplate>

</asp:TemplateField>


Share to Facebook Share to Twitter Stumble It Share on Tumblr Digg More...