src/MetadataV3/edm/ssdl/TEntityPropertyType.php 1 location
|
@@ 357-360 (lines=4) @@
|
354 |
|
$msg = "Default value cannot be empty"; |
355 |
|
return false; |
356 |
|
} |
357 |
|
if (null != $this->maxLength && !(is_numeric($this->maxLength) && 0 < $this->maxLength)) { |
358 |
|
$msg = "Max length must be positive and numeric"; |
359 |
|
return false; |
360 |
|
} |
361 |
|
if (null != $this->precision && !(is_numeric($this->precision) && 0 < $this->precision)) { |
362 |
|
$msg = "Precision must be positive and numeric"; |
363 |
|
return false; |
src/MetadataV3/edm/ssdl/TPropertyType.php 1 location
|
@@ 337-340 (lines=4) @@
|
334 |
|
$msg = "Collation value cannot be empty"; |
335 |
|
return false; |
336 |
|
} |
337 |
|
if (null != $this->maxLength && !(is_numeric($this->maxLength) && 0 <= $this->maxLength)) { |
338 |
|
$msg = "Max length must be numeric and non-negative"; |
339 |
|
return false; |
340 |
|
} |
341 |
|
if (null != $this->precision && !(is_numeric($this->precision) && 0 <= $this->precision)) { |
342 |
|
$msg = "Precision must be numeric and non-negative"; |
343 |
|
return false; |