Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ RemovePrimaryKey()

static Exception System.Data.ExceptionBuilder.RemovePrimaryKey ( DataTable table)
inlinestatic

Definition at line 1017 of file ExceptionBuilder.cs.

1018 {
1019 if (table.TableName.Length != 0)
1020 {
1021 return _Argument(System.SR.Format(System.SR.DataKey_RemovePrimaryKey1, table.TableName));
1022 }
1024 }
static Exception _Argument(string error)
static string DataKey_RemovePrimaryKey
Definition SR.cs:392
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string DataKey_RemovePrimaryKey1
Definition SR.cs:394
Definition SR.cs:7

References System.Data.ExceptionBuilder._Argument(), System.SR.DataKey_RemovePrimaryKey, System.SR.DataKey_RemovePrimaryKey1, System.SR.Format(), and System.Data.DataTable.TableName.

Referenced by System.Data.UniqueConstraint.CanBeRemovedFromCollection().