Quote:Error 3032: Problem in mapping fragments starting at line 261:Condition member 'CMS_Promotion.datDeletedOn' with a condition other than 'IsNull=False' is mapped. Either remove the condition on CMS_Promotion.datDeletedOn or remove it from the mapping.
<EntitySetMapping Name="Promotions"> <EntityTypeMapping TypeName="Lorenz_dataModel.Promotion"> <MappingFragment StoreEntitySet="CMS_Promotion"> <ScalarProperty Name="PromotionId" ColumnName="autPromotionId" /> <ScalarProperty Name="Name" ColumnName="vchName" /> <ScalarProperty Name="Description" ColumnName="vchDescription" /> <ScalarProperty Name="ValidFrom" ColumnName="datValidFrom" /> <ScalarProperty Name="ValidTo" ColumnName="datValidTo" /> <ScalarProperty Name="CreatedBy" ColumnName="intCreatedBy" /> <ScalarProperty Name="CreatedOn" ColumnName="datCreatedOn" /> <ScalarProperty Name="ModifiedBy" ColumnName="intModifiedBy" /> <ScalarProperty Name="ModifiedOn" ColumnName="datModifiedOn" /> <ScalarProperty Name="DeletedBy" ColumnName="intDeletedBy" /> <ScalarProperty Name="DeletedOn" ColumnName="datDeletedOn" /> <Condition ColumnName="datDeletedOn" IsNull="true"/> </MappingFragment> </EntityTypeMapping> </EntitySetMapping>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)