diff --git a/src/NHibernate/Mapping/ByCode/Impl/CustomizersImpl/ClassCustomizer.cs b/src/NHibernate/Mapping/ByCode/Impl/CustomizersImpl/ClassCustomizer.cs index c4693e43898..02683e29638 100644 --- a/src/NHibernate/Mapping/ByCode/Impl/CustomizersImpl/ClassCustomizer.cs +++ b/src/NHibernate/Mapping/ByCode/Impl/CustomizersImpl/ClassCustomizer.cs @@ -117,9 +117,9 @@ public void Table(string tableName) CustomizersHolder.AddCustomizer(typeof(TEntity), (IClassMapper m) => m.Table(tableName)); } - public void Check(string tableName) + public void Check(string check) { - CustomizersHolder.AddCustomizer(typeof(TEntity), (IClassMapper m) => m.Check(tableName)); + CustomizersHolder.AddCustomizer(typeof(TEntity), (IClassMapper m) => m.Check(check)); } public void Catalog(string catalogName)