SqlHelperEnsureMissingColumns Method |
Namespace: CMS.DataEngine
public static void EnsureMissingColumns( ICollection<QueryColumnList> columnLists )
Collection A has { A, B as C, D } and collection B has { X, D, C } after calling this method result is A has { A, B as C, D, NULL AS X } and B has { X, D, C, NULL AS A }.
Another example, collection A has { *, A } and B has { X } result is A has { A , NULL as X } and B has { X, NULL as A }.