Workflow's Id from type Guid
I wan开发者_如何转开发t to save in my DB the id of the current workflow. but its id from type Guid (which i don't know before) but the column in DB can't recognize this type. I thought about downcasting it to int, but when I want to retrieve it may its not safe to downcast it to Guid type. Any idea? Thank you.
i guess you should use varchar(36) and store it as string only.
this could help you
GUID type in database
精彩评论