65 references to UniqueIdentifier
System.Activities.DurableInstancing (14)
System\Activities\DurableInstancing\CreateWorkflowOwnerAsyncResult.cs (2)
89parameters.Add(new SqlParameter { ParameterName = "@lockOwnerId", SqlDbType = SqlDbType.UniqueIdentifier, Value = this.lockOwnerId }); 90parameters.Add(new SqlParameter { ParameterName = "@workflowHostType", SqlDbType = SqlDbType.UniqueIdentifier, Value = (base.Store.WorkflowHostType != Guid.Empty) ? base.Store.WorkflowHostType : (object) DBNull.Value });
System\Activities\DurableInstancing\DetectRunnableInstancesAsyncResult.cs (1)
46sqlCommand.Parameters.Add(new SqlParameter { ParameterName = "@workflowHostType", SqlDbType = SqlDbType.UniqueIdentifier, Value = base.Store.WorkflowHostType });
System\Activities\DurableInstancing\LoadWorkflowAsyncResult.cs (3)
67parameters.Add(new SqlParameter { ParameterName = "@keyToLoadBy", SqlDbType = SqlDbType.UniqueIdentifier, Value = keyToLoadBy }); 68parameters.Add(new SqlParameter { ParameterName = "@instanceId", SqlDbType = SqlDbType.UniqueIdentifier, Value = instanceId }); 75parameters.Add(new SqlParameter { ParameterName = "@singleKeyId", SqlDbType = SqlDbType.UniqueIdentifier, Value = singleKeyToAssociate ? keysToAssociate[0].KeyId : (object) DBNull.Value });
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (6)
74parameters.Add(new SqlParameter { ParameterName = "@instanceId", SqlDbType = SqlDbType.UniqueIdentifier, Value = base.InstancePersistenceContext.InstanceView.InstanceId }); 85parameters.Add(new SqlParameter { ParameterName = "@workflowHostType", SqlDbType = SqlDbType.UniqueIdentifier, Value = (object)GetWorkflowHostType(saveWorkflowCommand) ?? DBNull.Value }); 436parameters.Add(new SqlParameter { ParameterName = "@serviceDeploymentHash", SqlDbType = SqlDbType.UniqueIdentifier, Value = this.serviceDeploymentHash }); 480parameters.Add(new SqlParameter { ParameterName = "@singleKeyId", SqlDbType = SqlDbType.UniqueIdentifier, Value = DBNull.Value }); 508parameters.Add(new SqlParameter { ParameterName = "@singleKeyId", SqlDbType = SqlDbType.UniqueIdentifier, Value = singleKeyToAssociate ? keysToAssociate[0].KeyId : (object)DBNull.Value }); 598parameters.Add(new SqlParameter() { SqlDbType = SqlDbType.UniqueIdentifier, ParameterName = instanceIdArgument, Value = base.InstancePersistenceContext.InstanceView.InstanceId });
System\Activities\DurableInstancing\TryLoadRunnableWorkflowAsyncResult.cs (1)
42command.Parameters.Add(new SqlParameter { ParameterName = "@workflowHostType", SqlDbType = SqlDbType.UniqueIdentifier, Value = base.Store.WorkflowHostType });
System\Activities\DurableInstancing\UnlockInstanceAsyncResult.cs (1)
36sqlCommand.Parameters.Add(new SqlParameter { ParameterName = "@instanceId", SqlDbType = SqlDbType.UniqueIdentifier, Value = unlockCommand.InstanceId });
System.Data (28)
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (4)
59SqlDbType.UniqueIdentifier, // System.Guid 65SqlDbType.UniqueIdentifier, // System.Data.SqlTypes.SqlGuid 311case SqlDbType.UniqueIdentifier: 776case SqlDbType.UniqueIdentifier:
fx\src\data\Microsoft\SqlServer\Server\SmiMetaData.cs (3)
112internal static readonly SmiMetaData DefaultUniqueIdentifier = new SmiMetaData(SqlDbType.UniqueIdentifier, 16, 0, 0, SqlCompareOptions.None); // SqlDbType.UniqueIdentifier 358case SqlDbType.UniqueIdentifier: 466case SqlDbType.UniqueIdentifier:
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (7)
889case SqlDbType.UniqueIdentifier: 1037case SqlDbType.UniqueIdentifier: 1216case SqlDbType.UniqueIdentifier: 1778case SqlDbType.UniqueIdentifier: 1912case SqlDbType.UniqueIdentifier: 2098case SqlDbType.UniqueIdentifier: 2221case SqlDbType.UniqueIdentifier:
fx\src\data\System\Data\Sql\SqlMetaData.cs (7)
169case SqlDbType.UniqueIdentifier: 438SqlDbType.UniqueIdentifier == dbType || 795if (SqlDbType.UniqueIdentifier != SqlDbType) 934if (SqlDbType.UniqueIdentifier != SqlDbType) 1187smd = new SqlMetaData(name, SqlDbType.UniqueIdentifier); 1216smd = new SqlMetaData(name, SqlDbType.UniqueIdentifier); 1593new SqlMetaData("uniqueidentifier", SqlDbType.UniqueIdentifier,
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (1)
152_conversationGuidParam = new SqlParameter("@p1", SqlDbType.UniqueIdentifier);
fx\src\data\System\Data\SqlClient\SqlEnums.cs (3)
189case SqlDbType.UniqueIdentifier: return MetaUniqueId; 575sqlType = SqlDbType.UniqueIdentifier; 803(255, 255, 16, true, false, false, TdsEnums.SQLUNIQUEID, TdsEnums.SQLUNIQUEID, MetaTypeName.ROWGUID, typeof(System.Guid), typeof(SqlGuid), SqlDbType.UniqueIdentifier, DbType.Guid, 0);
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
4807case SqlDbType.UniqueIdentifier: 8923case SqlDbType.UniqueIdentifier:
fx\src\data\System\Data\SqlClient\TdsValueSetter.cs (1)
75case SqlDbType.UniqueIdentifier:
System.Data.Entity (1)
System\Data\SqlClient\SqlProviderServices.cs (1)
507return SqlDbType.UniqueIdentifier;
System.Data.Linq (8)
SqlClient\SqlTypeSystemProvider.cs (8)
68case SqlDbType.UniqueIdentifier: return theUniqueIdentifier; 122case SqlDbType.UniqueIdentifier: 159static private readonly SqlType theUniqueIdentifier = new SqlType(SqlDbType.UniqueIdentifier); 472case SqlDbType.UniqueIdentifier: 711case SqlDbType.UniqueIdentifier: return 6; 791case SqlDbType.UniqueIdentifier: 1447return Create(SqlDbType.UniqueIdentifier); 1567return Create(SqlDbType.UniqueIdentifier);
System.Web (2)
Security\SQLMembershipProvider.cs (2)
376SqlParameter p = CreateInputParam("@UserId", SqlDbType.UniqueIdentifier, providerUserKey); 942cmd.Parameters.Add(CreateInputParam("@UserId", SqlDbType.UniqueIdentifier, providerUserKey ) );
System.Workflow.Runtime (2)
Tracking\SqlTrackingQuery.cs (1)
174param.SqlDbType = SqlDbType.UniqueIdentifier;
Tracking\SqlTrackingWorkflowInstance.cs (1)
765SqlParameter param = new SqlParameter("@WorkflowInstanceId", SqlDbType.UniqueIdentifier);
System.WorkflowServices (10)
System\ServiceModel\Persistence\SqlPersistenceProviderFactory.cs (10)
769SqlParameter idParameter = new SqlParameter("@id", SqlDbType.UniqueIdentifier); 794SqlParameter lockOwnerParameter = new SqlParameter("@hostId", SqlDbType.UniqueIdentifier); 846SqlParameter idParameter = new SqlParameter("@id", SqlDbType.UniqueIdentifier); 850SqlParameter hostIdParameter = new SqlParameter("@hostId", SqlDbType.UniqueIdentifier); 948SqlParameter idParameter = new SqlParameter("@id", SqlDbType.UniqueIdentifier); 956SqlParameter hostIdParameter = new SqlParameter("@hostId", SqlDbType.UniqueIdentifier); 1411SqlParameter idParameter = new SqlParameter("@id", SqlDbType.UniqueIdentifier); 1415SqlParameter hostIdParameter = new SqlParameter("@hostId", SqlDbType.UniqueIdentifier); 1470SqlParameter idParameter = new SqlParameter("@id", SqlDbType.UniqueIdentifier); 1495SqlParameter lockOwnerParameter = new SqlParameter("@hostId", SqlDbType.UniqueIdentifier);