I write to you because I have some troubles with Custom Querys.
1.- I create with the EnterpriseLibraryConfiguration tool the sections for dynamicQuerySettings like the QS. But when I try to use in the code
store.Query.AddResultColumn(StoreSchema.Item); the compiler says :
Failed to create an instance of type 'Microsoft.Practices.EnterpriseLibrary.Data.Sql.SqlDatabase, Microsoft.Practices.EnterpriseLibrary.Data, Version=126.96.36.199, Culture=neutral, PublicKeyToken=null' because it is not assignable from the type 'NCI.EasyObjects.DynamicQuery, NCI.EasyObjects, Version=1.0.2138.28077, Culture=neutral, PublicKeyToken=null'.
I see the XML file dynamicquerysettings.config for QS and copy this in my own project, I change the instance of the database, but the compiler give always the same error.
Do you have some idea ?
Thanks a lot in advance for your answer.!!!