Skip to content

Commit 2b95151

Browse files
committed
fixed wrong return type of VersionGeneratedBuilder
1 parent bd94ea5 commit 2b95151

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/FluentNHibernate/Mapping/VersionPart.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class VersionPart : IVersionMappingProvider
1212
private readonly Type entity;
1313
private readonly Member property;
1414
private readonly AccessStrategyBuilder<VersionPart> access;
15-
private readonly VersionGeneratedBuilder<IVersionMappingProvider> generated;
15+
private readonly VersionGeneratedBuilder<VersionPart> generated;
1616
private readonly AttributeStore<VersionMapping> attributes = new AttributeStore<VersionMapping>();
1717
private readonly AttributeStore<ColumnMapping> columnAttributes = new AttributeStore<ColumnMapping>();
1818
private readonly List<string> columns = new List<string>();
@@ -23,7 +23,7 @@ public VersionPart(Type entity, Member property)
2323
this.entity = entity;
2424
this.property = property;
2525
access = new AccessStrategyBuilder<VersionPart>(this, value => attributes.Set(x => x.Access, value));
26-
generated = new VersionGeneratedBuilder<IVersionMappingProvider>(this, value => attributes.Set(x => x.Generated, value));
26+
generated = new VersionGeneratedBuilder<VersionPart>(this, value => attributes.Set(x => x.Generated, value));
2727
}
2828

2929
/// <summary>

0 commit comments

Comments
 (0)