5 references to IsUnique
System.Data.Common (5)
System\Data\Common\DBCommandBuilder.cs (3)
784
if ((null != row) && (row.IsKey || row.
IsUnique
) && !row.IsLong && !row.IsRowVersion && row.IsHidden)
1445
return (row.IsKey || row.
IsUnique
) && !row.IsLong && !row.IsRowVersion;
1448
return (((row.IsKey || row.
IsUnique
) && !_hasPartialPrimaryKey) || row.IsRowVersion) && !row.IsLong;
System\Data\ProviderBase\SchemaMapping.cs (2)
973
if (schemaRow.
IsUnique
&& !schemaRow.IsKey && !fieldType.IsArray)
990
dataColumn.Unique = schemaRow.
IsUnique
;