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

◆ IsAutoIncrementType()

static bool System.Data.DataColumn.IsAutoIncrementType ( Type dataType)
inlinestaticpackage

Definition at line 1427 of file DataColumn.cs.

1428 {
1429 if (!(dataType == typeof(int)) && !(dataType == typeof(long)) && !(dataType == typeof(short)) && !(dataType == typeof(decimal)) && !(dataType == typeof(BigInteger)) && !(dataType == typeof(SqlInt32)) && !(dataType == typeof(SqlInt64)) && !(dataType == typeof(SqlInt16)))
1430 {
1431 return dataType == typeof(SqlDecimal);
1432 }
1433 return true;
1434 }

References System.Xml.Dictionary.

Referenced by System.Data.ProviderBase.SchemaMapping.SetupSchemaWithKeyInfo().