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 { }
}