Book a Demo

Author Topic: generating GUID  (Read 3401 times)

Michael co

  • EA User
  • **
  • Posts: 60
  • Karma: +0/-0
    • View Profile
generating GUID
« on: July 22, 2014, 09:59:38 pm »
How could I generate GUID when inserting new record in table t_object
is there some functions used to generate a GUID for a component ?


Thanks

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: generating GUID
« Reply #1 on: July 23, 2014, 04:26:27 am »
Hi,

in C#/VB you can generate a GUID by:
  
g = Guid.NewGuid();

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)