rowversion, or how to exclude a column from a mapping
RangerDick
Posts: 3
Hi!
I need guidance on how to exclude a field from the data comparison.
This particular field is being used as a high water mark in the tables and it is a rowversion type (timestamp). Does the SDK automaticall exclude them on comparison, or do I have to explicitly exclude them? Does it matter if I am using them in the where clause for comparison?
A brief example would be most welcomed. I have found a sample using the tablemapping.fieldmapping.add but not for the remove.
Thanks,
RD
I need guidance on how to exclude a field from the data comparison.
This particular field is being used as a high water mark in the tables and it is a rowversion type (timestamp). Does the SDK automaticall exclude them on comparison, or do I have to explicitly exclude them? Does it matter if I am using them in the where clause for comparison?
A brief example would be most welcomed. I have found a sample using the tablemapping.fieldmapping.add but not for the remove.
Thanks,
RD
Comments
Redgate Software
mapping.FieldMappings.Remove(mapping.FieldMappings["FieldName"]);
Redgate Software