示例#1
0
        public PropertyInfo PropertyInfoDemo()
        {
            OperationOptions operationOptions = null;
            PropertyInfo propertyInfo = schemaService.GetPropertyInfo(DefaultRepository,
                                                                  null,
                                                                  "dm_document",
                                                                  "subject",
                                                                  operationOptions);
            Console.WriteLine("Getting property info for property 'subject' of dm_document.");
            Console.WriteLine("Name: " + propertyInfo.Name);
            Console.WriteLine("Label: " + propertyInfo.Label);
            Console.WriteLine("Description: " + propertyInfo.Description);

            return propertyInfo;
        }