public static GetConstraint ( ) : OSGeo.FDO.Schema.PropertyValueConstraint | ||
리턴 | OSGeo.FDO.Schema.PropertyValueConstraint |
private void btnEditConstraint_Click(object sender, EventArgs e) { if (_context.IsConnected) { var constraint = _dp.ValueConstraint; if (constraint == null) { constraint = ValueConstraintDialog.GetConstraint(_context.Connection); if (constraint != null) { _dp.ValueConstraint = constraint; } } else { constraint = ValueConstraintDialog.GetConstraint(constraint, _context.Connection); if (constraint != null) { _dp.ValueConstraint = constraint; } } } else { var constraint = _dp.ValueConstraint; if (constraint == null) { constraint = ValueConstraintDialog.GetConstraint(); if (constraint != null) { _dp.ValueConstraint = constraint; } } else { constraint = ValueConstraintDialog.GetConstraint(constraint); if (constraint != null) { _dp.ValueConstraint = constraint; } } } }