70 references to Bit
System.Activities.DurableInstancing (10)
System\Activities\DurableInstancing\CreateWorkflowOwnerAsyncResult.cs (2)
91
parameters.Add(new SqlParameter { ParameterName = "@enqueueCommand", SqlDbType = SqlDbType.
Bit
, Value = base.Store.EnqueueRunCommands });
92
parameters.Add(new SqlParameter { ParameterName = "@deleteInstanceOnCompletion", SqlDbType = SqlDbType.
Bit
, Value = (base.Store.InstanceCompletionAction == InstanceCompletionAction.DeleteAll) });
System\Activities\DurableInstancing\LoadWorkflowAsyncResult.cs (1)
70
parameters.Add(new SqlParameter { ParameterName = "@handleIsBoundToLock", SqlDbType = SqlDbType.
Bit
, Value = base.InstancePersistenceContext.InstanceView.IsBoundToLock });
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (6)
77
parameters.Add(new SqlParameter { ParameterName = "@handleIsBoundToLock", SqlDbType = SqlDbType.
Bit
, Value = base.InstancePersistenceContext.InstanceView.IsBoundToLock });
79
parameters.Add(new SqlParameter { ParameterName = "@unlockInstance", SqlDbType = SqlDbType.
Bit
, Value = saveWorkflowCommand.UnlockInstance });
83
parameters.Add(new SqlParameter { ParameterName = "@isCompleted", SqlDbType = SqlDbType.
Bit
, Value = saveWorkflowCommand.CompleteInstance });
84
parameters.Add(new SqlParameter { ParameterName = "@isReadyToRun", SqlDbType = SqlDbType.
Bit
, Value = IsReadyToRun(saveWorkflowCommand) });
489
parameters.Add(new SqlParameter { ParameterName = "@metadataIsConsistent", SqlDbType = SqlDbType.
Bit
, Value = DBNull.Value });
512
parameters.Add(new SqlParameter { ParameterName = "@metadataIsConsistent", SqlDbType = SqlDbType.
Bit
, Value = metadataConsistency });
System\Activities\DurableInstancing\TryLoadRunnableWorkflowAsyncResult.cs (1)
45
command.Parameters.Add(new SqlParameter { ParameterName = "@handleIsBoundToLock", SqlDbType = SqlDbType.
Bit
, Value = base.InstancePersistenceContext.InstanceView.IsBoundToLock });
System.Data (27)
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (4)
39
SqlDbType.
Bit
, // System.Boolean
61
SqlDbType.
Bit
, // System.Data.SqlTypes.SqlBoolean
224
case SqlDbType.
Bit
:
768
case SqlDbType.
Bit
:
fx\src\data\Microsoft\SqlServer\Server\SmiMetaData.cs (3)
100
internal static readonly SmiMetaData DefaultBit = new SmiMetaData(SqlDbType.
Bit
, 1, 1, 0, SqlCompareOptions.None); // SqlDbType.Bit
346
case SqlDbType.
Bit
:
454
case SqlDbType.
Bit
:
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (7)
853
case SqlDbType.
Bit
:
1001
case SqlDbType.
Bit
:
1181
case SqlDbType.
Bit
:
1736
case SqlDbType.
Bit
:
1862
case SqlDbType.
Bit
:
2056
case SqlDbType.
Bit
:
2179
case SqlDbType.
Bit
:
fx\src\data\System\Data\Sql\SqlMetaData.cs (7)
161
case SqlDbType.
Bit
:
419
SqlDbType.
Bit
== dbType ||
801
if (SqlDbType.
Bit
!= SqlDbType)
1132
case TypeCode.Boolean: smd = new SqlMetaData(name, SqlDbType.
Bit
); break;
1208
smd = new SqlMetaData(name, SqlDbType.
Bit
);
1312
if (SqlDbType.
Bit
!= SqlDbType)
1569
new SqlMetaData("bit", SqlDbType.
Bit
,
fx\src\data\System\Data\SqlClient\SqlEnums.cs (3)
177
case SqlDbType.
Bit
: return MetaBit;
542
sqlType = SqlDbType.
Bit
;
740
(255, 255, 1, true, false, false, TdsEnums.SQLBIT, TdsEnums.SQLBITN, MetaTypeName.BIT, typeof(System.Boolean), typeof(SqlBoolean), SqlDbType.
Bit
, DbType.Boolean, 0);
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
4811
case SqlDbType.
Bit
:
8860
case SqlDbType.
Bit
:
fx\src\data\System\Data\SqlClient\TdsValueSetter.cs (1)
68
case SqlDbType.
Bit
:
System.Data.Entity (1)
System\Data\SqlClient\SqlProviderServices.cs (1)
459
return SqlDbType.
Bit
;
System.Data.Linq (11)
parent\DbmlShared\Mapping.cs (1)
510
case SqlDbType.
Bit
:
SqlClient\SqlTypeSystemProvider.cs (10)
56
case SqlDbType.
Bit
: return theBit;
90
case SqlDbType.
Bit
:
145
static private readonly SqlType theBit = new SqlType(SqlDbType.
Bit
);
304
case SqlDbType.
Bit
: // 0 or 1
459
case SqlDbType.
Bit
:
613
case SqlDbType.
Bit
:
716
case SqlDbType.
Bit
: return 11;
757
case SqlDbType.
Bit
:
1419
return Create(SqlDbType.
Bit
);
1539
return Create(SqlDbType.
Bit
);
System.Web (18)
Profile\SqlProfileProvider.cs (1)
237
cmd.Parameters.Add(CreateInputParam("@IsUserAnonymous", SqlDbType.
Bit
, !userIsAuthenticated));
Security\SQLMembershipProvider.cs (7)
372
cmd.Parameters.Add(CreateInputParam("@IsApproved", SqlDbType.
Bit
, isApproved));
829
cmd.Parameters.Add(CreateInputParam("@IsApproved", SqlDbType.
Bit
, user.IsApproved ? 1 : 0));
943
cmd.Parameters.Add(CreateInputParam("@UpdateLastActivity", SqlDbType.
Bit
, userIsOnline));
1032
cmd.Parameters.Add(CreateInputParam("@UpdateLastActivity", SqlDbType.
Bit
, userIsOnline));
1587
cmd.Parameters.Add( CreateInputParam( "@IsPasswordCorrect", SqlDbType.
Bit
, isPasswordCorrect ) );
1588
cmd.Parameters.Add( CreateInputParam( "@UpdateLastLoginActivityDate", SqlDbType.
Bit
, updateLastLoginActivityDate ) );
1648
cmd.Parameters.Add(CreateInputParam("@UpdateLastLoginActivityDate", SqlDbType.
Bit
, updateLastLoginActivityDate));
Security\SQLRoleProvider.cs (1)
307
cmd.Parameters.Add(CreateInputParam("@DeleteOnlyIfRoleIsEmpty", SqlDbType.
Bit
, throwOnPopulatedRole ? 1 : 0));
State\sqlstateclientmanager.cs (4)
1292
p = _cmdTempGet.Parameters.Add(new SqlParameter("@locked", SqlDbType.
Bit
));
1305
p = _cmdTempGet.Parameters.Add(new SqlParameter("@locked", SqlDbType.
Bit
));
1334
p = _cmdTempGetExclusive.Parameters.Add(new SqlParameter("@locked", SqlDbType.
Bit
));
1347
p = _cmdTempGetExclusive.Parameters.Add(new SqlParameter("@locked", SqlDbType.
Bit
));
UI\WebParts\SqlPersonalizationProvider.cs (5)
92
SqlParameter parameter = parameters.Add(new SqlParameter("AllUsersScope", SqlDbType.
Bit
));
212
SqlParameter parameter = parameters.Add(new SqlParameter("AllUsersScope", SqlDbType.
Bit
));
321
parameter = parameters.Add(new SqlParameter("AllUsersScope", SqlDbType.
Bit
));
397
parameter = parameters.Add(new SqlParameter("AllUsersScope", SqlDbType.
Bit
));
648
SqlParameter parameter = parameters.Add(new SqlParameter("AllUsersScope", SqlDbType.
Bit
));
System.WorkflowServices (3)
System\ServiceModel\Persistence\SqlPersistenceProviderFactory.cs (3)
790
SqlParameter unlockInstanceParameter = new SqlParameter("@unlockInstance", SqlDbType.
Bit
);
952
SqlParameter lockInstanceParameter = new SqlParameter("@lockInstance", SqlDbType.
Bit
);
1491
SqlParameter unlockInstanceParameter = new SqlParameter("@unlockInstance", SqlDbType.
Bit
);