public TypeInfo TypeInfoDemo() { SchemaProfile schemaProfile = new SchemaProfile(); schemaProfile.IncludeProperties = true; schemaProfile.IncludeValues = true; DemoServiceContext.SetProfile(schemaProfile); OperationOptions operationOptions = null; TypeInfo typeInfo = schemaService.GetTypeInfo(DefaultRepository, null, "dm_document", operationOptions); Console.WriteLine("Name: " + typeInfo.Name); Console.WriteLine("Label: " + typeInfo.Label); Console.WriteLine("Description: " + typeInfo.Description); Console.WriteLine("Parent name : " + typeInfo.ParentName); List<PropertyInfo> propertyInfoList; propertyInfoList = typeInfo.PropertyInfos; Console.WriteLine("Properties: "); foreach (PropertyInfo propertyInfo in propertyInfoList) { Console.WriteLine(" " + propertyInfo.Name); Console.WriteLine(" " + propertyInfo.DataType.ToString()); } return typeInfo; }