MapperKernelClone Method (IMapper, MapperCloneFlags) |
Namespace: NetQuarry.Data
IMapper mapperClone = new Mapper(); try { sender.Clone(mapperClone, 0); sender.Fields["max_bid_amt"].Properties.Import(mapperClone.Fields["max_bid_amt"].Properties, CollectionAddFlags.ReplaceIfDiff); sender.Fields["max_bid_amt"].TextItems.Add("Watermark", mapperClone.Fields["max_bid_amt"].TextItems["Watermark"]); sender.Fields["max_bid_amt"].TextItems.Add("ValidationText", mapperClone.Fields["max_bid_amt"].TextItems["ValidationText"]); } catch { throw; } finally { mapperClone.Close(); }