Hi I have been looking at certain tutorials on sharparchitecture and trying to no avail (the online convertors don't seem to be able to do this):
     private Action<AutoMappingExpressions> GetSetup()
 {
  return c =>
  {
   c.FindIdentity = type => type.Name == "Id";
  };
 }
 private Action<IConventionFinder> GetConventions()
 {
  return c =>
  {
   c.Add<MVCTemp.Data.NHibernateMaps.Conventions.ForeignKeyConvention>();
   c.Add<MVCTemp.Data.NHibernateMaps.Conventions.HasManyConvention>();
   c.Add<MVCTemp.Data.NHibernateMaps.Conventions.HasManyToManyConvention>();
   c.Add<MVCTemp.Data.NHibernateMaps.Conventions.ManyToManyTableNameConvention>();
   c.Add<MVCTemp.Data.NHibernateMaps.Conventions.PrimaryKeyConvention>();
   c.Add<MVCTemp.Data.NHibernateMaps.Conventions.ReferenceConvention>();
   c.Add<MVCTemp.Data.NHibernateMaps.Conventions.TableNameConvention>();
  };
 }
Any help would be greatly appreciated.