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

◆ CheckPrimaryKey()

void System.Data.DataTable.CheckPrimaryKey ( )
inlineprivateinherited

Definition at line 2720 of file DataTable.cs.

2721 {
2722 if (_primaryKey == null)
2723 {
2724 throw ExceptionBuilder.TableMissingPrimaryKey();
2725 }
2726 }
UniqueConstraint _primaryKey
Definition DataTable.cs:124

References System.Data.DataTable._primaryKey, and System.Data.ExceptionBuilder.TableMissingPrimaryKey().

Referenced by System.Data.DataTable.FindByPrimaryKey(), and System.Data.DataTable.FindByPrimaryKey().