src/MetadataV3/edm/ssdl/TEntityPropertyType.php 1 location
|
@@ 361-364 (lines=4) @@
|
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; |
364 |
|
} |
365 |
|
if (null != $this->scale && !(is_numeric($this->scale) && 0 < $this->scale)) { |
366 |
|
$msg = "Scale must be positive and numeric"; |
367 |
|
return false; |
src/MetadataV3/edm/ssdl/TPropertyType.php 1 location
|
@@ 341-344 (lines=4) @@
|
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; |
344 |
|
} |
345 |
|
if (null != $this->scale && !(is_numeric($this->scale) && 0 <= $this->scale)) { |
346 |
|
$msg = "Scale must be numeric and non-negative"; |
347 |
|
return false; |