protected static PropertyInfo[] properties(Type Type)
{
List<PropertyInfo> propertyInfos = new List<PropertyInfo>();
PropertyInfo[] properies = Type.GetProperties();
foreach (PropertyInfo property in properies)
if (Attribute.IsDefined(property, typeof(PropertyRecord)))
propertyInfos.Add(property);
return propertyInfos.ToArray();
}