-1

I'm new to coding and the program MDriven. I've got some quite basic questions on MDriven that I haven't found clear answers for.

Where can I find more detailed explanations for different attribute.type? For example: What's the difference between Guid and AutoGuid?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Gustaf
  • 147
  • 5
  • 2
    Presumably in the Mdriven website's official documentation. I've never heard the term 'autoguid' before, but I'd **assume** that it would be an auto-incrementing primary key. – Obsidian Age Jan 15 '18 at 19:44
  • 2
    I also never heard about that, but presumably you should read https://www.capableobjects.com/products/mdriven-the-book/ – qwerty_so Jan 15 '18 at 22:44

1 Answers1

1

In PersistenceMapping - how things are represented in a database - AutoGuid represents an dbgenerated Guid value.

As you state that you are new to MDriven, you will probably not be interested in overridden persistence mapping just yet → forget about AutoGuid for now.

Common types for attributes are the simple native types:

  • String (size limited in the database)
  • Text (text in database - no size limit)
  • Double
  • Decimal
  • Integer
  • DateTime
  • Boolean
  • Blob (Binary data byte[] -combine with setting for BlobType) Guid
Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Hans Karlsen
  • 2,275
  • 1
  • 15
  • 15