8 references to IsKey
System.Data.Common (8)
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 (5)
861
if (schemaRow.
IsKey
)
899
if (schemaRow.
IsKey
)
965
if (!schemaRow.AllowDBNull && (!schemaRow.IsReadOnly || schemaRow.
IsKey
))
970
if (schemaRow.IsUnique && !schemaRow.
IsKey
&& !fieldType.IsArray)
1017
if (addPrimaryKeys && schemaRow.
IsKey
)