private void PopulatePrimaryKey (TableMapping table)
{
DataColumn col = new DataColumn (table.Table.TableName + "_Id");
col.ColumnMapping = MappingType.Hidden;
col.DataType = typeof (int);
col.AllowDBNull = false;
col.AutoIncrement = true;
col.Namespace = table.Table.Namespace;
col.Prefix = table.Table.Prefix;
table.PrimaryKey = col;
}