daelmo, thanks for the response.
daelmo wrote:
Could you please post the compile error you received?
I think it should be the opposite: some entities classes files listed in entity factories are missing.
The entity classes show up in the Visual Studio Solution Explorer. There just isn't a corresponding factory for it in EntityFactories.cs
Here is one example of the type of errors I'm getting.
Description:
The type or namespace name 'DataExchangePartnerRecentExportEntityFactory' could not be found (are you missing a using directive or an assembly reference?)
File:
DataExchangePartnerEntity.cs
Below is the code that caused that error. It gets an error on the line that references DataExchangePartnerRecentExportEntityFactory.
/// <summary> Gets the EntityCollection with the related entities of type 'DataExchangePartnerRecentExportEntity' which are related to this entity via a relation of type '1:n'.
/// If the EntityCollection hasn't been fetched yet, the collection returned will be empty.</summary>
[TypeContainedAttribute(typeof(DataExchangePartnerRecentExportEntity))]
public virtual EntityCollection<DataExchangePartnerRecentExportEntity> DataExchangePartnerRecentExport
{
get
{
if(_dataExchangePartnerRecentExport==null)
{
_dataExchangePartnerRecentExport = new EntityCollection<DataExchangePartnerRecentExportEntity>(EntityFactoryCache2.GetEntityFactory(typeof(DataExchangePartnerRecentExportEntityFactory)));
_dataExchangePartnerRecentExport.SetContainingEntityInfo(this, "DataExchangePartner");
}
return _dataExchangePartnerRecentExport;
}
}