src/MetadataV3/edm/ssdl/TEntityPropertyType.php 1 location
|
@@ 403-406 (lines=4) @@
|
| 400 |
|
$msg = "Default value cannot be empty"; |
| 401 |
|
return false; |
| 402 |
|
} |
| 403 |
|
if (null != $this->maxLength && !(is_numeric($this->maxLength) && 0 < $this->maxLength)) { |
| 404 |
|
$msg = "Max length must be positive and numeric"; |
| 405 |
|
return false; |
| 406 |
|
} |
| 407 |
|
if (null != $this->precision && !(is_numeric($this->precision) && 0 < $this->precision)) { |
| 408 |
|
$msg = "Precision must be positive and numeric"; |
| 409 |
|
return false; |
src/MetadataV3/edm/ssdl/TPropertyType.php 1 location
|
@@ 385-388 (lines=4) @@
|
| 382 |
|
$msg = "Collation value cannot be empty"; |
| 383 |
|
return false; |
| 384 |
|
} |
| 385 |
|
if (null != $this->maxLength && !(is_numeric($this->maxLength) && 0 <= $this->maxLength)) { |
| 386 |
|
$msg = "Max length must be numeric and non-negative"; |
| 387 |
|
return false; |
| 388 |
|
} |
| 389 |
|
if (null != $this->precision && !(is_numeric($this->precision) && 0 <= $this->precision)) { |
| 390 |
|
$msg = "Precision must be numeric and non-negative"; |
| 391 |
|
return false; |