Exemplo n.º 1
0
 public ConstraintDefinition AddCheck(string expression, string constraintName)
 {
     constraintName.MustNotBeEmpty();
     var c = new CheckConstraint {Expression = expression, Name = constraintName};
     Checks.Add(c);
     return c;
 }
Exemplo n.º 2
0
        public ConstraintDefinition AddCheck(string expression, string constraintName)
        {
            constraintName.MustNotBeEmpty();
            var c = new CheckConstraint {
                Expression = expression, Name = constraintName
            };

            Checks.Add(c);
            return(c);
        }
Exemplo n.º 3
0
 public void Write(CheckConstraint key)
 {
     base.Write(key);
 }