public InputMemberInfo(XPClassInfo owner, string propertyName, DBColumnType dbColumnType, Type propertyType, bool nonPersistent, XPMemberInfo outputMemberInfo, params Attribute[] attributes) : base(owner, propertyName, PropertyType(propertyType, dbColumnType), null, nonPersistent, false) { Guard.ArgumentNotNull(outputMemberInfo, "outputMemberInfo"); _outputMemberInfo = outputMemberInfo; _conversionType = propertyType; AddAttributes(attributes); _importValueConverterAttribute = FindAttributeInfo(typeof(ImportValueConverterAttribute)) as ImportValueConverterAttribute; }
public InputMemberInfo(XPClassInfo owner, string propertyName, DBColumnType dbColumnType, Type propertyType, bool nonPersistent, XPMemberInfo outputMemberInfo, params Attribute[] attributes) : base(owner, propertyName, PropertyType(propertyType, dbColumnType), null, nonPersistent, false) { Guard.ArgumentNotNull(outputMemberInfo, "outputMemberInfo"); _outputMemberInfo = outputMemberInfo; _conversionType = propertyType; AddAttributes(attributes); _importValueConverterAttribute = FindAttributeInfo(typeof (ImportValueConverterAttribute)) as ImportValueConverterAttribute; }