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