public GetChildRows ( |
||
relation | ||
version | DataRowVersion | |
return | System.Data.DataRow[] |
public DataRow[] GetChildRows(DataRelation relation, DataRowVersion version)
{
if (relation == null)
{
return _table.NewRowArray(0);
}
if (relation.DataSet != _table.DataSet)
{
throw ExceptionBuilder.RowNotInTheDataSet();
}
if (relation.ParentKey.Table != _table)
{
throw ExceptionBuilder.RelationForeignTable(relation.ParentTable.TableName, _table.TableName);
}
return DataRelation.GetChildRows(relation.ParentKey, relation.ChildKey, this, version);
}
DataRow::GetChildRows ( |
|
DataRow::GetChildRows ( string relationName ) : System.Data.DataRow[] | |
DataRow::GetChildRows ( string relationName, DataRowVersion version ) : System.Data.DataRow[] |
public DualDraw(DataRow data) { DataRow[] parts = data.GetChildRows("Module_Module"); _lower = (IDrawExecuter)BaseModule.GetModule(parts[0]); _upper = (IDrawExecuter)BaseModule.GetModule(parts[1]); }