17 writes to PrimaryKey
System.Data (14)
fx\src\data\System\Data\Common\DbProviderFactoriesConfigurationHandler.cs (1)
275
table.
PrimaryKey
= primaryKey;
fx\src\data\System\Data\ConstraintCollection.cs (5)
141
Table.
PrimaryKey
= ((UniqueConstraint)constraint).ColumnsReference;
155
Table.
PrimaryKey
= columns;
167
Table.
PrimaryKey
= constraint.ColumnsReference;
385
table.
PrimaryKey
= null;
627
Table.
PrimaryKey
= null;
fx\src\data\System\Data\DataTable.cs (4)
1634
PrimaryKey
= null;
1898
PrimaryKey
= delayedSetPrimaryKey;
2254
clone.
PrimaryKey
= key;
4361
PrimaryKey
= new DataColumn[] {
fx\src\data\System\Data\Merger.cs (1)
349
targetTable.
PrimaryKey
= key;
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (1)
923
_dataTable.
PrimaryKey
= keys;
fx\src\data\System\Data\XDRSchema.cs (1)
580
table.
PrimaryKey
= cols;
fx\src\data\System\Data\XMLSchema.cs (1)
1217
key[0].Table.
PrimaryKey
= key;
System.Web (1)
UI\TraceContext.cs (1)
678
tab.
PrimaryKey
= col; // set the control id to be the primary key
System.Web.Entity (2)
System\Data\WebControls\EntityDataSourceViewSchema.cs (2)
43
this.
PrimaryKey
= keys.ToArray();
93
this.
PrimaryKey
= keys.ToArray();
12 references to PrimaryKey
System.Data (12)
fx\src\data\System\Data\DataTable.cs (5)
1621
/// Indicates whether the <see cref='System.Data.DataTable.
PrimaryKey
'/> property should be persisted.
1630
/// Resets the <see cref='System.Data.DataTable.
PrimaryKey
'/> property to its default state.
2248
DataColumn[] pkey =
PrimaryKey
;
4336
DataColumn[] pkey =
PrimaryKey
;
4467
if (this.
PrimaryKey
.Length == 0) {
fx\src\data\System\Data\DataTableReader.cs (1)
721
foreach(DataColumn key in table.
PrimaryKey
) {
fx\src\data\System\Data\Merger.cs (2)
339
DataColumn[] targetPKey = targetTable.
PrimaryKey
;
340
DataColumn[] tablePKey = table.
PrimaryKey
;
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (1)
653
bool addPrimaryKeys = (((0 == _dataTable.
PrimaryKey
.Length) && ((4 <= (int)_loadOption) || (0 == _dataTable.Rows.Count)))
fx\src\data\System\Data\SqlClient\SqlParameter.cs (3)
1106
if (null != dt.
PrimaryKey
&& 0 < dt.
PrimaryKey
.Length) {
1107
foreach(DataColumn col in dt.
PrimaryKey
) {