fx\src\data\System\Data\DataTable.cs (52)
267tempDSNamespace = this.DataSet.Namespace;
268this.DataSet.namespaceURI = this.Namespace; //this.DataSet.Namespace = this.Namespace; ??
482Debug.Assert(DataSet != null);
512parentInfo[0] = allConstraints ? this.DataSet.Tables.IndexOf(fk.RelatedTable) : 0;
518childInfo[0] = allConstraints ? this.DataSet.Tables.IndexOf(fk.Table) : 0 ; //Since the constraint is on the current table, this is the child table.
578DataTable parentTable = (allConstraints == false) ? this : this.DataSet.Tables[parentInfo[0]];
585DataTable childTable = (allConstraints == false) ? this : this.DataSet.Tables[childInfo[0]];
867if (DataSet != null && !DataSet.ValidateCaseConstraint()) {
1031if (this.DataSet != null && value != this.DataSet.RemotingFormat) {
1138if (this.DataSet != null) {
1334if ((null == DataSet) || DataSet.ValidateLocaleConstraint()) {
1749if (DataSet != null) { // if it cant return from parent tables, return NS from dataset, if exists
1750return DataSet.Namespace;
2671if (DataSet != null && DataSet.fEnableCascading) {
3130DataSet.OnDataRowCreated( dr );
3189DataSet.OnDataRowCreated( row );
4153if (DataSet != null) {
4154savedEnforceConstraints = DataSet.EnforceConstraints;
4155DataSet.EnforceConstraints = false;
4194if (DataSet != null)
4195DataSet.EnforceConstraints = savedEnforceConstraints;
4845if (null == this.DataSet) {
4990if (null == this.DataSet) {
5092if (this.DataSet != null) {
5093this.DataSet.EnforceConstraints = originalEnforceConstraint;
5138if (this.DataSet != null) {
5139originalEnforceConstraint = this.DataSet.EnforceConstraints;
5140this.DataSet.EnforceConstraints = false;
5198if (this.DataSet != null) { // we should not throw for constraint, we already will throw for unsupported schema, so restore enforce cost, but not via property
5199this.DataSet.RestoreEnforceConstraints(originalEnforceConstraint);
5256if (this.DataSet != null) { // we should not throw for constraint, we already will throw for unsupported schema, so restore enforce cost, but not via property
5257this.DataSet.RestoreEnforceConstraints(originalEnforceConstraint);
5340if (this.DataSet != null) {
5341originalEnforceConstraint = this.DataSet.EnforceConstraints;
5342this.DataSet.EnforceConstraints = false;
5418if (this.DataSet != null) { // we should not throw for constraint, we already will throw for unsupported schema, so restore enforce cost, but not via property
5419this.DataSet.RestoreEnforceConstraints(originalEnforceConstraint);
5492if (this.DataSet != null) { // we should not throw for constraint, we already will throw for unsupported schema, so restore enforce cost, but not via property
5493this.DataSet.RestoreEnforceConstraints(originalEnforceConstraint);
5783if (this.DataSet == null && this.tableNamespace == null) { // webdata 105506
5797if (this.DataSet == null) {
5816DataTable targetTable = CloneHierarchy(currentTable, this.DataSet, null);
5819DataTable destinationTable = this.DataSet.Tables[tempTable.tableName, tempTable.Namespace];
5826ForeignKeyConstraint newFKC = (ForeignKeyConstraint)fkc.Clone(destinationTable.DataSet);
5835if (!this.DataSet.Relations.Contains(rel.RelationName))
5836this.DataSet.Relations.Add(rel.Clone(this.DataSet));
5854this.DataSet.Tables[tempTable.TableName, tempTable.Namespace].Columns[dc.ColumnName].Expression = dc.Expression;