How can I exclude column by code?

ampoampo Posts: 16
Hello.

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

Sign In or Register to comment.