public EntityInfo(Type type, EntityInfo parent) { this.name = type.ToPersistentName(); this.type = type; this.parent = parent; MapTypes(type); }
public ValueInfo(EntityInfo parent, PropertyInfo property, Type valueType) { this.parent = parent; this.property = property; this.type = valueType; this.name = string.Format("{0}_{1}", parent.Name, property.Name); MapTypes(valueType); }