Conversion to new conventions

Original Post sianabanana's Avatar

sianabanana

24 Mar, 2010 06:28 PM via web

Hi,

I think im being a bit simple, but i cant seem to figure out this simple conversion to the new conventions.

I had
GetPrimaryKeyNameFromType = type => type.Name + "Id"

and by searching for the new conventions i take it i should use something lilke
ConventionBuilder.Id.Always(x => x.Column(x + x.EntityType.Name + "Id")

this resulted in ... - Instances.IdentityInstanceProductId rather than ProductId

Has anyone else done this and can help me out?

    Reply to this discussion

    Preview Comments are parsed with Markdown. Help with syntax

    Attached Files

      You can attach files up to 10MB

      What month comes before July?

      Recent Discussions

      05 Jul, 2010 10:29 PM
      05 Jul, 2010 12:45 PM
      05 Jul, 2010 12:42 PM
      05 Jul, 2010 12:17 PM
      05 Jul, 2010 12:12 PM

       

      03 Jul, 2010 12:26 AM
      02 Jul, 2010 02:17 PM
      02 Jul, 2010 08:18 AM
      02 Jul, 2010 12:20 AM
      01 Jul, 2010 10:14 PM