Пример #1
0
		public void Component(Action<IComponentMapKeyMapper> mapping)
		{
			if (componentMapKeyMapper == null)
			{
				var hbm = new HbmCompositeMapKey();
				componentMapKeyMapper = new ComponentMapKeyMapper(dictionaryKeyType, hbm, mapDoc);
			}
			mapping(componentMapKeyMapper);
			mapMapping.Item = componentMapKeyMapper.CompositeMapKeyMapping;
		}
Пример #2
0
 public void Component(Action <IComponentMapKeyMapper> mapping)
 {
     if (componentMapKeyMapper == null)
     {
         var hbm = new HbmCompositeMapKey();
         componentMapKeyMapper = new ComponentMapKeyMapper(dictionaryKeyType, hbm, mapDoc);
     }
     mapping(componentMapKeyMapper);
     mapMapping.Item = componentMapKeyMapper.CompositeMapKeyMapping;
 }