/// <summary> /// Creates the DSP metadata. /// </summary> /// <returns></returns> protected override DSPMetadata CreateDSPMetadata() { if (metadata == null) { metadata = new DSPMetadata("OracleService", "IQTWcf"); metadata.MapResourceSet("Categories", typeof(Category)); metadata.MapResourceSet("CustomerCustomerDemos", typeof(CustomerCustomerDemo)); metadata.MapResourceSet("CustomerDemographics", typeof(CustomerDemographic)); metadata.MapResourceSet("Customers", typeof(Customer)); metadata.MapResourceSet("Employees", typeof(Employee)); metadata.MapResourceSet("EmployeeTerritories", typeof(EmployeeTerritory)); metadata.MapResourceSet("OrderDetails", typeof(OrderDetail)); metadata.MapResourceSet("Orders", typeof(Order)); metadata.MapResourceSet("Products", typeof(Product)); metadata.MapResourceSet("Regions", typeof(Region)); metadata.MapResourceSet("Shippers", typeof(Shipper)); metadata.MapResourceSet("Suppliers", typeof(Supplier)); metadata.MapResourceSet("Territories", typeof(Territory)); metadata.InitializeMetadataMapping(); } return(metadata); }