public void ApplyMapping(Type entityType, BsonClassMap classMap)
        {
            var entityMapper  = new EntityMapper(entityType);
            var relationships = entityMapper.GetEntityRelationships();

            foreach (var relationship in relationships)
            {
                if (relationship.IsCollection)
                {
                    var memberMap            = classMap.MapMember(relationship.NavigationProperty);
                    var serializerType       = typeof(EntityNavigationCollectionSerializer <>).MakeGenericType(relationship.EntityType);
                    var collectionSerializer = Activator.CreateInstance(serializerType, relationship.IdProperty.Name) as IBsonSerializer;
                    memberMap.SetSerializer(collectionSerializer);
                }
                else
                {
                    classMap.UnmapMember(relationship.NavigationProperty);
                }
            }
        }