How to exclude column by code?
ampo
Posts: 16
Hello.
How can I exclude column from beeing compared by code?
This is my current code:
Is it somthing in the "table.Fields" parameter?
Thanks.
How can I exclude column from beeing compared by code?
This is my current code:
commonTables = Tables.CreateFromIntersection(dbSource.Tables, dbTarget.Tables); TableComparisonSetting = new TableComparisonSetting(table.FullyQualifiedName, table.Fields, table.PrimaryKey.Fields); m_settings.Add(TableComparisonSetting); m_session.CompareDatabases(dbSource, dbTarget, m_settings); block = m_provider.GetMigrationSQL(m_session, true);
Is it somthing in the "table.Fields" parameter?
Thanks.
Comments
I hope this works for you.