src/MetadataV3/edm/ssdl/TEntityPropertyType.php 1 location
|
@@ 384-387 (lines=4) @@
|
381 |
|
$msg = "Default value cannot be empty"; |
382 |
|
return false; |
383 |
|
} |
384 |
|
if (null != $this->maxLength && !(is_numeric($this->maxLength) && 0 < $this->maxLength)) { |
385 |
|
$msg = "Max length must be positive and numeric"; |
386 |
|
return false; |
387 |
|
} |
388 |
|
if (null != $this->precision && !(is_numeric($this->precision) && 0 < $this->precision)) { |
389 |
|
$msg = "Precision must be positive and numeric"; |
390 |
|
return false; |
src/MetadataV3/edm/ssdl/TPropertyType.php 1 location
|
@@ 364-367 (lines=4) @@
|
361 |
|
$msg = "Collation value cannot be empty"; |
362 |
|
return false; |
363 |
|
} |
364 |
|
if (null != $this->maxLength && !(is_numeric($this->maxLength) && 0 <= $this->maxLength)) { |
365 |
|
$msg = "Max length must be numeric and non-negative"; |
366 |
|
return false; |
367 |
|
} |
368 |
|
if (null != $this->precision && !(is_numeric($this->precision) && 0 <= $this->precision)) { |
369 |
|
$msg = "Precision must be numeric and non-negative"; |
370 |
|
return false; |