public GetParentRow ( string relationName, DataRowVersion version ) : |
||
relationName | string | |
version | DataRowVersion | |
Résultat |
public DataRow GetParentRow(string relationName, DataRowVersion version) =>
GetParentRow(_table.ParentRelations[relationName], version);
DataRow::GetParentRow ( |
|
DataRow::GetParentRow ( |
|
DataRow::GetParentRow ( string relationName ) : |
public BaseBusinessProxy(DataRow row) { this.Name = row["Name"].ToString(); this.Version = ""; if (row.GetParentRow("Bla_Blh").Table.Columns.Contains("Version")) { this.Version = row.GetParentRow("Bla_Blh")["Version"].ToString(); } this.DbName = ""; if (row.Table.Columns.Contains("DbName")) { this.DbName = row["DbName"].ToString(); } this.TransactionMode = "false"; if (row.Table.Columns.Contains("TransactionMode")) { this.TransactionMode = row["TransactionMode"].ToString(); } if (row.Table.Columns.Contains("Provider")) { this.Provider = row["Provider"].ToString(); } try { this.BusinessAssemblyName = row.GetParentRow("Bla_Blh")["Name"].ToString(); } catch { } }