public static DbConnectionStringSettings Clone(IDbConnectionStringSettings from, bool isDeep = true) // Clone.tt Line: 27 { Contract.Requires(from != null); DbConnectionStringSettings vm = new DbConnectionStringSettings(); vm.IsNotifying = false; vm.IsValidate = false; vm.StringSettings = from.StringSettings; // Clone.tt Line: 65 vm.IsNotifying = true; vm.IsValidate = true; return(vm); }
public static void Update(DbConnectionStringSettings to, IDbConnectionStringSettings from, bool isDeep = true) // Clone.tt Line: 77 { Contract.Requires(to != null); Contract.Requires(from != null); to.StringSettings = from.StringSettings; // Clone.tt Line: 141 }