public override void WriteValue(bool value) { if (value == true) { this.WriteValue("1"); } else { this.WriteValue("0"); } }