|
From: <jul...@us...> - 2011-06-21 16:31:44
|
Revision: 5968
http://nhibernate.svn.sourceforge.net/nhibernate/?rev=5968&view=rev
Author: julian-maughan
Date: 2011-06-21 16:31:37 +0000 (Tue, 21 Jun 2011)
Log Message:
-----------
Fixed grammatical error in ModelMapper method names
Modified Paths:
--------------
trunk/nhibernate/src/NHibernate/Mapping/ByCode/ModelMapper.cs
trunk/nhibernate/src/NHibernate.Test/MappingByCode/ConventionModelMapperTests/ComponetsAccessorTests.cs
trunk/nhibernate/src/NHibernate.Test/MappingByCode/ConventionModelMapperTests/ComponetsParentAccessorTests.cs
trunk/nhibernate/src/NHibernate.Test/MappingByCode/ExpliticMappingTests/AllPropertiesRegistrationTests.cs
trunk/nhibernate/src/NHibernate.Test/MappingByCode/ExpliticMappingTests/BasicMappingOfSimpleClass.cs
trunk/nhibernate/src/NHibernate.Test/MappingByCode/ExpliticMappingTests/ClassWithComponentsTest.cs
trunk/nhibernate/src/NHibernate.Test/MappingByCode/ExpliticMappingTests/ConformistMappingRegistrationTests/ClassMappingRegistrationTest.cs
trunk/nhibernate/src/NHibernate.Test/MappingByCode/ExpliticMappingTests/NestedComponetsTests.cs
trunk/nhibernate/src/NHibernate.Test/MappingByCode/IntegrationTests/NH2738/Fixture.cs
trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1270/Fixture.cs
trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1845/Fixture.cs
trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1965/ReattachWithCollectionTest.cs
trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH2510/Fixture.cs
trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH2568/UsageOfCustomCollectionPersisterTests.cs
trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH2569/Fixture.cs
trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH2587/CachingWithLinq.cs
trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH2632/Fixture.cs
trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH941/Fixture.cs
trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH941/FixtureUsingList.cs
trunk/nhibernate/src/NHibernate.Test/Stateless/FetchingLazyCollections/LazyCollectionFetchTests.cs
Modified: trunk/nhibernate/src/NHibernate/Mapping/ByCode/ModelMapper.cs
===================================================================
--- trunk/nhibernate/src/NHibernate/Mapping/ByCode/ModelMapper.cs 2011-06-21 14:22:28 UTC (rev 5967)
+++ trunk/nhibernate/src/NHibernate/Mapping/ByCode/ModelMapper.cs 2011-06-21 16:31:37 UTC (rev 5968)
@@ -1766,12 +1766,12 @@
}
}
- public HbmMapping CompileMappingForAllExplicitAddedEntities()
+ public HbmMapping CompileMappingForAllExplicitlyAddedEntities()
{
return CompileMappingFor(customizerHolder.GetAllCustomizedEntities());
}
- public IEnumerable<HbmMapping> CompileMappingForEachExplicitAddedEntity()
+ public IEnumerable<HbmMapping> CompileMappingForEachExplicitlyAddedEntity()
{
return CompileMappingForEach(customizerHolder.GetAllCustomizedEntities());
}
Modified: trunk/nhibernate/src/NHibernate.Test/MappingByCode/ConventionModelMapperTests/ComponetsAccessorTests.cs
===================================================================
--- trunk/nhibernate/src/NHibernate.Test/MappingByCode/ConventionModelMapperTests/ComponetsAccessorTests.cs 2011-06-21 14:22:28 UTC (rev 5967)
+++ trunk/nhibernate/src/NHibernate.Test/MappingByCode/ConventionModelMapperTests/ComponetsAccessorTests.cs 2011-06-21 16:31:37 UTC (rev 5968)
@@ -34,7 +34,7 @@
{
x.Property(c => c.Something);
});
- return mapper.CompileMappingForAllExplicitAddedEntities();
+ return mapper.CompileMappingForAllExplicitlyAddedEntities();
}
[Test]
Modified: trunk/nhibernate/src/NHibernate.Test/MappingByCode/ConventionModelMapperTests/ComponetsParentAccessorTests.cs
===================================================================
--- trunk/nhibernate/src/NHibernate.Test/MappingByCode/ConventionModelMapperTests/ComponetsParentAccessorTests.cs 2011-06-21 14:22:28 UTC (rev 5967)
+++ trunk/nhibernate/src/NHibernate.Test/MappingByCode/ConventionModelMapperTests/ComponetsParentAccessorTests.cs 2011-06-21 16:31:37 UTC (rev 5968)
@@ -57,7 +57,7 @@
x.Component(c => c.Owner);
x.Property(c => c.Something);
});
- return mapper.CompileMappingForAllExplicitAddedEntities();
+ return mapper.CompileMappingForAllExplicitlyAddedEntities();
}
[Test]
Modified: trunk/nhibernate/src/NHibernate.Test/MappingByCode/ExpliticMappingTests/AllPropertiesRegistrationTests.cs
===================================================================
--- trunk/nhibernate/src/NHibernate.Test/MappingByCode/ExpliticMappingTests/AllPropertiesRegistrationTests.cs 2011-06-21 14:22:28 UTC (rev 5967)
+++ trunk/nhibernate/src/NHibernate.Test/MappingByCode/ExpliticMappingTests/AllPropertiesRegistrationTests.cs 2011-06-21 16:31:37 UTC (rev 5968)
@@ -140,7 +140,7 @@
y.Property(c => c.Something);
});
});
- var mappings = mapper.CompileMappingForAllExplicitAddedEntities();
+ var mappings = mapper.CompileMappingForAllExplicitlyAddedEntities();
var hbmClass = mappings.RootClasses[0];
var hbmJoinedSubclass = mappings.JoinedSubclasses[0];
hbmClass.Properties.Select(p => p.Name).Should().Have.SameValuesAs("Simple", "ComplexType", "Bag", "IdBag", "List", "Set", "Map", "Compo", "OneToOne", "ManyToOne", "Any", "DynamicCompo");
@@ -179,7 +179,7 @@
});
mapper.Class<Inherited>(mc =>{});
- var mappings = mapper.CompileMappingForAllExplicitAddedEntities();
+ var mappings = mapper.CompileMappingForAllExplicitlyAddedEntities();
var hbmClass = mappings.RootClasses[0];
mappings.JoinedSubclasses.Should().Be.Empty();
hbmClass.Properties.Select(p => p.Name).Should().Have.SameValuesAs("Simple", "ComplexType", "Bag", "IdBag", "List", "Set", "Map", "Compo", "OneToOne", "ManyToOne", "Any", "DynamicCompo");
@@ -212,7 +212,7 @@
y.Property(c => c.Something);
});
});
- var mappings = mapper.CompileMappingForAllExplicitAddedEntities();
+ var mappings = mapper.CompileMappingForAllExplicitlyAddedEntities();
var hbmClass = mappings.RootClasses[0];
var hbmJoinedSubclass = mappings.JoinedSubclasses[0];
hbmClass.Properties.Select(p => p.Name).Should().Have.SameValuesAs("Simple", "ComplexType", "Bag", "IdBag", "List", "Set", "Map", "Compo", "OneToOne", "ManyToOne", "Any", "DynamicCompo");
@@ -251,7 +251,7 @@
});
mapper.Class<Inherited>(mc => { });
- HbmMapping mappings = mapper.CompileMappingForAllExplicitAddedEntities();
+ HbmMapping mappings = mapper.CompileMappingForAllExplicitlyAddedEntities();
HbmClass hbmClass = mappings.RootClasses[0];
mappings.JoinedSubclasses.Should().Be.Empty();
hbmClass.Properties.Select(p => p.Name).Should().Have.SameValuesAs("Simple", "ComplexType", "Bag", "IdBag", "List", "Set", "Map", "Compo", "OneToOne", "ManyToOne", "Any",
Modified: trunk/nhibernate/src/NHibernate.Test/MappingByCode/ExpliticMappingTests/BasicMappingOfSimpleClass.cs
===================================================================
--- trunk/nhibernate/src/NHibernate.Test/MappingByCode/ExpliticMappingTests/BasicMappingOfSimpleClass.cs 2011-06-21 14:22:28 UTC (rev 5967)
+++ trunk/nhibernate/src/NHibernate.Test/MappingByCode/ExpliticMappingTests/BasicMappingOfSimpleClass.cs 2011-06-21 16:31:37 UTC (rev 5968)
@@ -109,7 +109,7 @@
});
ca.Property(x => x.Something, map => map.Length(150));
});
- var hbmMapping = mapper.CompileMappingForAllExplicitAddedEntities();
+ var hbmMapping = mapper.CompileMappingForAllExplicitlyAddedEntities();
ModelIsWellFormed(hbmMapping);
}
Modified: trunk/nhibernate/src/NHibernate.Test/MappingByCode/ExpliticMappingTests/ClassWithComponentsTest.cs
===================================================================
--- trunk/nhibernate/src/NHibernate.Test/MappingByCode/ExpliticMappingTests/ClassWithComponentsTest.cs 2011-06-21 14:22:28 UTC (rev 5967)
+++ trunk/nhibernate/src/NHibernate.Test/MappingByCode/ExpliticMappingTests/ClassWithComponentsTest.cs 2011-06-21 16:31:37 UTC (rev 5968)
@@ -49,7 +49,7 @@
cm.Component(person => person.Address, comp => { });
});
- var hbmMapping = mapper.CompileMappingForAllExplicitAddedEntities();
+ var hbmMapping = mapper.CompileMappingForAllExplicitlyAddedEntities();
var hbmClass = hbmMapping.RootClasses[0];
Modified: trunk/nhibernate/src/NHibernate.Test/MappingByCode/ExpliticMappingTests/ConformistMappingRegistrationTests/ClassMappingRegistrationTest.cs
===================================================================
--- trunk/nhibernate/src/NHibernate.Test/MappingByCode/ExpliticMappingTests/ConformistMappingRegistrationTests/ClassMappingRegistrationTest.cs 2011-06-21 14:22:28 UTC (rev 5967)
+++ trunk/nhibernate/src/NHibernate.Test/MappingByCode/ExpliticMappingTests/ConformistMappingRegistrationTests/ClassMappingRegistrationTest.cs 2011-06-21 16:31:37 UTC (rev 5968)
@@ -81,7 +81,7 @@
{
var mapper = new ModelMapper();
mapper.AddMapping(typeof(MyClassMap));
- var hbmMapping = mapper.CompileMappingForAllExplicitAddedEntities();
+ var hbmMapping = mapper.CompileMappingForAllExplicitlyAddedEntities();
ModelIsWellFormed(hbmMapping);
}
Modified: trunk/nhibernate/src/NHibernate.Test/MappingByCode/ExpliticMappingTests/NestedComponetsTests.cs
===================================================================
--- trunk/nhibernate/src/NHibernate.Test/MappingByCode/ExpliticMappingTests/NestedComponetsTests.cs 2011-06-21 14:22:28 UTC (rev 5967)
+++ trunk/nhibernate/src/NHibernate.Test/MappingByCode/ExpliticMappingTests/NestedComponetsTests.cs 2011-06-21 16:31:37 UTC (rev 5968)
@@ -47,7 +47,7 @@
x.Component(c => c.Owner);
x.Property(c => c.Something);
});
- return mapper.CompileMappingForAllExplicitAddedEntities();
+ return mapper.CompileMappingForAllExplicitlyAddedEntities();
}
private HbmMapping GetMappingWithParentInCompo()
@@ -69,7 +69,7 @@
x.Component(c => c.Owner);
x.Property(c => c.Something);
});
- return mapper.CompileMappingForAllExplicitAddedEntities();
+ return mapper.CompileMappingForAllExplicitlyAddedEntities();
}
[Test]
Modified: trunk/nhibernate/src/NHibernate.Test/MappingByCode/IntegrationTests/NH2738/Fixture.cs
===================================================================
--- trunk/nhibernate/src/NHibernate.Test/MappingByCode/IntegrationTests/NH2738/Fixture.cs 2011-06-21 14:22:28 UTC (rev 5967)
+++ trunk/nhibernate/src/NHibernate.Test/MappingByCode/IntegrationTests/NH2738/Fixture.cs 2011-06-21 16:31:37 UTC (rev 5968)
@@ -25,7 +25,7 @@
rc.Id(x => x.Id);
rc.Property(x => x.MyEmptyEnum);
});
- var mappings = mapper.CompileMappingForAllExplicitAddedEntities();
+ var mappings = mapper.CompileMappingForAllExplicitlyAddedEntities();
var conf = TestConfigurationHelper.GetDefaultConfiguration();
conf.AddMapping(mappings);
Modified: trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1270/Fixture.cs
===================================================================
--- trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1270/Fixture.cs 2011-06-21 14:22:28 UTC (rev 5967)
+++ trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1270/Fixture.cs 2011-06-21 16:31:37 UTC (rev 5968)
@@ -42,7 +42,7 @@
mm.ForeignKey("FK_UserInRole");
}));
});
- var mappings = mapper.CompileMappingForAllExplicitAddedEntities();
+ var mappings = mapper.CompileMappingForAllExplicitlyAddedEntities();
return mappings;
}
Modified: trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1845/Fixture.cs
===================================================================
--- trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1845/Fixture.cs 2011-06-21 14:22:28 UTC (rev 5967)
+++ trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1845/Fixture.cs 2011-06-21 16:31:37 UTC (rev 5968)
@@ -21,7 +21,7 @@
map.Cascade(Mapping.ByCode.Cascade.All.Include(Mapping.ByCode.Cascade.DeleteOrphans));
}, rel => rel.OneToMany());
});
- var mappings = mapper.CompileMappingForAllExplicitAddedEntities();
+ var mappings = mapper.CompileMappingForAllExplicitlyAddedEntities();
return mappings;
}
Modified: trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1965/ReattachWithCollectionTest.cs
===================================================================
--- trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1965/ReattachWithCollectionTest.cs 2011-06-21 14:22:28 UTC (rev 5967)
+++ trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1965/ReattachWithCollectionTest.cs 2011-06-21 16:31:37 UTC (rev 5968)
@@ -28,7 +28,7 @@
cm.Id(x => x.Id, map => map.Generator(Generators.Identity));
cm.Bag(x => x.Children, map => map.Cascade(Mapping.ByCode.Cascade.All.Include(Mapping.ByCode.Cascade.DeleteOrphans)), rel => rel.OneToMany());
});
- var mappings = mapper.CompileMappingForAllExplicitAddedEntities();
+ var mappings = mapper.CompileMappingForAllExplicitlyAddedEntities();
return mappings;
}
Modified: trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH2510/Fixture.cs
===================================================================
--- trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH2510/Fixture.cs 2011-06-21 14:22:28 UTC (rev 5967)
+++ trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH2510/Fixture.cs 2011-06-21 16:31:37 UTC (rev 5968)
@@ -23,7 +23,7 @@
rc.Id(x=> x.Id);
rc.Property(x => x.Data, map=> map.Lazy(true));
});
- var mappings = mapper.CompileMappingForAllExplicitAddedEntities();
+ var mappings = mapper.CompileMappingForAllExplicitlyAddedEntities();
return mappings;
}
Modified: trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH2568/UsageOfCustomCollectionPersisterTests.cs
===================================================================
--- trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH2568/UsageOfCustomCollectionPersisterTests.cs 2011-06-21 14:22:28 UTC (rev 5967)
+++ trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH2568/UsageOfCustomCollectionPersisterTests.cs 2011-06-21 16:31:37 UTC (rev 5968)
@@ -32,7 +32,7 @@
rm.Id(x => x.Id);
rm.Bag(x => x.Relateds, am => am.Persister<MyCollectionPersister>(), rel=> rel.OneToMany());
});
- var mappings = mapper.CompileMappingForAllExplicitAddedEntities();
+ var mappings = mapper.CompileMappingForAllExplicitlyAddedEntities();
return mappings;
}
Modified: trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH2569/Fixture.cs
===================================================================
--- trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH2569/Fixture.cs 2011-06-21 14:22:28 UTC (rev 5967)
+++ trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH2569/Fixture.cs 2011-06-21 16:31:37 UTC (rev 5968)
@@ -28,7 +28,7 @@
});
var conf = new Configuration();
conf.DataBaseIntegration(x=> x.Dialect<MsSql2008Dialect>());
- conf.AddDeserializedMapping(mapper.CompileMappingForAllExplicitAddedEntities(), "wholeDomain");
+ conf.AddDeserializedMapping(mapper.CompileMappingForAllExplicitlyAddedEntities(), "wholeDomain");
var mappings = conf.CreateMappings(Dialect.Dialect.GetDialect());
var pc = mappings.GetClass(typeof(MyClass).FullName);
Modified: trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH2587/CachingWithLinq.cs
===================================================================
--- trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH2587/CachingWithLinq.cs 2011-06-21 14:22:28 UTC (rev 5967)
+++ trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH2587/CachingWithLinq.cs 2011-06-21 16:31:37 UTC (rev 5968)
@@ -51,7 +51,7 @@
mc.Id(x => x.Id);
mc.ManyToOne(x=> x.Foo, map=> map.Column("FooId"));
});
- var mappings = mapper.CompileMappingForAllExplicitAddedEntities();
+ var mappings = mapper.CompileMappingForAllExplicitlyAddedEntities();
return mappings;
}
Modified: trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH2632/Fixture.cs
===================================================================
--- trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH2632/Fixture.cs 2011-06-21 14:22:28 UTC (rev 5967)
+++ trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH2632/Fixture.cs 2011-06-21 16:31:37 UTC (rev 5968)
@@ -38,7 +38,7 @@
cm.Property(x => x.Date);
cm.ManyToOne(x => x.Customer, map => map.Column("CUSTOMERID"));
});
- return mapper.CompileMappingForAllExplicitAddedEntities();
+ return mapper.CompileMappingForAllExplicitlyAddedEntities();
}
protected override void Configure(Cfg.Configuration configuration)
Modified: trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH941/Fixture.cs
===================================================================
--- trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH941/Fixture.cs 2011-06-21 14:22:28 UTC (rev 5967)
+++ trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH941/Fixture.cs 2011-06-21 16:31:37 UTC (rev 5968)
@@ -20,7 +20,7 @@
}, rel => rel.OneToMany());
});
mapper.Class<Related>(rc => rc.Id(x => x.Id, map => map.Generator(Generators.HighLow)));
- HbmMapping mappings = mapper.CompileMappingForAllExplicitAddedEntities();
+ HbmMapping mappings = mapper.CompileMappingForAllExplicitlyAddedEntities();
return mappings;
}
Modified: trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH941/FixtureUsingList.cs
===================================================================
--- trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH941/FixtureUsingList.cs 2011-06-21 14:22:28 UTC (rev 5967)
+++ trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH941/FixtureUsingList.cs 2011-06-21 16:31:37 UTC (rev 5968)
@@ -21,7 +21,7 @@
}, rel => rel.OneToMany());
});
mapper.Class<Related>(rc => rc.Id(x => x.Id, map => map.Generator(Generators.HighLow)));
- HbmMapping mappings = mapper.CompileMappingForAllExplicitAddedEntities();
+ HbmMapping mappings = mapper.CompileMappingForAllExplicitlyAddedEntities();
return mappings;
}
Modified: trunk/nhibernate/src/NHibernate.Test/Stateless/FetchingLazyCollections/LazyCollectionFetchTests.cs
===================================================================
--- trunk/nhibernate/src/NHibernate.Test/Stateless/FetchingLazyCollections/LazyCollectionFetchTests.cs 2011-06-21 14:22:28 UTC (rev 5967)
+++ trunk/nhibernate/src/NHibernate.Test/Stateless/FetchingLazyCollections/LazyCollectionFetchTests.cs 2011-06-21 16:31:37 UTC (rev 5968)
@@ -30,7 +30,7 @@
});
mapper.AddMapping<FamilyMap<Reptile>>();
mapper.AddMapping<FamilyMap<Human>>();
- var mappings = mapper.CompileMappingForAllExplicitAddedEntities();
+ var mappings = mapper.CompileMappingForAllExplicitlyAddedEntities();
return mappings;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|