protected override void MetadataIs(MartenRegistry.DocumentMappingExpression <MetadataTarget> .MetadataConfig metadata) { metadata.Version.MapTo(x => x.Version); metadata.LastModified.MapTo(x => x.LastModified); }
protected override void MetadataIs(MartenRegistry.DocumentMappingExpression <MetadataTarget> .MetadataConfig metadata) { metadata.Headers.MapTo(x => x.Headers); }
protected override void MetadataIs(MartenRegistry.DocumentMappingExpression <MetadataTarget> .MetadataConfig metadata) { metadata.DisableInformationalFields(); }
protected abstract void MetadataIs(MartenRegistry.DocumentMappingExpression <MetadataTarget> .MetadataConfig metadata);
protected override void MetadataIs(MartenRegistry.DocumentMappingExpression <MetadataTarget> .MetadataConfig metadata) { metadata.CorrelationId.MapTo(x => x.CorrelationId); metadata.CausationId.MapTo(x => x.CausationId); metadata.LastModifiedBy.MapTo(x => x.LastModifiedBy); }