Hi
In the following function
public IEntityCollection2 GetEntityCollection(EntityType entityType)
        {
            IEntityCollection2 collection = new EntityCollection<PackageEntity>(EntityFactoryFactory.GetFactory(entityType));
            return collection;
        }
how can I replace <PackageEntity> with a type name based on the passed in entityType ?