AutoMapper 대신 ValueInjecter를 사용하고 있습니다. 나는 그것은 작동ValueInjecter : 수행 중 일부 속성을 무시하는 방법 .InjectFrom <UnflatLoopValueInjection> (데이터)?
.InjectFrom<UnflatLoopValueInjection>(model)
사용 unflattening 작업을 수행하기 위해 노력하고있어,하지만 난 또한 같은 작성 예를 들어, unflattening 작업 중에 무시하는 일부 속성을 specity 싶습니다 :
.InjectFrom<UnflatLoopValueInjection>(new IgnoreProperties("Prop1", "Prop2"), model)
또는
을.InjectFrom<UnflatLoopValueInjection>(model).IgnoreProperties("Prop1", "Prop2")
아이디어가 있으십니까?