Hi,
I have the following code snippet. I need to create a collection so that I can call it's AddNew()
Called with:
Stuff(typeof(MyLLBLCollectionObject));
private void Stuff(Type CollectionType)
{
??? EntityCollectionBase<??> Collection = Activator.CreateInstance(CollectionType) as EntityCollectionBase;
EntityBase newlyAddedEntity = Collection.AddNew();
}
On the ??? line, how should I change it?