Articles → .NET → View selective tables in dynamic data

View selective tables in dynamic data

Objective of this Tutorial


Steps Involved

Step 1: Create a new project of type ‘ASP.NET

Dynamic Entities Web Application’

Step 2: Add code to global.asax

DefaultModel.RegisterContext(typeof(DynamicDataEntities), new ContextConfiguration() { ScaffoldAllTables = false });

Step 3: Making changes in the Section class so that it can be



[EdmEntityTypeAttribute(NamespaceName = "DynamicDataModel", Name = "Section")]
[DataContractAttribute(IsReference = true)]
public partial class Section: EntityObject {}

Step 4: Run the application

Click to Enlarge

Posted By  -  Karan Gupta
Posted On  -  Tuesday, April 1, 2014


Your Email Id  
Query/FeedbackCharacters remaining 250