private static List <EntityColumnAttribute> GetEntityColumnAttributes(Type type)
        {
            var columns = new List <EntityColumnAttribute>();

            foreach (var propertyInfo in ReflexHelper.GetPropertys(type))
            {
                var attribute = propertyInfo.GetCustomAttribute <EntityColumnAttribute>();
                if (attribute != null)
                {
                    attribute.PropertyInfo = propertyInfo;
                    columns.Add(attribute);
                }
            }
            return(columns);
        }