3 Replies Latest reply on Jul 20, 2005 7:55 PM by epbernard

    @Id Tag for custom key generation

    murtuza52

      Hello Everyone,

      Can we use @Id tag to generate a patterned key automatically. I have application where i need to generate key in pattern "AA99999" where AA represents "alphbets" and is fixed for any given entity and "99999" represents numbers. The number will be generated in order for example

      CDEntity
      CD10000
      CD10001
      CD10002

      EFEntity
      EF10000
      EF10001
      EF10002


      I'll appreciate if anyone can point me to right resources or show me a sample code.

      Thanks

      Murtuza Vohra