Questions tagged [guid]

A GUID (Globally Unique IDentifier) is a unique reference number used as an identifier in computer software.

A GUID (Globally Unique IDentifier) is a unique reference number used as an identifier in computer software. It is Microsoft's implementation of the UUID standard.

2008 questions
0
votes
1 answer

domain-driven design - should each entity have guid?

I have ID as Guid in Order table and in OrderItem also ID as Guid. So OrderStatus (New / Confirmed / Payed / Sent) should have ID also as Guid?
0
votes
1 answer

Can't load from Oracle when Id is Guid in NHibernate

We're saving an object to NHibernate where the Id is typed Guid. Based on other things we've found we have this as a type char(36). We create an object and save it via NHibernate. This works fine and we see 64599239BB0C1C48B44C36D9F9267830 in the…
Shane Courtrille
  • 13,960
  • 22
  • 76
  • 113
0
votes
1 answer

order by List of Guids position

I have the following: var nodes = _nodeService.GetNodeChildren(id, nId); var association = _nodeService.GetNodeOrder(id, nId); var joinedNodes = nodes.Join(association, n => n.Id, a => a, (n, a) => new {nodes = n, association = a}; var…
lemunk
  • 2,616
  • 12
  • 57
  • 87
0
votes
0 answers

Are Guids unique when using a U-SQL Extractor?

As these questions point out, Guid.NewGuid will return the same value for all rows due to the enforced deterministic nature of U-SQL i.e if it's scaled out if an element (vertex) needs retrying then it should return the same value....…
Alex KeySmith
  • 16,657
  • 11
  • 74
  • 152
0
votes
3 answers

Can a C# Guid be null?

I know there is a such a thing as Guid? and Nullable. I have this code and it compiles: public Contact GetContact(Guid contactId) { if (contactId == null) { throw new ArgumentNullException(nameof(contactId)); } return…
Meca
  • 149
  • 2
  • 20
0
votes
1 answer

Who must generate identifiers for new entities?

I've been working as iOS developer for more than 4 years and I've done some other platforms and practised .net. A few days ago I had an argument about who must generate identifier for a newly created entity - client or server? There is a…
0
votes
0 answers

Search-replace on GUID-tables in WordPress

My gut-feeling tells me that this is more of a StackOverflow-question, than a WordPress-question, which is why I don't ask it there. I'm working on an old site, that hasn't been touched in forever. I can see that there are still quite a few…
Zeth
  • 2,273
  • 4
  • 43
  • 91
0
votes
1 answer

Mailbox Group Members GUID

How to get the GUID of mailboxes which has added under group. Consider that i am having "TestGroup" mailbox group. Under this "mailbox1", mailbox2, mailbox3 are exist. I am using ExpandGroup function to get members of group but the result is not…
Aishwarya
  • 23
  • 1
  • 8
0
votes
1 answer

How Do I set the Guid Id of a User to an item that they are creating as foreign key?

I am building a project on ASP.Net for an assignment and I'm having trouble figuring out how to add the currently logged in user's Id which is a guid as a foreign key to know what items they are adding. I need to do this because when the user is…
Burdy
  • 113
  • 10
0
votes
1 answer

How to store and retrieve an undefined guid with Javascript?

My chrome extension reads an RSS feed that is updated quite often with new posts. What I want to do is assign every guid to an array that holds and then helps determine whether or not each post is new, and so ought to be passed on (as a notification…
0
votes
2 answers

Error inserting guid as primary key in object get set

Trying to insert GUID as primary key within object get set. In the set section I checked if value==null to determine insert or update. public string Id { get { return this.Id; } set { …
codegrid
  • 977
  • 2
  • 13
  • 33
0
votes
1 answer

Android to webservice, need a guid

I want to write a webservice that will upload a file to our server in chunks. In c# this would look something like this: [WebMethod] void UploadFile(string originalFilename, byte[] chunk, int numChunks) { //once: create folder based on unique…
Tom Fobear
  • 6,729
  • 7
  • 42
  • 74
0
votes
1 answer

Procedure to change Credential Provider GUID for deployment

I have modified the 'SampleAllControlsCredentialProvider' from Windows Vista samples using Visual Studio 2013. I need to change its GUID before deploying it to the production systems. I have generated the GUID using visual studio create gui tool and…
js.hrt
  • 159
  • 2
  • 14
0
votes
4 answers

Extract a GUID from a string. How can I do it?

I have a string in this format: "object": "Board-f330c10a-a9eb-4253-b554-43ed95c87242" and I want to extract guid from it.I was trying like this: Guid.Parse(followActivity.Object.Split('-').Skip(1).FirstOrDefault()); but it takes only the first…
0
votes
0 answers

How do I assign a UUID to a file (.mydsl) using python code

I have multiple .mydsl files in my dir. I want to assign each file with a unique ID using Python. When I run the python code, any new files and existing files in the specific directory should b assigned with an ID. Could anyone be able to help me…
Dharshan
  • 37
  • 7
1 2 3
99
100