Switch to the instance based API, preferably using dependency injection. See here and here.
You will need to explicitly configure maps, manually or using reflection. Also consider attribute mapping.
Switch to the instance based API, preferably using dependency injection. See here and here.
You will need to explicitly configure maps, manually or using reflection. Also consider attribute mapping.