advance complex type setting for entity type
fixed merge
add one to multitype relatoinship by HasMany()