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