Example #1
0
		public ListIndexMapper(System.Type ownerEntityType, HbmListIndex mapping)
		{
			this.ownerEntityType = ownerEntityType;
			this.mapping = mapping;
		}
		public void BindSimpleValue(HbmListIndex listIndexMapping, string propertyPath, bool isNullable)
		{
			new TypeBinder(value, Mappings).Bind(NHibernateUtil.Int32.Name);
			new ColumnsBinder(value, Mappings).Bind(listIndexMapping.Columns, isNullable,
																								() =>
																								new HbmColumn
																								{
																									name = mappings.NamingStrategy.PropertyToColumnName(propertyPath),
																								});
		}