Using a datasource twice in Configure to get different values

Feb 9, 2011 at 7:17 PM
Edited Feb 9, 2011 at 7:19 PM
I've set up some custom data sources and use them in the fluent configuration something like so:

factory = AutoPocoContainer.Configure(
            x =>
                  x.Conventions(c => c.UseDefaultConventions());
                    .Setup(c => c.CustomerFullName).Use<FullNameSource>()
                   .Setup(c => c.PersonCausingNuisanceName).Use<FullNameSource2>();
I have a FullNameSource (implementation is below) that I use for the two properties CustomerFullName and PersonCausingNuisanceName.  This gives me the same value for both properties, but I want to get different values.  
Is there a way I can do this?
BTW - AutoPoco is a really lovely tool.  Many thanks for this! :)
   public class FullNameSource : DatasourceBase<string>
      private readonly FirstNameSource firstnames = new FirstNameSource();
      private readonly LastNameSource lastnames = new LastNameSource();

      public override string Next(IGenerationSession session)
         return firstnames.Next(session) + " " + lastnames.Next(session);