Hey,
I just wanted to know if i have a parameter with a type of uniqueidentifier, how can i pass that in my code as a parameter:
personId uniqueidentifier
public IQueryable<Report_person>GetPerson(uniqueidentifier personId)
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Depends on what your uniqueidentifier is. C# has a
Guidclass that is used for globally unique identifiers, or if this is for a database and you have just an incremental ID number as the identifier andintwould be fine. Depends on how you are creating the ID and what you are using it for, but usually a unique Identifier in C# is represented by aGuidor Globally Unique Identifier