示例#1
0
        protected virtual PropertyInfo GetTypeNamedStructureIdProperty(Type structureType, IEnumerable <PropertyInfo> properties)
        {
            var propertyName = StructureIdPropertyNames.GetTypeNamePropertyNameFor(structureType);

            return(properties.SingleOrDefault(p => p.Name.Equals(propertyName)));
        }