1392 {
1397 if (!FromInference || (FromInference &&
dataTable ==
null))
1398 {
1400 {
1402 {
1404 }
1405 throw ExceptionBuilder.DuplicateDeclaration(
instanceName);
1406 }
1408 {
1410 }
1417 {
1419 }
1421 {
1423 {
1425 }
1427 {
1429 }
1430 }
1433 {
1435 {
1437 }
1438 else
1439 {
1441 }
1442 }
1443 if (!FromInference)
1444 {
1447 }
1448 else
1449 {
1450 string prefix = GetPrefix(@
namespace);
1451 if (prefix != null)
1452 {
1454 }
1455 }
1457 if (FromInference)
1458 {
1460 }
1461 }
1464 {
1466 }
1469 if (_dsElement != null && _dsElement.Constraints != null)
1470 {
1472 {
1473 if (!(constraint
is XmlSchemaKeyref) && GetTableName(constraint) ==
dataTable.TableName && (GetTableNamespace(constraint) ==
dataTable.Namespace || GetTableNamespace(constraint) ==
null))
1474 {
1475 HandleConstraint(constraint);
1476 }
1477 }
1478 }
1480 {
1482 {
1484 }
1485 if (_dsElement != null && _dsElement.Constraints != null)
1486 {
1488 {
1490 {
1491 continue;
1492 }
1493 if (
item.DataSet.Tables.InternalIndexOf(
item.TableName) < -1)
1494 {
1496 {
1498 }
1499 }
1500 else
1501 {
1503 }
1504 }
1505 }
1509 {
1511 {
1513 }
1514 }
1516 {
1517 continue;
1518 }
1520 if (FromInference)
1521 {
1522 int num =
dataTable.UKColumnPositionForInference;
1523 if (num == -1)
1524 {
1526 {
1527 if (
column.ColumnMapping == MappingType.Attribute)
1528 {
1530 break;
1531 }
1532 }
1533 }
1535 }
1536 else
1537 {
1539 }
1541 if (FromInference)
1542 {
1544 }
1549 {
1551 }
1552 }
1554 }
bool ContainsKey(TKey key)
void Add(TKey key, TValue value)
string GetInstanceName(XmlSchemaAnnotated node)
static CultureInfo InvariantCulture
static ? string DecodeName(string? name)