protected override string ConstraintWriter() { var sb = new StringBuilder(); var constraintWriter = new ConstraintWriter(Table); constraintWriter.IncludeSchema = IncludeSchema; constraintWriter.CheckConstraintExcluder = ExcludeCheckConstraint; constraintWriter.TranslateCheckConstraint = TranslateCheckExpression; sb.AppendLine(constraintWriter.WriteTableConstraints()); return sb.ToString(); }
protected override string ConstraintWriter() { var sb = new StringBuilder(); var constraintWriter = new ConstraintWriter(Table); constraintWriter.IncludeSchema = IncludeSchema; constraintWriter.CheckConstraintExcluder = ExcludeCheckConstraint; constraintWriter.TranslateCheckConstraint = TranslateCheckExpression; sb.AppendLine(constraintWriter.WriteTableConstraints()); return(sb.ToString()); }
protected override string ConstraintWriter() { var sb = new StringBuilder(); var constraintWriter = new ConstraintWriter(Table) { IncludeSchema = IncludeSchema, CheckConstraintExcluder = ExcludeCheckConstraint, TranslateCheckConstraint = TranslateCheckExpression, EscapeNames = EscapeNames }; sb.AppendLine(constraintWriter.WriteTableConstraints()); return(sb.ToString()); }