Hello,
Yesterday we upgraded to v5.6, or some simple fetching and save entity collection operations, in a .Net Core project.
We use the following code for fetching:
EntityCollection<FormatoElementoEntity> formatoElementos = new EntityCollection<FormatoElementoEntity>();
IRelationPredicateBucket bucket = new RelationPredicateBucket();
bucket.PredicateExpression.Add(FormatoElementoFields.IdFormato == entidad.IdFormato);
using (DataAccessAdapter adapter = new DataAccessAdapter())
{
adapter.FetchEntityCollection(formatoElementos, bucket);
}
And in the FetchEntityCollection method, we are getting this error:
Method not found: 'SD.LLBLGen.Pro.ORMSupportClasses.IRetrievalQuery SD.LLBLGen.Pro.ORMSupportClasses.DynamicQueryEngineBase.CreateSelectDQImpl(SD.LLBLGen.Pro.ORMSupportClasses.QueryParameters, System.Data.Common.DbConnection)'.
The StackTrace is:
at SD.LLBLGen.Pro.DQE.SqlServer.DynamicQueryEngine.CreatePagingSelectDQ(QueryParameters parameters, DbConnection connectionToUse)
at SD.LLBLGen.Pro.ORMSupportClasses.DynamicQueryEngineBase.CreateSelectDQ(QueryParameters parameters, DbConnection connectionToUse)
at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterCore.CreateSelectDQ(QueryParameters parameters)
at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterCore.FetchEntityCollectionInternal(QueryParameters parameters)
at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterCore.FetchEntityCollection(QueryParameters parameters)
at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterCore.FetchEntityCollection(IEntityCollection2 collectionToFill, IRelationPredicateBucket filterBucket)
at mdc.Business.Mobile.Datos.RegistroDatos.Post(MdcFormData request, Int32 idequipo, String equipoUid) in D:\Desarrollo\MDC_V3\CODIGO\MDC_V3\MDC_API\MDC.Business\mdc.Business\Mobile\Datos\RegistroDatos.cs:line 124
at mdc.WebApi.Controllers.Mobile.Datos.MdcFormDataController.Post(JObject request) in D:\.....\MdcFormDataController.cs:line 92
**
Before the upgrade, everything was working well.
How can we fix it?
**