protected bool IsPersistentProperty(PropertyInfo pi, DBMeta dbmeta)
        {
            String propertyName = pi.Name;

            if (dbmeta.HasColumn(propertyName) || _beanAnnotationReader.GetColumn(pi) != null)
            {
                if (!IsElementOfNoPersistentProps(pi))
                {
                    return(true);
                }
            }
            return(false);
        }
        protected IPropertyType CreatePropertyTypeExtension(PropertyInfo pi, DBMeta dbmeta)
        {
            if (IsRelationProperty(pi, dbmeta))
            {
                return(null);
            }
            String        columnName = GetPropertyTypeColumnName(pi);
            IValueType    valueType  = ValueTypes.GetValueType(pi.PropertyType);
            IPropertyType pt         = new PropertyTypeImpl(pi, valueType, columnName);

            if (dbmeta.HasPrimaryKey && dbmeta.HasColumn(pt.ColumnName))
            {
                if (dbmeta.FindColumnInfo(pt.ColumnName).IsPrimary)
                {
                    pt.IsPrimaryKey = true;
                }
            }
            pt.IsPersistent = IsPersistentProperty(pi, dbmeta);
            return(pt);
        }